cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
johnmarkcausin
Frequent Visitor

How to Format Number to Percentage in PowerAutomate

Hi,

 

I am trying to format a number to percentage but could not find the options.

 

I could only find this one.

 

johnmarkcausin_0-1614759829680.png

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Mira_Ghaly
Dual Super User II
Dual Super User II

@johnmarkcausin

The error message implies that u are passing string while it expects int or number can u try converting to float before applying format.

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

DamoBird365
Community Champion
Community Champion

Hi @johnmarkcausin 

 

Like @Mira_Ghaly has mentioned, stick your string into the function float() via the expression builder.

 

DamoBird365_0-1614767807338.png

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


P.S. take a look at my new blog here

View solution in original post

5 REPLIES 5
DamoBird365
Community Champion
Community Champion

Hi @johnmarkcausin 

 

You could try 0.00% as follows:

 

DamoBird365_0-1614760254809.png

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


P.S. take a look at my new blog here

 

 

 

johnmarkcausin
Frequent Visitor

I made these changes

johnmarkcausin_0-1614764711525.png

 

When I run a test, these are the errors:

johnmarkcausin_1-1614765517309.png

 

Mira_Ghaly
Dual Super User II
Dual Super User II

@johnmarkcausin

The error message implies that u are passing string while it expects int or number can u try converting to float before applying format.

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

DamoBird365
Community Champion
Community Champion

Hi @johnmarkcausin 

 

Like @Mira_Ghaly has mentioned, stick your string into the function float() via the expression builder.

 

DamoBird365_0-1614767807338.png

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


P.S. take a look at my new blog here

View solution in original post

johnmarkcausin
Frequent Visitor

@DamoBird365  and @Mira_Ghaly  - You both are awesome! Thank you for helping out a Newbie. 🙂

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,827)