Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

how can I sum all rows value

(0) ShareShare
ReportReport
Posted on by

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 ??

  • Ashwinreddy Profile Picture
    Microsoft Employee on at
    Re: how can I sum all rows value

    Is this same for Dat verse table , because when i try i get error on it.

  • Community Power Platform Member Profile Picture
    on at
    Re: how can I sum all rows value

    Hi @nagisetty,

     

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

     

    Bye

    Stefan

  • nagisetty Profile Picture
    6 on at
    Re: how can I sum all rows value

    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'])
     
  • Community Power Platform Member Profile Picture
    on at
    Re: how can I sum all rows value

    @StefanR 

     

    Thank you for your help 

     

    Now I can get the result what I need 

     

    Heart

  • Verified answer
    Community Power Platform Member Profile Picture
    on at
    Re: how can I sum all rows value

    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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1