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

Announcements

News and Announcements icon
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,362

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:
  • Verified answer
    Paulie78 Profile Picture
    8,424 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,362 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard