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 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
    68,717 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

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