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 / Using in-operator in d...
Power Automate
Answered

Using in-operator in dataverse list rows

(1) ShareShare
ReportReport
Posted on by 159

Hi all, I would like to create a Dataverse O-Data filter with an IN operator.

My O-Data filter query looks like this:
https://i.imgur.com/Bl6q2RK.png

KimBim_0-1681454963038.png

 

 

According to this doc, this should not be a problem:
https://learn.microsoft.com/en-us/odata/webapi/in-operator#:~:text=GET%20/service/Products%3F%24filter%3DName%20in%20(%27Milk%27%2C%20%27Cheese%27%2C%20%27Donut%27)

 

Unfortunately, the action always fails after several attempts:
https://i.imgur.com/8B9LNIp.png

KimBim_1-1681454972061.png

 

 

I was able to find in this post that there is a restriction for the "List Rows in present table" action in Excel:
https://powerusers.microsoft.com/t5/Using-Flows/IN-operator-equivalent-in-OData-PowerAutomate/td-p/657097

In the Dataverse documentation I could not find this restriction (or I read it over?):
https://learn.microsoft.com/en-us/connectors/commondataserviceforapps/#list-rows

 


In general, the goal is as follows:
I want to compare which rows in the "Topics" table are already created (i.e. occur in my static array of the odata filter query) and which are new. So I would have to negate the OData filter later...

 

Does anyone have experience with this or another smart solution to filter a dataverse list using an array without creating an Apply-To-Each?

 

Thanks in advance 🙂

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    Hi @KimBim,

     

    As far as I can tell from the Dataverse Web API docs the IN operator is not listed in the filter capabilities:

    https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/query-data-web-api#filter-results

     

    Maybe the Fetchxml query field is an option. I would suggest to try and add the array of values in there:

    https://learn.microsoft.com/en-us/power-automate/dataverse/list-rows#fetch-xml-query

     

     

  • KimBim Profile Picture
    159 on at

    Hey @Expiscornovus ! Fetch XML works great. Thanks for your help 🙂

  • Suggested answer
    LY-18121047-0 Profile Picture
    Microsoft Employee on at

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard