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.

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.

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

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (37,883)