cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Help with delegation

Hi Community,

 

I need help with the below delegation warnings please. Tried looking at other posts but can't get them working. 

 

I have 2 SP lists as datasource - "Header" and "Details".

 

1) The gallery here will extract records from "Header" based on the the logged in user's email address. At the same time, the formula will involve searching the records based on a keyword typed, filter the results and display.

 

Delegation warning here is ""Search" part of this formula might not work on large data sets".

 home.PNG

 

2) The gallery here involves extracting from "Details" all records which IDs in "Details" and "Header" match.

The error here is "The highlighted part of this formula might not work on large data set. The "Sum" operation is not supported by this connector".

2.PNG

Appreciate any help. Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Help with delegation

@elleeyl 

 

1) The gallery here will extract records from "Header" based on the the logged in user's email address. At the same time, the formula will involve searching the records based on a keyword typed, filter the results and display.  Delegation warning here is ""Search" part of this formula might not work on large data sets

 

Unfortunately the SEARCH function is not delegable for SharePoint.  The best we can do for now is to use the STARTSWITH function which searches only the start of a text string.  Sorry, I know this is not good news but until SEARCH becomes delegable that's all we have got in native PowerApps.

 

2) The gallery here involves extracting from "Details" all records which IDs in "Details" and "Header" match.

The error here is "The highlighted part of this formula might not work on large data set. The "Sum" operation is not supported by this connector".

 

You could SUM the Gallery items instead of the datasource and it might make the problem go away.  Try this.

 

Sum(Gallery1.AllItems,'Expense Amount')

 

---
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 III
Super User III

Re: Help with delegation

@elleeyl 

 

1) The gallery here will extract records from "Header" based on the the logged in user's email address. At the same time, the formula will involve searching the records based on a keyword typed, filter the results and display.  Delegation warning here is ""Search" part of this formula might not work on large data sets

 

Unfortunately the SEARCH function is not delegable for SharePoint.  The best we can do for now is to use the STARTSWITH function which searches only the start of a text string.  Sorry, I know this is not good news but until SEARCH becomes delegable that's all we have got in native PowerApps.

 

2) The gallery here involves extracting from "Details" all records which IDs in "Details" and "Header" match.

The error here is "The highlighted part of this formula might not work on large data set. The "Sum" operation is not supported by this connector".

 

You could SUM the Gallery items instead of the datasource and it might make the problem go away.  Try this.

 

Sum(Gallery1.AllItems,'Expense Amount')

 

---
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
Helper III
Helper III

Re: Help with delegation

@mdevaney thank you so much!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (5,889)