web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to filter Power Ap...
Power Apps
Unanswered

How to filter Power Apps Gallery with a multi-select choice column

(0) ShareShare
ReportReport
Posted on by 16

Dear Experts,

 

I need to filter Power Apps gallery with a multi-select choice column in SharePoint.

I am finding myself at wits end and need some help.

 

In the below example, i need to filter the gallery (List1) using a combo-box (Column1) with the  source as a multi-select choice column.

 

I would be grateful if you help me with the code.

Filter(List1, .........)

 

powerupguy_0-1668001375463.png

 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @powerupguy 

     

    Filter(
     yourlist,
     yourchoicecolumn.Value in ComboBox2.SelectedItems.Value
    )

    If you want the list to show all the items if the combobox is blank then

    Filter(
     yourlist,
     Len(ComboBox2.Selected.Value) = 0 ||
     yourchoicecolumn.Value in ComboBox2.SelectedItems.Value
    )

     

  • powerupguy Profile Picture
    16 on at

    yourchoicecolum.value gives an error message which says - "Invalid argument type. Cannot use table value in this context"

  • WarrenBelz Profile Picture
    153,026 Most Valuable Professional on at

    @powerupguy ,

    You have a many-to-many filter here - the below is not Delegable (and you cannot make it so), but try this

    If(
     Len(Combo2.Selected.Value) = 0,
     List1,
     Ungroup(
     ForAll(
     Combo2.SelectedItems As aSel,
     Filter(
     List1,
     aSel.Value in Column1.Value
     )
     ),
     "Value"
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard