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 / What is wrong with thi...
Power Automate
Suggested Answer

What is wrong with this odata filter?

(0) ShareShare
ReportReport
Posted on by
Hello, I am building a flow where the list rows action has an odata filter in the filter rows field:

daysuntilmovein eq 3 and city eq 5 and (access ne 2 or access ne 1) and (stage eq 1 or stage eq 4) and type ne 1

It pulled me a record where access is 2 even though it's clear it shouldnt happen. Is it a bug or is the filter incorrect?
Categories:
  • Suggested answer
    eetuRobo Profile Picture
    4,607 Super User 2026 Season 2 on at
    I think the problem is: (access ne 2 or access ne 1)
    I think that will always be true. The or access ne 1 will find access that has value 2.
    ​​​​​​​So if you have row that has access being 2 then 
    (
    access ne 2 =false or access ne 1 = true) -> true

    Change it to this:

    daysuntilmovein eq 3
    and city eq 5
    and access ne 2
    and access ne 1
    and (stage eq 1 or stage eq 4)
    and type ne 1

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard