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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to filter a Galler...
Power Apps
Answered

How to filter a Gallery based on a Multi Select Choice column in SharePoint List

(0) ShareShare
ReportReport
Posted on by 54
I am using a SearchBox to search and filter through a gallery.
This formula is for the items property of my gallery which I want to filter .
 
295036535_3321988718122894_3324655439108817504_n.jpg
 
Issue : Everything works fine except for the Choice column which I have underlined.
I want to know how to search through the text inside the choice column .
These column is inside a SharePoint List - FinalMaster. And the CAS dependency is a Multi select choice column in the List
 
Any help is hugely appreciated

 

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,831 Super User 2026 Season 1 on at

    Hi @AdityaDani ,

     

    Please add .Value after 'CAS dependency(Choice)' and it should then work.

  • Verified answer
    Pstork1 Profile Picture
    69,554 Most Valuable Professional on at

    You'll need to use the 'in' operator and Concat() to change the values to a string so they are accessible.  Something like this.

     

    If(IsBlank(SearchBox.Text),Final_Master,
    Filter(Final_Master,TextInput1.Text in Concat('CAS dependency(Choice)', Value, " ")))

     

  • AdityaDani Profile Picture
    54 on at

    @Pstork1 Thanks a ton. I love this community. So much to learn

  • AdityaDani Profile Picture
    54 on at

    @BCBuizer  it only works for one column. I don't know why this ignores the other columns

  • BCBuizer Profile Picture
    22,831 Super User 2026 Season 1 on at

    Hi @AdityaDani ,

     

    Can you please clarify what you mean with "one" and "other" columns?

  • AdityaDani Profile Picture
    54 on at

    By other I meant I could not search based on other multi select choice column.

     

     But I got it fixed. its working properly

  • AdityaDani Profile Picture
    54 on at

    Hi Pstork1,

     

    I am using the concat function for the text property of a Label in order to have Commas, between each record like this. 'CAS Dependency' is a multi select choice type column in SharePoint List(My data source)

     

    WhatsApp Image 2022-08-15 at 8.11.55 PM.jpeg

     

     

    But I don't want to print a Comma where there is just one record and on the last record .

    EX : Record1,record2,

    or Record1,

     

    I tried finding a way where I could count the number of records so that I can use that as a counter for a loop inside a conditional statement but couldn't find any. Please help.

     

    Thanks and Regards 🙂

  • Pstork1 Profile Picture
    69,554 Most Valuable Professional on at

    You can surround the entire Concat with a Left() function to return all the characters minus one.

    Left(Concat(everything you have now),Len(Concat(everything you have now)-1)

    or use a With

    With({NewString: Concat(everything you have now)}, Left(NewString, Len(NewString)-1))

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 491

#2
WarrenBelz Profile Picture

WarrenBelz 407 Most Valuable Professional

#3
11manish Profile Picture

11manish 331

Last 30 days Overall leaderboard