cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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
StefanR
Advocate IV
Advocate IV

Hi @Anonymous ,

 

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
StefanR
Advocate IV
Advocate IV

Hi @Anonymous ,

 

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

Anonymous
Not applicable

@StefanR 

 

Thank you for your help 

 

Now I can get the result what I need 

 

Heart

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'])
 

Hi @nagisetty,

 

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

 

Bye

Stefan

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 (3,126)