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 / ComboBox Search Doesn'...
Power Apps
Answered

ComboBox Search Doesn't Work while Selection Works Ok

(0) ShareShare
ReportReport
Posted on by 19

My data sources are Sharepoint Lists.

 

Here is a formula I use:

Filter([@SECurity_CATegories_PBI], CAT_TYPE = ComboBox2_1.Selected.Value)

 

It works perfectly with "Allow Searching" turned off, but once it's on, I can only see an empty field.

 

I thought it might be some delegation errors so I changed it to 

Filter([@SECurity_CATegories_PBI], StartsWith(CAT_TYPE , ComboBox2_1.Selected.Value))

 

But nothing changed.

 

Help!

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,059 Most Valuable Professional on at

    Hi @Kazanskyi ,

    What type of field is CAT_TYPE ? If a Choice or Lookup column

    Filter(
     [@SECurity_CATegories_PBI], 
     CAT_TYPE.Value = ComboBox2_1.Selected.Value
    )

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • Kazanskyi Profile Picture
    19 on at

    Hello @WarrenBelz,

     

    In SharepointList settings CAT_Type is a regular string.

    Kazanskyi_0-1702997199883.png

     

     

  • WarrenBelz Profile Picture
    153,059 Most Valuable Professional on at

    Hi @Kazanskyi ,

    Assuming the drop-down selection exactly matches the CAT_Type Text field, the issue is that there is potential for a Delegation issue on Searching (Power Apps does not know how big the list will get) - If the filtered outcome is never going to be bigger than your Delegation limit, you can do this

    With(
     {
     _Data:
     Filter(
     SECurity_CATegories_PBI, 
     CAT_TYPE = ComboBox2_1.Selected.Value
     )
     },
     Sort(
     _Data,
     YourDisplayedFieldName
     )
    )

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • Kazanskyi Profile Picture
    19 on at

    Thank you for the idea.

    The search field is still empty, unfortunately.

     

    I tried to change the formula to distinct values, but it did not help as well.

    Distinct(Filter([@SECurity_CATegories_PBI], CAT_TYPE = ComboBox2_1.Selected.Value),CAT_NAME)

     

    With isSearchable turned off, both options work great.

     

  • WarrenBelz Profile Picture
    153,059 Most Valuable Professional on at

    @Kazanskyi ,

    If you want Distinct values, you might try the process from this blog of mine.

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Kazanskyi Profile Picture
    19 on at

    Hi @WarrenBelz,

    Ok, I got it. Distinct values are unnecessary as all the values in the column CAT_NAME are unique. I am testing all the options with no clever ideas.

    Do you have anything else on your mind as to why the search doesn't work?

  • WarrenBelz Profile Picture
    153,059 Most Valuable Professional on at

    @Kazanskyi ,

    Have you displayed the correct field in your combo Box (Edit icon at right)

  • Kazanskyi Profile Picture
    19 on at

    All seems correct. Here is a screenshot.

     

    Kazanskyi_0-1703026772100.png

     

     

    Please correct me if that's not what you mentioned.

  • WarrenBelz Profile Picture
    153,059 Most Valuable Professional on at

    @Kazanskyi ,

    Probably my last shot as based on what you posted, it simply should work - I assume CAT_NAME is a Text field.

    With(
     {
     _Data:
     Filter(
     SECurity_CATegories_PBI, 
     CAT_TYPE = ComboBox2_1.Selected.Value
     )
     },
     Sort(
     _Data,
     CAT_NAME
     ).CAT_NAME
    )

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • Kazanskyi Profile Picture
    19 on at

    Yes, CAT_NAME is a text field.

    Unfortunately, it did not help.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard