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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,533)