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 / Multiple filter in ODA...
Power Automate
Answered

Multiple filter in ODATA in List rows present in a table Others

(1) ShareShare
ReportReport
Posted on by 58

Yi66_0-1659455964649.png

I want to applied multiple filters in my flow, there all "Or".  Then I got this error:

Yi66_1-1659456001726.png

Invalid filter clause: unsupported operation. Only single 'eq', 'ne', 'contains', 'startswith' or 'endswith' is currently supported.

Categories:
I have the same question (0)
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @Yi66  Currently Excel connector does not support multiple conditions in filter query. use filter array after List row present in a table and use multiple conditions. 

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on at

    Hello @Yi66 ,

    unfortunately is not possible to put multiple conditions in the Filter Query.

    You should use, after the "Filter rows present in a table", the "Filter Array" action, like what's mentioned in the following post:

     

    https://powerusers.microsoft.com/t5/Building-Flows/Filter-Query-with-multiple-filters-for-Flow/td-p/696775

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    BR,

    Marco

  • Yi66 Profile Picture
    58 on at

    How do you do multiple "OR" condition in filter array ? I want to do more filter on the Director,  when Director = A,  or Director = B, etc

    Here is only one example:

    @equals('Director', 'ALL')

  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on at

    Hello @Yi66 ,

    Here a simple example:

     

    @or(equals(item()?['project phase'], ''),equals(item()?['project phase'], 'closed'))

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    BR,

    Marco

  • Yi66 Profile Picture
    58 on at

    Can I do this way : 

    @Anonymous(equals('Director', 'ALL'), equals('Director', 'Asset Protection'),equals('Director', 'Building Services'),equals('Director', 'HD Supply'),equals('Director', 'Merch Services'),equals('Director', 'Not Known'),equals('Director', 'Tool Rental')).   If not, what is wrong with my syntax ?

  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on at

    be aware, you’ve to put it in the filter array in advanced mode

  • Yi66 Profile Picture
    58 on at

    I got a error : 

    Flow save failed with code 'WorkflowRunActionInputsInvalidProperty' and message 'The 'inputs' of workflow run action 'Filter_array' of type 'Query' is not valid. Property 'where' must be a template language expression.'.
  • Verified answer
    v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Yi66 ,

     

    I suggest you change the column name 'Director' in the formula to item()?['Director'].

    I have made a test for your reference:

    1.

    vliweimsft_0-1659948643321.jpeg

     

    2.

    vliweimsft_1-1659948654348.jpeg

     

    3.

    vliweimsft_2-1659948665038.jpeg

     

     

    Best Regards,

    Levi

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 791

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 535

Last 30 days Overall leaderboard