web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Do a percentage calcul...
Power Automate
Unanswered

Do a percentage calculation in a variable

(0) ShareShare
ReportReport
Posted on by 691

Hello,
In my workflow I have the following values:

s44_0-1645703472920.pngs44_1-1645703502438.png

 

And with these different values, I would like to perform a percentage calculation in a new variable like this:

100 * outputs('Message') / variables('Nombre_place_Nantes'))
But I don't know how to do that 😞 
 
I have try like this : 
float(100 * outputs('Message') / variables('Nombre_place_Nantes'))
 But it doesn't work 😞
 
Can you help me please ? Thank you in advance ! 
Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,852 Most Valuable Professional on at
    Re: Do a percentage calculation in a variable

    Hi @s44 

     

    What's your variable type?

  • Hii_iii Profile Picture
    691 on at
    Re: Do a percentage calculation in a variable

    @abm  It's a float !

    s44_0-1645706179334.png

     

  • Verified answer
    abm abm Profile Picture
    32,852 Most Valuable Professional on at
    Re: Do a percentage calculation in a variable

    Hi @s44 

     

    Thanks for your quick reply. Here are the steps you needed.

     

    image.png

     

    Expression I used above is

     

    div(mul(100, outputs('Compose')),variables('Nombre_place_Nantes'))
     
    Thanks
  • Hii_iii Profile Picture
    691 on at
    Re: Do a percentage calculation in a variable

    I try it ! thanks !

     

  • Hii_iii Profile Picture
    691 on at
    Re: Do a percentage calculation in a variable

    It work ! Thank you ! 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard