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.

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

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,053)