web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : F7E+xenZrRj/8NLKYpGkLW
Power Automate - Using Flows
Unanswered

Greater than - Less than

Like (0) ShareShare
ReportReport
Posted on 24 Jan 2024 13:38:44 by 11

Hi, 

 

I've built a condition checking a number in a Form.

The condition is suppose to check if the number is between 500 and 10 000 :

lielianjie_0-1706103314542.png

For a reason I don't understand, the condition keep saying No. 

Last test I did, the number was 2328.01 and the Flow took the No branch. 

 

FYI, I have an other Flow with the same condition (exept numbers between 10000 and 50000) and it's work perfectly. 

 

Can someone help me pls? 

 

Thanks.

  • Expiscornovus Profile Picture
    32,169 Most Valuable Professional on 24 Jan 2024 at 16:06:44
    Re: Greater than - Less than

    Hi @lielianjie,

     

    My suggestion would be to convert both the answer and the 500 & 10000 values to float type of data (decimals).

     

    Try the below

     

    The Total amount question (change the id to your question id)

     

    float(outputs('Get_response_details')?['body/r15811ccddb4b4efd8cf480f4633ba267'])

     

     

    Greater than

     

    float('500')

     

     

    Less than

     

    float('10000')

     

     

    converttofloats.png

  • Tjan Profile Picture
    1,087 Super User 2024 Season 2 on 24 Jan 2024 at 16:05:37
    Re: Greater than - Less than

    @lielianjie  Hi! Have you tried without the ' '? Also, are the variables that you used of string type or number? If they are string, make sure to convert them to a number first by using the int() function. 

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Restore a deleted flow
Loading complete