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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Percentage calculation...
Power Automate
Unanswered

Percentage calculations for each value separately

(0) ShareShare
ReportReport
Posted on by 13

Hello All,

I have a flow in which iteration is running 4 times, but it will run as many time as there are items in the list. 

This is my first iteration,

 

[ {

"S": "63",

"Rs": "2",

"Max": 4

} ]

 

This is my second iteration,

[ {

"S": "63",

"Rs": "3",

"Max": 5

} ]

 

This is my third iteration,

[ {

"S": "64",

"Rs": "1",

"Max": 5

} ]

 

This is my fourth iteration,

[ {

"S": "64",

"Rs": "2",

"Max": 3

} ]

 

This will not run 4 time, there can be more, now I want to do

If S = 63, 

I want to sum the Rs value and Max value 

Rs = 2+3  =5,

Max = 4+5=9,

 

Now I want to calculate the Percentage of S value 5/9*100 like this.

 

Now I want percentage for each S value separately, Let's say 10 value for S = 63 and 5 values for S 64, So I want percentage separately for both. How can I achieve this. 

 

I want to store it in array or something to save it excel later as it will just end at the apply to each, and might not able to extract it outside the apply to each.

 

@grantjenkins 

 

Categories:
  • grantjenkins Profile Picture
    11,063 Moderator on at

    Is this a different requirement to before? Just wondering why you're looping over each of the items as we don't need to loop in order to get the result you need.

  • RadhikaNavkar Profile Picture
    13 on at

    Hi, Yes this is same.

    I am calculating the Max value using looping.

    Now I want this percentage outside after the each iteration as I mention it above.

    @grantjenkins   

  • RadhikaNavkar Profile Picture
    13 on at

    Hey I am using different different list, while doing the get items it goes under to apply to each action.

     Thanks 

    @grantjenkins   

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard