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