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

"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

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard