cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WiggityZwiggity
Helper V
Helper V

Odata Filter Null

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?

20 REPLIES 20
takolota
Helper II
Helper II

Hi all,

This seems to consistently work if I include multiple variations of null as the filter query.
All not null.png

 

 

Also if this doesn't work and you don't care about the flow taking an extra 10-60 seconds, then you can try using the Filter array action after the Get items, put the "value" dynamic content from Get items into the *From field and put the following into the advanced mode formula field:

 

@not(or(equals(item()?['Insert Column Here'], ''), equals(item()?['Insert Column Here'], 'null'), equals(item()?['Insert Column Here'], null)))

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,375)