Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
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 ???

  • Sundeep_Malik Profile Picture
    6,482 on at
    Re: How to set a condition

    @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.

  • Rassyboy Profile Picture
    4 on at
    Re: How to set a condition

    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,482 on at
    Re: How to set a condition

    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.

     

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

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!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics