cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rgius
Level: Powered On

Combo box search delegation

 

Do combo box searches not support delegation? It doesn't seem to work on large datasets (mine is 18k records) without some trickery.

I'm sure I'm not the only person who has run into this, so here's my solution for anyone who needs it...

This goes in the combo box's OnChange property so that you can use the StartsWith function to search the dataset and stick it in a collection. Then, set the combo box's Items property to that collection.

ClearCollect(
    CollectionName,
    Filter(
        '[TableName]',
        StartsWith(
            ColumnName,
            ComboBox1.SearchText
        )
    )
)


This is pretty slow, but it does the job. Would like to see combo boxes just work this way in the future!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Combo box search delegation

Hi @rgius,

 

Thanks for your sharing. You could post an idea in PowerApps idea forum here:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Combo box search delegation

Hi @rgius,

 

Thanks for your sharing. You could post an idea in PowerApps idea forum here:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

diego_marino
Level: Powered On

Re: Combo box search delegation

very good. I tried this

ClearCollect(ComuniCL;Filter(Comuni;StartsWith(Comune;ComboBox1.SearchText))) in onchange property of the combobox

 

then in the items property i put just ComuniCL but i cannot filter every record, it stucks at 500

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,590)