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

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
    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
    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
    486 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

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard