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 Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

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.

Users online (1,825)