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 / 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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard