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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sum across multiple li...
Power Automate
Answered

Sum across multiple list columns

(0) ShareShare
ReportReport
Posted on by 1,360

Hello,
Struggling with this for some reason. I thought this would be straight forward but no.
I have ten columns and each holds its own numeric value.

golfnutt82_0-1664999306353.png

 

At the end I have a total column that is currently a calculated column and as you are aware calculated columns dont work well in Power Automate.  I tried creating integer variables to hold the value of each field and then summing them this way.

add(variables('intImage'),add(variables('intCalculated'),add(variables('intHyperLinkPicture'),add(variables('intPersonGroup'),add(variables('intYesNo'),add(variables('intLookup'),add(variables('intDateTime'),add(variables('intChoice'),add(variables('intMultiLineText'),variables('intSingleLineText'))))))))))

The Expression saves ok but when I run it, it complains.
golfnutt82_1-1664999357573.png

All of the fields and variables are integer

 

Any suggestions?
Thank you!

Categories:
I have the same question (0)
  • Verified answer
    Paulie78 Profile Picture
    8,422 Moderator on at

    This particular error is because your variable is an integer type and you tried to put a number with a decimal point in. Change the type of variable and it should work.

     

    n.b. this can be done without any variables though.

  • golfnutt82 Profile Picture
    1,360 on at

    Thank you for your response.
    How can this be achieved without variables?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard