cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gavinleung
Resolver I
Resolver I

Quick Question - How can I do a search without delegation issue

Hi folks, 

 

I'm doing a filter from a Sharepoint List with over 3000 records (for now). In my filter, I'd like to do a search in "Title" column without a delegation issue, other than "StartsWith", any other idea? 

 

My Code:

If(CountIf(Role, User.Email = User().Email)>0, SortByColumns(Filter('Standard Work Plan', DateInText = Text(Today(),"[$-en-US]yyyymmdd"), StartsWith(Title, TextSearchBox1.Text)),"Title", If(SortDescending1, Descending, Ascending)), SortByColumns(Filter('Standard Work Plan', DateInText = Text(Today(),"[$-en-US]yyyymmdd"), 'Assigned To'.Email = _UserProfile.Email, StartsWith(Title, TextSearchBox1.Text)),"Title", If(SortDescending1, Descending, Ascending)))

 

Thanks,
Gavin

1 ACCEPTED SOLUTION

Accepted Solutions
RezaDorrani
Dual Super User II
Dual Super User II

Hi @gavinleung 

 

With SharePoint Search is not a delegable function

StartsWith is the only delegable option for now (to search for string in a column - contains operation)

 

 

Regards,

Reza Dorrani

 

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
RezaDorrani
Dual Super User II
Dual Super User II

Hi @gavinleung 

 

With SharePoint Search is not a delegable function

StartsWith is the only delegable option for now (to search for string in a column - contains operation)

 

 

Regards,

Reza Dorrani

 

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

Just accept the fact ... 

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.

Top Solution Authors
Top Kudoed Authors
Users online (2,342)