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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (59,070)