cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sam12
Helper II
Helper II

Subtracting 2 variables

Please forgive me for this extremely basic question, however I am still fairly new to Power Automate. 

I need to be able to do the following subtraction which I can then add the result to an email:

Number of existing items - New number of existing items

 

Flow help.PNG

 

Is it as straight forward as putting the below expression into the value field?
sub(variables('Number of existing items'), variables('New number of existing items'))
1 ACCEPTED SOLUTION

Accepted Solutions
Paulie78
Super User III
Super User III

Yes, it is that simple.

View solution in original post

1 REPLY 1
Paulie78
Super User III
Super User III

Yes, it is that simple.

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Users online (28,231)