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 / Calculate sum of colum...
Power Automate
Unanswered

Calculate sum of columns in power automate flow

(2) ShareShare
ReportReport
Posted on by 183
Hi Community,
 
I have dataverse table with text columns storing integers and float values. I would like to find sum of these columns in flow. 
 
I have used the below expression. There are possibility of some of the columns being blank, some with integer values and some with float. 
 
Any help on having this implemented would be appreciated. 
 
Expression
 
add(float(items('Apply_to_each')?['tech_jan']),float(items('Apply_to_each')?['tech_feb']),float(items('Apply_to_each')?['tech_mar']),float(items('Apply_to_each')?['tech_apr']),float(items('Apply_to_each')?['tech_may']),float(items('Apply_to_each')?['tech_june']),float(items('Apply_to_each')?['tech_july']),float(items('Apply_to_each')?['tech_aug']),float(items('Apply_to_each')?['tech_sep']),float(items('Apply_to_each')?['tech_oct']),float(items('Apply_to_each')?['tech_nov']),float(items('Apply_to_each')?['tech_dec']))
 
Error 
Unable to process template language expressions in action 'Update_a_row' inputs at line '0' and column '0': 'The template language function 'float' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.
 
Thanks,
SV
Categories:
I have the same question (0)
  • Chriddle Profile Picture
    8,672 Super User 2026 Season 1 on at
    Check function isFloat() 
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard