cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ck25415 Post Patron
Post Patron

Get item filter query on empty single line text/people picker column

Hello,

 

I am trying to using get item action on a sharepoint list by filtering empty columns. I have tried as mentioned in this post but get an error 

 

My query expression : columnname eq null as menitoned in above post and i get an error message

The expression \"columnname eq\" is not valid

 

I also tried columnname eq 'null', I dont get any errors but I also get items that have a value in that column.

 

Any ideas?

 

Thanks,

 

I get an error message

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: Get item filter query on empty single line text/people picker column

Hi @ck25415 ,

 

I tested ColumnName eq null on my side, which is valid for filtering fields of type Single line of text.

I guess the ColumnName you configured is incorrect. The ColumnName it need here is not necessarily the same as what you see in SharePoint List.

 

You could consider not configuring Filter Query first. After Get items action is executed, check the name of this field in Body, as below:

4.PNG

Then configure the Column Name displayed in Body in Filter Query.

Image reference:

5.PNG

 

Please take a try and let me know if issue still exists.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support
Community Support

Re: Get item filter query on empty single line text/people picker column

Hi @ck25415 ,

 

I tested ColumnName eq null on my side, which is valid for filtering fields of type Single line of text.

I guess the ColumnName you configured is incorrect. The ColumnName it need here is not necessarily the same as what you see in SharePoint List.

 

You could consider not configuring Filter Query first. After Get items action is executed, check the name of this field in Body, as below:

4.PNG

Then configure the Column Name displayed in Body in Filter Query.

Image reference:

5.PNG

 

Please take a try and let me know if issue still exists.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (8,220)