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 / How to set a condition
Power Automate
Unanswered

How to set a condition

(0) ShareShare
ReportReport
Posted on by 4

I have a flow that uses HTTP connector to pull data from a table in Business By design and from that table i have a column that has data values in rows .. I am trying to set 3 conditions for that column that says :

 

1. i want to pull out numbers that fall within the range of 1-30 inside that column 

2. i want numbers in that column that fall within the range of 31-60

3. and finally 61-90. My usage of expressions is not so great . Can anyone help please with an expression i can use for my condition ???

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,501 on at

    Hey @Rassyboy 

    There could other better techniques. But this one is mine. If you like it you can use it.

    In the compose I have taken a particular number.

    Sundeep_Malik_0-1663414897226.png

    Then I have used one condition, that the output of above compose is less than 31. [Or you can also do less than or equal to 30]

    Sundeep_Malik_1-1663414946850.png

    Inside If Yes:

    Sundeep_Malik_3-1663415010833.png

    Inside If No, I have give another condition, that output of compose is less than 61.

    Sundeep_Malik_4-1663415048830.png

    In your case you will have to take an apply to each loop. And pass the value of output you are getting from http.

    After that you can make 3 array variables. And when they match you can append in those arrays.

     

    I hope you like this.

     

  • Rassyboy Profile Picture
    4 on at

    My out put can not be 61 instead if i have a column A with rows of data = 5,8,89,31,63,45,25,19,71,67,29 then from the column A i want data that falls within the range of 1-30 , 31-60, and 61-90 .. 

  • Sundeep_Malik Profile Picture
    6,501 on at

    @Rassyboy 

    Just put your column in that first compose and pass it to the condition, this will automatically create an apply to each loop. I gave you an example how to do it. You just had to put your column in the 1st compose.

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

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard