cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

ComboBox Fill Item Datasource

Hi,

 

I am having a horrible time trying to filter a datasource and filling a ComboBox. Is that not possible? I prefer the ComboBox method of choosing multiple items than a list box or check boxes.

 

Using this on my Items property of ComboBox:

Filter('Lunch Configuration', Menu_Dropdown.Selected.Value = Menu_x0020_Option.Value, Entree_DataCardKey.Text = MenuItemType.Value)

'Lunch Configuration' is a simple SharePoint Online list that has 4 columns:

Menu Option, Title, Menu Item Type, Price

 

With the filter, the ComboBox returns empty values/rows and nothing searches.  Under the combo boxes properties, I can only choose Title as Primary Text and the SearchField box will not drop down.

 

I only want the ComboBox to search a specific subset of items in the list with a pre-filter applied.

1 REPLY 1
Anonymous
Not applicable

I tried using a Filter() in the Items property of the ComboBox and it worked as expected.

 

As for your case, are you sure that your Filter() function actually returns rows? Try creating a gallery and using the same code for its Items property. If you can see records, then the problem is with your ComboBox config. If you can't see any rows, the problem might be with the conditions in your Filter() function.

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 (1,441)