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 make the search...
Power Apps
Unanswered

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 831 Moderator

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?

Categories:
I have the same question (0)
  • Verified answer
    SBax Profile Picture
    1,348 on at

    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 

  • Verified answer
    futr_vision Profile Picture
    831 Moderator on at

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

     

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

     

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard