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 Platform Community / Forums / Power Automate / filter empty values wi...
Power Automate
Answered

filter empty values with getItems() filter query

(0) ShareShare
ReportReport
Posted on by 413

Hi there. 

 

I'm trying to get all the items from my sharepoint list (more than 14000 rows) which have "Evento splittato" field with empty values. 

 

This is an extract of my sharepoint list:

 

Calcioscacchi_0-1676467004723.png

 

 

 

To do this, I'm tring to filter the getItems() function. As discussed here, there is a bug on that function:

 

Solved: Re: sharepoint getItem(): Is new sperimental ODATA... - Power Platform Community (microsoft.com)

 

So i'm trying with the old expression method. Someway I success to write the condition "evento splittato is equal to null":

Calcioscacchi_1-1676467114254.png

 

Calcioscacchi_2-1676467151603.png

 

but the output is empty, seems that no row match the filter.

 

Any suggestions?

Thanks.

 

Categories:
  • Chriddle Profile Picture
    8,729 Super User 2026 Season 2 on at

    The problem is caused by the space in the column name. Replace it with _x0020_

  • Calcioscacchi Profile Picture
    413 on at

    Are you sure about it?

     

    The column name is taken from the ckeck list available in the box.

    In the second case (old expression method) the output is always an empty array:

     

    Calcioscacchi_1-1676477114394.png

     

    Calcioscacchi_0-1676477090710.png

     

    getItems() output:

    {"body":{"value":[]}}

     

  • Chriddle Profile Picture
    8,729 Super User 2026 Season 2 on at

    I'm confused 😕

    What is undefined()? I don't think that this exists.

     

    You should propably remove the filter, run the flow and check the output of the action for the column name and the returned value. I assume this will be the value ''. 

  • Calcioscacchi Profile Picture
    413 on at

    undefined is the null() function, get a look to my first post: if in the expression I write null (and I click the null function hint given by the checkbox), in the filter box I have undefined(). I don't know why I don't have simply "null()" function.

     

    Yes, in cases where the field is empty I have '' value.

  • Verified answer
    wskinnermctc Profile Picture
    6,519 Moderator on at

    Make an additional column in the SharePoint list that is a calculated column. Have it check your column for empty and then the output in your new SharePoint column be something like Yes or No.

    Then filter the Get Items by that new column.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard