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 / "Not" Operator in oDat...
Power Automate
Answered

"Not" Operator in oData Filter not working

(0) ShareShare
ReportReport
Posted on by 30

Hi,


I'm trying to use the "Not" operator in a filter query on a Get Items for Sharepoint list and I get the following error:

xsg13_1-1657593075708.png

xsg13_0-1657592982195.png

 

I've also tried simplifications with just a single statement and these also fail so it seems like there is something Power Automate doesn't recognize about "not".

Is there an alternate syntax in Power Automate for this?


"Not" is a key logical operator and in the oData spec.  I acknowledge that in the simple shared example there is a solution you can use to avoid "not", but in more complex examples "not" will likely be necessary.

 

https://www.odata.org/documentation/odata-version-2-0/uri-conventions/

Categories:
I have the same question (0)
  • Verified answer
    Shujaath_Khan Profile Picture
    1,111 Super User 2024 Season 1 on at

    Hi @xsg13 

    can the data query be tweaked to as below

     

    IMD ne null and IMD ne '100000'
    or if it's a number column
    IMD ne null and IMD ne 100000

     

     

    Thanks
    Please click Accept as Solution on this reply if it helped to solve your issue, and thumbs-up if you feel this is useful or important in other ways as a boost.

     

     

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 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard