Hello and thanks in advance for reading this! I have a SharePoint list 'LawExcerpts' with two columns:
- LawName (text)
- FocusArea (choice, allows multiple selection)
In Power Apps, I have a screen with a combobox and a gallery control. Items selected in the combobox will filter the gallery list.
- ComboBox1 (Items = Choices(LawExcerpts.FocusArea), Allows multiple selections)
- Gallery1 (Items = Filter(LawExcerpts,FocusArea in ComboBox1.SelectedItems.Value))
I'm getting an error in the Gallery Items formula on FocusArea: 'Invalid argument type. Cannot use table values in this context.' I understand FocusArea is considered a table and can't be compared as written. I just can't figure out how to fix this.