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 Automate
Answered

Odata Filter Null

(5) ShareShare
ReportReport
Posted on by 358

Does anyone know how to use an odata filter on a SharePoint Get Items action to filter out items with a null value in a text/string column?

 

I have tried: text_x0020_field ne ''

 

But that does not seem to work - what is the correct approach?

Categories:
I have the same question (0)
  • Verified answer
    WiggityZwiggity Profile Picture
    358 on at

    ne null - figured it out after several attempts 🙂

  • Meneghino Profile Picture
    6,949 on at

    thank you! just what I was looking for

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Awesome, thanks for this, very useful!

  • AronBrown Profile Picture
    45 on at

    Thanks, was just looking for how to do this!

  • Brian-Hamilton Profile Picture
    60 on at

    I could swear this happened. Smiley Tongue

     

    EndDate eq null (Didn't work)

    EndDate eq 'null' (Didn't work)

    EndDate eq to the expression null (Didn't work)

    EndDate eq to the expression 'null' (Didn't work)

    EndDate eq null (Worked)

     

     

  • AronBrown Profile Picture
    45 on at

    Yeah, if you tried to do the eq null again after the 1st of May or April, cant remember now but it fixed itsself with an update from microsoft

     

  • tomoore Profile Picture
    10 on at

    And as of Jan1 2020, its broken again.  As previously posted:

     

    EndDate eq null (Didn't work)

    EndDate eq 'null' (Didn't work)

    EndDate eq to the expression null (Didn't work)

    EndDate eq to the expression 'null' (Didn't work)

     

    🤣  Here I am...  HOWEVER,   EndDate eq 'null'  doesn't error out (only one that doesn't) but won't filter anything unless the string null is in the column/cell. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I thought I was going crazy. But this explains a lot. My flows used to work with date eq null... but suddenly not anymore. So I, too, think they must be broken now. 

     

    Which means I have to figure out a workaround to 40958409094589 flows until this is fixed 😞 

  • hjaf Profile Picture
    487 on at

    How could we solve this when the query is referencing variables.. if that variable in that context is '' then this will not work. having a if(empty(variable), null, variable) will not work either because this produces a query 'null' which translates into''

  • YatinMumbai Profile Picture
    123 on at

    Thanks. Saved me many test runs.

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
David_MA Profile Picture

David_MA 103 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 87

#3
trice602 Profile Picture

trice602 63 Super User 2026 Season 1

Last 30 days Overall leaderboard