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 Choices with st...
Power Apps
Answered

Filter Choices with startswith ?

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

Is it possible to filter Choices using "startswith"?? all data is in CDS(Dataverse)

 

I have a combo box selection with number like following (multi selection).

100_categoryA

200_categoryB

300_categoryC

 

When I chose "200_categoryB" I would like to show item start with 200-299 in next combo box.

201_item1

202_item2

 

I've tried  arranging following but did not work how I would like to do.

Filter(Choices(products),"2" in Value)

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    Please try this formula:

    Filter(Choices(YourTable.ChoiceColumn),"2" in Text(Value))

    Or

    Filter(Choices(YourTable.ChoiceColumn),StartsWith(Text(Value),"2"))

    Best Regards,

    Bof

     

  • Verified answer
    Vijay Tailor Profile Picture
    2,961 on at

    HI @Anonymous ,

    Please Find the Solution for your Problem below - 
    See the Data Structure-

    VijayTailor_0-1613546405086.png

    So First ComboBoxCode Like below - 

    CateSource //Source

    Second Combo Box Filter Code.

    Filter(ItemSource,StartsWith(CateName,First(Split(ComboBox1.Selected.CateName,"_").Result).Result))

    Please Find the Demo for the Same.
    Sorting_FilteringComboCascading.gif

    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."-Vijay





  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @v-bofeng-msft 

    @VijayTailor 

    Thank you ! worked😉

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 493 Most Valuable Professional

#2
11manish Profile Picture

11manish 479

#3
Haque Profile Picture

Haque 328

Last 30 days Overall leaderboard