I have several combo boxes that I need to filter on for a gallery. The first one (Department) is from a choice column in a SharePoint.
Department Drop-down coding (Dept_ComboBox) :
Items = Choices(SharePointList1, Department)
Tooltip = Dept_ComboBox.Selected.Value
I get an error at the "=" when trying to use the first combo box value to filter on the second combo box.
Books Drop-down coding (Books_ComboBox_1):
Items = Distinct(Filter(SharePointList1, Department = Dept_ComboBox.Selected.Value),Books)
Tooltip = Books_ComboBox_1.Selected.Result
Is Department a multiple-value enabled choice column? If so, then the settings should be:
Dept_ComboBox.Items = Choices(SharePointList1.Department)
Books_ComboBox.Items = Distinct(Filter(SharePointList1,
First(Dept_ComboBox.SelectedItems) in Department &&
Last(FirstN(Dept_ComboBox.SelectedItems,2)) in Department&&
Last(FirstN(Dept_ComboBox.SelectedItems,3)) in Department &&
How "......" shows depends on how many options you have for this choice column.
you can use:
also, i think you are getting Warning with 'yellow' icon, if you use collection instead of list then this will gone.
The department is a multiple-value enabled choice column. I have a couple of errors. Should there be a comma this section?
I have attached some screenshots of errors.
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!