cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
johnmarkcausin
Helper II
Helper II

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

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

johnmarkcausin
Helper II
Helper II

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

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,212)