Hello and thanks in advance for reading this! I have a SharePoint list 'LawExcerpts' with two columns:
In Power Apps, I have a screen with a combobox and a gallery control. Items selected in the combobox will filter the gallery list.
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.
Thanks, @jditz if you can mark mine as the Accepted Solution I would appreciate it
Thanks @jditz you have the best solution I've found
Thanks @FLMike! A comment in that link got me to the solution I used:
Filter
(Source,
IsBlank(combo_box.SelectedItems.Value) || IsEmpty(combo_box.SelectedItems) || true in ForAll(Column.Value, ThisRecord in combo_box.SelectedItems.Value)
)
Hello,
If you search for Multi Selection choice filtering you will find loads and loads of requests for that exact same thing.
Its a horribly supported thing to do in Power Apps. Anytime you can avoid doing it, using another method, versus choice field, please do, you'll be so much happier.
But here is the only real good solution.
Solved: Filter multiple selection choice column - Power Platform Community (microsoft.com)
Cheers
If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
Thank You
Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
https://gernaeysoftware.com
LinkedIn: https://www.linkedin.com/in/michaelgernaey
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473