How to filter a gallery based on multiple selections in a combo box.
Currently my filter does this
If(IsEmpty(CmbFilterSubject.SelectedItems),true,true)
If the CmbFilterSubject.SelectedItems is not empty then what I really want to do is filter my gallery ...
So in my SP List I stored SubjectMatterID as a text variable which contains the concat of whatever items are selected (using the ID value) so it could be 1, or 1,5,10, or 3,7, etc...
These are the ID values.
When they select the items in the combo box I can see the output in a label
Concat(CmbFilterSubject.SelectedItems,ID&",")
and it appears as 7,9, etc...
So I only want to show items in my gallery where the SubjectMatterID contains a 7 or a 9 in this case.
I know the CmbFilterSubject.SelectedItems is a table.
I know the SubjectMatterID is a text variable.
I've done similar things before but not exactly the same and for the life of me I can't figure it out.