cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
duffletmc
Frequent Visitor

Powerapps Combo Box Searching

Hi there,

 

I have a powerapps with a combo box that has the 'allow searching' option turned on.

In the combo box, there are a large number of selections

 

Currently when searching, let's say if I have 20 entries, one called 'This Is Powerapps Paul', which is the one I want to select in the dropdown. The other 19 are called 'This Is Powerapps 1,2,3, etc' 

 

At the moment, when searching for the word 'this' it will bring up all 20 entries. However if I search for 'Paul', it won't bring up the one I want.

 

Is there a way to make this search look for entries containing 'Paul' rather than those that start with 'this' ? 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @duffletmc ,

The In or Search() filters look at the whole of the text presented for occurrences of that string in the target field string. If Paul was one of the choices, then yes you could find it, but you cannot search on a part of a string - is this what you are asking?

If not and you are asking if the gallery (or whatever is the target) can be filtered to show any item selected, then the Items would be something like

Filter(
   YourDataSourceName,
   YourTargetFieldName In YourComboBoxname.SelectedItems
)

Happy to elaborate further.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

 

View solution in original post

5 REPLIES 5
WarrenBelz
Super User
Super User

Hi @duffletmc ,

The In or Search() filters look at the whole of the text presented for occurrences of that string in the target field string. If Paul was one of the choices, then yes you could find it, but you cannot search on a part of a string - is this what you are asking?

If not and you are asking if the gallery (or whatever is the target) can be filtered to show any item selected, then the Items would be something like

Filter(
   YourDataSourceName,
   YourTargetFieldName In YourComboBoxname.SelectedItems
)

Happy to elaborate further.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

 

View solution in original post

Hi Warren,

 

yep it was to search part of a string - I wanted to find any options in a selectable dropdown list that contain the word 'Paul' somewhere in the string

Just replying because I am on the search for the same answer.  If by chance I find it I will know where to post an answer for you. Best of luck. 

Anonymous
Not applicable

How is this an accepted solution? The question is about a combobox, not a gallery. I.e. by using the search function in the combo box. I have the same question as the original. Thanks.

@Anonymous ,

Acceptances are up to the person posting and if the response satisfied their query, then they may choose to close the post by accepting it. You might post your query on a new thread as this one was closed some time ago.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,274)