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

3 REPLIES 3
mdevaney
Super User III
Super User III

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

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,948)