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

how can I sum all rows value

Hello , my excel file has four column , and one column is number ( like 2,50,9,0,33.....etc) , I want to sum all rows and put it in to a string variable  .

 

So how can I get it ??

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Advocate IV
Advocate IV

Hi @JACK_LAI ,

 

ich have put the following File to my OneDrive:

 

FlowHelpFile.png

 

The flollowing Flow will iterate through the Rows and increment the Variable "Sum".

 

FlowHelpPicture.png

 

The Varibale Sum will now have the value of the sum of the Col1.

 

Hope that helps!

 

Best regards

Stefan

View solution in original post

4 REPLIES 4
Highlighted
Advocate IV
Advocate IV

Hi @JACK_LAI ,

 

ich have put the following File to my OneDrive:

 

FlowHelpFile.png

 

The flollowing Flow will iterate through the Rows and increment the Variable "Sum".

 

FlowHelpPicture.png

 

The Varibale Sum will now have the value of the sum of the Col1.

 

Hope that helps!

 

Best regards

Stefan

View solution in original post

Highlighted

@StefanR 

 

Thank you for your help 

 

Now I can get the result what I need 

 

Heart

Highlighted

I have a problem with the flow. I recreate your flow as in the picture it was correct when I used sample table but I used my actual data it gave me wrong result. the calculation is wrong. I have 1271 rows in it only calculated upto 258 rows only. so is that limit of list of rows ??

 

like total hours I am calculating 

int(items('Apply_to_each')['Hours'])
 
Highlighted

Hi @nagisetty,

 

i try to have a look to it over the weekend, ok?

 

Bye

Stefan

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (11,839)