cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cvazquc3
Helper I
Helper I

Remove rows blank in combobox from field lookup

Hello everyone

- I need remove rows blank of a combobox from a field lookup of my list in sharepoint

- I attached a image

thank you

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-xida-msft
Community Support
Community Support

HI @cvazquc3 ,

Could you please share a bit more about the formula typed within the Items property of the Computers ComboBox?

Do you want to remove the blank rows from the available options within the Computers ComboBox?

Further, which column does your Computers ComboBox relates to? Is it the TypeEquipment column?

 

I assume that your Computers ComboBox connects to the TypeEquipment column in your SP list. Based on the needs that you mentioned, I think the Filter function could achieve your needs.

If the TypeEquipment column is a Choice type column in your SP list:1.JPG

Set the Items property of the ComboBox to following:

Filter(
Distinct('20190211_case5',TypeEquipment.Value),
Result <> Blank()
)

On your side, you should type:

Filter(
       Distinct(Products, TypeEquipment.Value), 
       Result <> Blank()
)

 

If the TypeEquipment column is a Single line text type column in your SP list:

Set the Items property of the ComboBox to following:

Filter(
Distinct('20190211_case5', TypeEquipment),
Result <> Blank()
)

On your side, you should type:

Filter(
       Distinct(Products, TypeEquipment), 
       Result <> Blank()
)

More details about Filter function in PowerApps, please check the following article:

Filter function

 

Best regards,

Community Support Team _ Kris Dai
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

Hello

Thank you for your time

I solved formula in this option

 

Filter(Products.TypeEquipment, Not(IsBlank(TypeEquipment)))

Regards

 

View solution in original post

3 REPLIES 3
v-xida-msft
Community Support
Community Support

HI @cvazquc3 ,

Could you please share a bit more about the formula typed within the Items property of the Computers ComboBox?

Do you want to remove the blank rows from the available options within the Computers ComboBox?

Further, which column does your Computers ComboBox relates to? Is it the TypeEquipment column?

 

I assume that your Computers ComboBox connects to the TypeEquipment column in your SP list. Based on the needs that you mentioned, I think the Filter function could achieve your needs.

If the TypeEquipment column is a Choice type column in your SP list:1.JPG

Set the Items property of the ComboBox to following:

Filter(
Distinct('20190211_case5',TypeEquipment.Value),
Result <> Blank()
)

On your side, you should type:

Filter(
       Distinct(Products, TypeEquipment.Value), 
       Result <> Blank()
)

 

If the TypeEquipment column is a Single line text type column in your SP list:

Set the Items property of the ComboBox to following:

Filter(
Distinct('20190211_case5', TypeEquipment),
Result <> Blank()
)

On your side, you should type:

Filter(
       Distinct(Products, TypeEquipment), 
       Result <> Blank()
)

More details about Filter function in PowerApps, please check the following article:

Filter function

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello

Thank you for your time

I solved formula in this option

 

Filter(Products.TypeEquipment, Not(IsBlank(TypeEquipment)))

Regards

 

I'm creating a collection of the values from my column in my sharepoint list, would I use the filter function on the dropdown or when I create my collection?

Helpful resources

Announcements
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,724)