Skip to main content
Community site session details

Community site session details

Session Id : shoayKfQIgIgEQji8GIVh4
Power Apps - Building Power Apps
Answered

Multi-Select Combobox to filter Gallery w\Multiple Selection Choice column

Like (0) ShareShare
ReportReport
Posted on 26 Sep 2023 16:38:28 by

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. 

  • Michael E. Gernaey Profile Picture
    45,865 Super User 2025 Season 2 on 04 Jul 2024 at 16:12:13
    Re: Multi-Select Combobox to filter Gallery w\Multiple Selection Choice column

    Thanks, @jditz  if you can mark mine as the Accepted Solution I would appreciate it

  • raks Profile Picture
    on 04 Jul 2024 at 13:53:03
    Re: Multi-Select Combobox to filter Gallery w\Multiple Selection Choice column

    Thanks @jditz you have the best solution I've found

  • jditz Profile Picture
    on 26 Sep 2023 at 18:54:45
    Re: Multi-Select Combobox to filter Gallery w\Multiple Selection Choice column

    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)
    )

  • Verified answer
    Michael E. Gernaey Profile Picture
    45,865 Super User 2025 Season 2 on 26 Sep 2023 at 17:36:02
    Re: Multi-Select Combobox to filter Gallery w\Multiple Selection Choice column

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete