cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ian-S
Frequent Visitor

Removing blank items from a lookup column

Hi,

 

I am looking for a bit of help.

 

I have a PowerApp choices column (EE) which is a lookup in SharePoint. It has lots of blank items I would like to remove.

 

The List is called DRS and the column is EE containing the items.

 

I have tried (and failed) to use the IsBlank ☹

 

I tried this in ‘Items’: Filter(‘DRS’, IsBlank(EE)=false) Any assistance would be appreciated.

 

Thank you.

Blank.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
v-yutliu-msft
Community Support
Community Support

Hi @Ian-S ,

Do you mean that:

EE is a lookup field in DRS list and you want to display this field without blank value?

If so, try to set the drop down's Items for EE:

Filter(
       Choices(DRS,EE),
       !IsBlank(Value)
)

 

Delegation warning:

Could you tell me how many record are in DRS list?

If it is less than 2000 records, you just need to change delegation limit to 2000.

This warning will not effect your app's performance.

Or else, it will be a little complex since Choices() function is not delegate.

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
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

4 REPLIES 4
mdevaney
Super User
Super User

@Ian-S 

You can do this by adding .Value to the EE column.  I believe the reason you original statement is failing is because EE still holds a record with Id and Value.  Even though those are blank the record still counts as not-blank. 

 

Filter(‘DRS’, IsBlank(EE.Value)=false) 

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Thank you for the reply and suggestion but that didn't work 😞 

 

When I click the box on the dropdown arrow, nothing happens at all. It doesn't even open.  No red error, just a line saying  "
Delegation warning. The "Filter" part of this formula might not work correctly on large data sets"

 

The SharePoint column is a single line text with a lookup to another list (that contains blanks). 

 

v-yutliu-msft
Community Support
Community Support

Hi @Ian-S ,

Do you mean that:

EE is a lookup field in DRS list and you want to display this field without blank value?

If so, try to set the drop down's Items for EE:

Filter(
       Choices(DRS,EE),
       !IsBlank(Value)
)

 

Delegation warning:

Could you tell me how many record are in DRS list?

If it is less than 2000 records, you just need to change delegation limit to 2000.

This warning will not effect your app's performance.

Or else, it will be a little complex since Choices() function is not delegate.

 

 

 

Best regards,

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

To others as dumb as myself the (Value) is actually "(Value)" and not a value from your lookup... took me a while to figure this out.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,836)