cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AshishJaiswal
Helper V
Helper V

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (3,017)