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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (4,408)