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 / How to add numbers sto...
Power Automate
Answered

How to add numbers stored in variables in PAD?

(0) ShareShare
ReportReport
Posted on by 116

I want to add up about 5 variables which each hold numbers then use the result in an if conditional. How can I do this in PAD?

I have the same question (0)
  • Verified answer
    tkuehara Profile Picture
    667 on at

    Hi @comma 

     

    You could add those five variables in a new variable:

    tkuehara_1-1625776766957.png

    And then use the result to compare in the "If" action:

    tkuehara_2-1625776998090.png

     

    tkuehara_0-1625776743038.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @comma 

     

    Use 'Set variable' %SumVar% as %var1+var2+var3+var4+var5%

    Then use %SumVar% in your 'If' action.

    Depending on how you inform/catch the variables, it can be stored as text instead of number, thus not giving you the sum. If that's the case, use 'Convert text to number' to assure each var is a number before sum.

  • comma Profile Picture
    116 on at

    Thanks! I have chosen your answer as the solution as it was the first I receieved (although other's solutions work as well).

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 267 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 196

#3
Haque Profile Picture

Haque 182

Last 30 days Overall leaderboard