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 / Condition on a Currenc...
Power Automate
Answered

Condition on a Currency Field

(0) ShareShare
ReportReport
Posted on by 708

Hi,

 

I have a flow that has a condition on a currency field.  I am looking to say if value is greater than or equal to 30.00, then follow true route, if not false.

 

I have the following expression:

 

triggerBody()['TotalPrice']

 

neill_long_0-1695997311111.png

The totalprice is a 'ask in PowerApps' option, but it is taking a value that is stored in a currency column in a SP  List.

 

Every once in a while, it goes down the 'true' route even if the value is less than 30.  Majority of times is works fine though.

 

Have I missed something to ensure all submissions where ordertotal is less than 30 goes down the false route?

Categories:
I have the same question (0)
  • Verified answer
    wskinnermctc Profile Picture
    6,519 Moderator on at

    You should put the dynamic content you are using in the Condition into a Compose step. Run the flow and see what the output result is.

     

    If the output is black color, then it is a string. If the output is green then it is a integer/number. 

     

    Black String vs Green NumberBlack String vs Green Number

     

    If the output is green then the condition needs to compare it to 30 not '30' since single quotes makes it a string.

    You could also make it int(30) using the integer function.

     

    If the output is black string, then you need to put it into a float() function which is like the integer int() function except float() accepts decimals.

     

    If you go ahead and make something like this below where your value is in a float() function compared to an int() function. It should work.

    Condition with Float.png

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 60 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 54

#3
Expiscornovus Profile Picture

Expiscornovus 47 Most Valuable Professional

Last 30 days Overall leaderboard