Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

How to make the search functionality, of a combo box, find matches starting with a first letter match and not any match?

(0) ShareShare
ReportReport
Posted on by 821 Super User 2025 Season 1

Not sure if my question is worded correctly but I would like to get the combo box to search/filter matching the first letter I type with the first letter of the items in the combo box. For example, if I type "F", I want the combo box to be filtered to show 'Fish', 'Forks', 'Fountain' etc and not 'Fish', 'Forks', 'Fountain' plus 'Effort', 'Stuff', etc.. I just want the words that start with "F". Is there way to do this?

  • Verified answer
    futr_vision Profile Picture
    821 Super User 2025 Season 1 on at
    Re: How to make the search functionality, of a combo box, find matches starting with a first letter match and not any match?

    Thanks. This works with a little tweak. I needed to add in the column name.

     

    Filter(DataSource, StartsWith(ColumnName, Self.SearchText))

     

  • Verified answer
    SBax Profile Picture
    1,348 on at
    Re: How to make the search functionality, of a combo box, find matches starting with a first letter match and not any match?

    I think you could achieve this using startswith

     

    https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-startswith

     

    Combine this with filter and it should give you what you need

     

    Filter(data source, startswith(self.searchtext)) in the items property of your combo box 

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,601 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard