Hey folks, hoping what I want to do is possible and simple.
I have several drop down menus that have filtered options based on the previous drop down selection.
ddTechnologyFilter
Choices('DRAKE Scenarios'.Technology)
ddOrderTypeFilter
Distinct(Filter('DRAKE Scenarios',Technology.Value = ddTechnologyFilter.Selected.Value), 'Order Type'.Value)
ddNewExisting
Distinct(Filter('DRAKE Scenarios','Order Type'.Value = ddOrderTypeFilter.Selected.Value), 'New or EXISTING Device'.Value)
Code for the first 3 drop downs (and the drop down name), all the columns are single choice fields.
My problem comes from the 4th drop down which is a list of multi choice fields, so the data is no longer just a value, but a table of values (which is how I understand it, and also where my issue is). So each row in my SharePoint list will have multiple choices for this column.
My first attempt at just repeating my previous code didn't work, but I sort of expected that.
ddDeviceType
Distinct(Filter('DRAKE Scenarios','New or EXISTING Device'.Value = ddNewExisting.Selected.Value), 'Device Type'.Value)
I thought I might need to run a Filter on a Choices like this, but it didn't work and I've been stuck.
ddDeviceType
Filter(Choices('DRAKE Scenarios'.'Device Type'),'New or EXISTING Device'.Value = ddNewExisting.Selected.Value)
I have got my gallery functioning perfectly based on this drop downs selection if I just use a simple Choices, but it shows values that won't be applicable (and the gallery correctly shows nothing) but I would like to avoid that.
ddDeviceType
Choices('DRAKE Scenarios'.'Device Type')