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 / Get Items Filter Query...
Power Automate
Answered

Get Items Filter Query oData In operator

(0) ShareShare
ReportReport
Posted on by 18

I'm using the Get Items and my scenario is to retrieve selected records. Eg. I only want to get records with StaffID 10, 15,18. It seems that the In operator does not work. Would appreciate any input on this. Thanks.

Categories:
I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    on at

    Hi @CalvinHew ,

     

    Do you want to filter out items whose StaffID is equal to 10, 15 or 18?

    You could get the specified items through Filter Query. If the type of the StaffID field is Number, you could refer to the following configuration.

    Use or to combine multiple parameters:

    41.PNG

    If the type of StaffID is String, then you need to add single quotes outside the argument:

    42.PNG

    Please take a try.

     

    Best Regards,

  • ShivaPatpi Profile Picture
    Microsoft Employee on at

    This might not be the possible solution atleast in my case...I have got 50 of those numbers , mentioned 50 conditions is not good way of writing query..

    Like in SQL we have column in ['1','2','3','4','5','6'...]

    can we do something like that in Odata query.

    Kindly help out...

  • nra_powerapp Profile Picture
    2 on at

    I'm having same problem.. Did you get any workaround for this?

     

    I basically need to pull out all Company in Table A that doesnt exist in Table B.

    I created a string and appended all Company names in that string and would've been awesome if there was an "IN" operator.

     

    Any help is greatly appreciated!

  • VK2 Profile Picture
    29 on at

    Something new to this topic?

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard