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 / Subtracting values in ...
Power Automate
Unanswered

Subtracting values in condition

(0) ShareShare
ReportReport
Posted on by

Hi

 

I'm trying to do a calculation in condition that if the max RUC (road user charges) minus the current RUC is less than 1000, it will do other things like send an email reminder etc.

 

I am using data from the users inputs from Forms.

 

The equation I've been trying to use is:

"sub(body('Get_response_details')?['r875e8b3fc8cc4d44889bca2847a8c922'],body('Get_response_details')?['ra1f3c4128af74fc7a172b57f82a47b62'])"

 
 

Any help is appreciated. I'm hoping it's a simple fix, I've just been looking at it for so long I feel as if I'm going crazy!

Categories:
I have the same question (0)
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    The expression looks good to me. Can you share a screenshot of any error that you are seeing? Maybe you can also try this: 

     

    sub(int(body('Get_response_details')?['r875e8b3fc8cc4d44889bca2847a8c922']),int(body('Get_response_details')?['ra1f3c4128af74fc7a172b57f82a47b62']))

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard