cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AshishJaiswal
Post Patron
Post Patron

Search not working in combobox

Hi Experts,

 

I'm building a new app.

 

For some reason search function is not working in Combo box

 

My Source is 'List B' and I'm pulling details from Title Column

 

Sort(Distinct('List B',Title),Result)

 

Using above formula as i want to sort then alphabetically.

AshishJaiswal_0-1617632767396.png

 

3 REPLIES 3
PK_Hong
Resolver II
Resolver II

Hi

Try this:
ComboBox.Items = Sort(Distinct(mydata, Condition).Result, Result, Descending)

in ComboBox, Distinct shall be writeen as = Distinct(mydata, Condition).Result,

then usr Sort(.XXX, Result, Descending).

 

Have a nice day

 

@PK_Hong 

 

Thank you for replying to my post.

 

I'm using a different formula for getting items in the Combo box now.

 

Search function is giving me a warning now. please advise.

 

AshishJaiswal_0-1617696148851.png

 

v-albai-msft
Community Support
Community Support

Hi @AshishJaiswal ,

This is because Search() is not delegable in SharePoint, so you will receive this warning. 

But don't be worried. Actually, a Delegation message is just a warning, not an error. If the number of list items in your list is not too large(does not exceed 2000), you can ignore this warning. (I don't think you will put so many choices(about 2000) in your combo box).

For more information about PowerApps delegable functions and operations for SharePoint, you can refer to below documentation:

v-albai-msft_0-1617961004372.png

 

SharePoint delegation improvements | Microsoft Power Apps

Besides, If you have a large list , you can use solutions provided in this blog to avoid the Delegation warning.

Best regards,

Allen

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

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 (2,864)