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 / Filter Gallery on a va...
Power Apps
Unanswered

Filter Gallery on a value that starts with multiple choice values

(0) ShareShare
ReportReport
Posted on by 155

Hello,

 

 

I have a sharepoint list, lets name it "Staff",  with a choice column named "Knowledge". 

in the choice column "Knowledge"  I have values like TCC1, TCC2, TCC3 ,   OCC1 , OCC2, OCC3 

Is it possible to filter a gallery based on a value , for example TCC,  and get all the records where the value in the knwoledge column starts with TCC? 

 

so in a dropdown,  i added manually all values of the choice column and added "TCC" and "OCC" 

When the uer selects TCC , all records where the knowledge starts with TCC , should be in the list. 

 

Is this possible? 

Categories:
I have the same question (0)
  • TheRobRush Profile Picture
    11,128 Moderator on at

    Pretending the table name is sampletable and the value it should start with is "App" in the Name column

     

    Filter(SampleTable,StartsWith(Name,"App")=true)

     

    replace smapletable with your collection, and name with your columnn name then "App" with the dropdown.selected.value ( play with this dropdown code in a text label box first to make sure you get the syntax correct to save you a headache)

  • Stijn007 Profile Picture
    155 on at

    Hello,

     

    I still get an error that StartsWith expect a text value and the column in my sharepointlist is a choice column and not text. 

    I guess that's why he gives the error. 

    I already tried to put the table  in a collection but the error remains. 

     

     

  • TheRobRush Profile Picture
    11,128 Moderator on at

    See below

    Filter(ParkingMasterGarages, ComboBox1.Selected.Name in Area.Value)

    ParkingMasterGarages is the Source List

    ComboBox1 is where I make my selection

    Area is the choice column, and .Value is the choices location in that column

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 392

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 271 Super User 2026 Season 1

Last 30 days Overall leaderboard