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
Resident Rockstar
Resident Rockstar

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
Resident Rockstar
Resident Rockstar

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
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (7,426)