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 of multiple number...
Power Automate
Answered

Sum of multiple numbers in Power Automate

(1) ShareShare
ReportReport
Posted on by 4

I am relatively new to Power Automate. I have created a flow that retrieves values from Business Central. I get the following output:

[ 3.3, 1.65, 2.75]

This output can vary, with more or fewer numbers. I would like to use Power Automate to sum these numbers so that I end up with a single total number. I have tried everything. Does anyone have any tips?

Categories:
I have the same question (0)
  • Suggested answer
    Pstork1 Profile Picture
    69,121 Most Valuable Professional on at
    There is no function in Power Automate that will calculate the sum of an array directly. You would need to run an Apply to Each loop on the Array and then either increment a variable by the current item or use the Add() function to Add the current item to a variable.
  • Verified answer
    Robby_WW Profile Picture
    115 on at
    Hey,
     
    You can make a json then use the xml function to sum the value's up. This will make the flow quicker then using an apply to each action.
    example:

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard