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
Super User
Super User

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
Super User
Super User

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
Super User
Super User

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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,329)