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."

Ian-S
Frequent Visitor

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 Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,795)