I have created a Gallery with several search options: A search bar and 3 drop down filters. One of the drop down filters pulls from a SharePoint list item that contains multiple items (eg. "shoes, bags, shirts") which is a multi-select in the SharePoint list itself. I have tried the following code to set the filter, and any iteration I try does not work. Any help is greatly appreciated. The code below is in the Items of the Gallery itself, which references the values of the filters.
The issue is bolded below.
Extra information:
TextSearch is the text input used for searching
DDTest is a single option drop down that works correctly
DDAvailable is a single option drop down that works correctly
DDProject is the issue. This is the Sharepoint multi-select, and is a single-select drop down in Power Apps.
Current code:
Filter(
DataSource,
Or(
TextSearch.Value in Title,
TextSearch.Value in 'Manufacturer Part'
)
,IsBlank(DDTest.SelectedItems.Value) || IsEmpty(DDTest.SelectedItems) || DDTest.Selected in 'Associated Tests'
,IsBlank(DDAvailable.SelectedItems.Value) || IsEmpty(DDAvailable.SelectedItems) || DDAvailable.Selected.Value = IsAvailable
,IsBlank(DDProject.SelectedItems.Value) || IsEmpty(DDProject.SelectedItems) || DDProject.Selected.Value in 'Assoc. Project'
)