cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Microsoft
Microsoft

Filter Out Blanks using Choices

Hello, 

 

I have a Combo Box dropdown in a Form that populates my data from a SharePoint LookupColumn:
Choices([@'L11 - PFAM List Duplicate'].Building_x0020_Blocks)

 

However, the code above also returns a lot of blank values because there are a lot of blank values in the SP List.
I have attempted to use the Filter function to remove the Blank Vales but I can't seem to get this to work:
Filter(Choices([@'L11 - PFAM List Duplicate'].Building_x0020_Blocks), [@'L11 - PFAM List Duplicate'].Building_x0020_Blocks <> Blank()) 

Any help would be appreciated. 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User II
Super User II

Hi @caruso1058 ,

 

Can you try:

 

Filter(Choices([@'L11 - PFAM List Duplicate'].Building_x0020_Blocks),Len(Value)>0)  ?

View solution in original post

2 REPLIES 2
Super User II
Super User II

Hi @caruso1058 ,

 

Can you try:

 

Filter(Choices([@'L11 - PFAM List Duplicate'].Building_x0020_Blocks),Len(Value)>0)  ?

View solution in original post

That works great!!
Thank you for your help with this!

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (68,310)