cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Partisan
Post Partisan

sharepoint Filter StartsWith delagation large list warning

I have a searchbox-textbox

I have Radio button with 3 choices

I have a gallery with the items set to below

The sharepoint list contains 4,888 rows

 

 

If(rdo_SearchFields.Selected.Value = "Escalation Id", Filter(t_pricing_escalation_master,StartsWith(Text(PRICING_ESCALATION_ID),txt_SearchText.Text)),
rdo_SearchFields.Selected.Value ="Account Name", Filter(t_pricing_escalation_master,StartsWith(ACCOUNT_NAME,txt_SearchText.Text)),
rdo_SearchFields.Selected.Value ="Account Number", Filter(t_pricing_escalation_master,StartsWith(ACCOUNT_NUMBER,txt_SearchText.Text)))

 

Getting a delagation alert because of the Startswith function ?

 

Can this be re-written to get around the issue

 

Dave

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: sharepoint Filter StartsWith delagation large list warning

@DAVIDPOWELL

 

Actually, STARTSWITH is delegation friendly.  The problem is you are using the TEXT function.

 

Instead of doing this:

StartsWith(Text(PRICING_ESCALATION_ID),txt_SearchText.Text))

 

Do this:

StartsWith(PRICING_ESCALATION_ID,txt_SearchText.Text))

 

And SET your variable as Text elsewhere in your app:

Set(PRICING_ESCALATION_ID, Text(your_formula_here)


---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

 

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: sharepoint Filter StartsWith delagation large list warning

@DAVIDPOWELL

 

Actually, STARTSWITH is delegation friendly.  The problem is you are using the TEXT function.

 

Instead of doing this:

StartsWith(Text(PRICING_ESCALATION_ID),txt_SearchText.Text))

 

Do this:

StartsWith(PRICING_ESCALATION_ID,txt_SearchText.Text))

 

And SET your variable as Text elsewhere in your app:

Set(PRICING_ESCALATION_ID, Text(your_formula_here)


---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

 

View solution in original post

Highlighted
Post Partisan
Post Partisan

Re: sharepoint Filter StartsWith delagation large list warning

Thanks I keep copying and pasting old code and forget to delete that part !

 

Thanks

again

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,274)