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 / Power Automate Desktop...
Power Automate
Answered

Power Automate Desktop (PAD) How to perform math on 2 or more variables?

(0) ShareShare
ReportReport
Posted on by 75

I can not find a way to perform simple math operations in PAD when it concerns two or more variables. I only see it available for one variable like this 

%var1% = 6

%var1 *5 % = 30

 

What I want and need something more like this:

%var1% = 6

%var2% = 5

 

I want to add them for example:

%var1% + %var2% = 6+5 not the sum of 11 which is what is needed

also no math functions action either like:   add(%var1%, %var2%) return 11

How in the heck do you perform simple math in PAD? it looks impossible - I hope not the case!!

 

I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The correct syntax in this case is %x+y%

    Variable manipulation and the % notation - Power Automate | Microsoft Docs

  • CU-19081228-9 Profile Picture
    on at

    @Anonymous @dsoden 

    I struggled with this so much as well.

     

    I wanted to add three variables together (PAD only allows up to two?!). 

    It turns out that PAD won't do it properly unless you covert them from text to number first, then it works, which makes sense, but wasn't obvious to me at first (I tried adding the two variables, tried incrementing them etc. - nothing).

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 248 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 204

#3
Haque Profile Picture

Haque 179

Last 30 days Overall leaderboard