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

OData Filter Get Items combining multiple And and OR

(0) ShareShare
ReportReport
Posted on by 517

Hi Dears,

 

Kindly help. I have a list with below columns:

jaina_0-1627614065825.png

 

Here's my sample data:

jaina_2-1627614397873.png

 

Expected Output:

jaina_3-1627614631482.png

 

 

 

My objective is to filter the following combination for me to update the Status to Expired

jaina_0-1627615520578.png

 

Currently, this is how I set my filters which gives me wrong output:

jaina_4-1627614720979.png

 

Here's my flow:

 

jaina_5-1627614828553.png

 

 

Categories:
I have the same question (0)
  • v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @jaina 

    Please change the Filter Query as below and try again:

    Status ne 'Completed' and Status ne 'Rejected' and Duedate le '@{formatDateTime(utcNow(),'yyyy-MM-dd')}'

    vLilyWmsft_0-1627622331587.png

    my test result :

    vLilyWmsft_3-1627621897602.png

    Hope the content above may help you.

    Best Regards

    If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • Verified answer
    jaina Profile Picture
    517 on at

    Hi @v-LilyW-msft ,

     

    Thanks for responding, I've tried that already but the expected result is not correct. For some reason, ne is not working. It captures the completed status and rejected status items. 

     

    I update my Filter using EQ, stating all pending status.. and it is now working.

     

     

    jaina_0-1627622522298.png

     

     

     

  • Verified answer
    v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @jaina 

    Have you changed this or to and?

    vLilyWmsft_0-1627622713515.png

    Like this

    vLilyWmsft_1-1627623220658.png

    Best Regards

  • jaina Profile Picture
    517 on at

    Thanks, I tried to make it all AND using NE and it is now correct. 

     

    Thank you! 🙂 

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 308

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 226 Most Valuable Professional

Last 30 days Overall leaderboard