cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
erobguy
Frequent Visitor

Sharepoint list delegation > 500 or > 2000 (ID filter)

Hi, 

 

I have read a lot about the options available when working with large datasets. 

 

I have about 8,000 rows in sharepoint list. Sharepoint list name = "4Actions".

 

Im trying to filter the results and store them locally via ClearCollect to collection called "SiteActLive"

 

My formula is as per below. It work perfectly for the first 500 or 2000 records depending on how i've set the limits but then wont pull anything after that so it must not be delegating to sharepoint to do the calcs. 

 

ProjectID.Id = ID field in Sharepoint list

ThisItem.ID = Field from gallery 

 

ClearCollect(SiteActLive,Filter('4Actions',ProjectID.Id=ThisItem.ID))

 

Please help me! 

12 REPLIES 12

@erobguy 

No worries, glad you got it sorted. Just remember to mark this as SOLVED so that others can find it if they have a similar issue.

 

All the best

View solution in original post

erobguy
Frequent Visitor

Thanks so much!

v-xida-msft
Community Support
Community Support

Hi @erobguy ,

Do you face a Delegation warning issue with your Filter function?

How many records does the Filter function would returned? More than 2000?

Have you solved your problem?

 

I agree with @Eelman 's thought almost. You could consider modify your Filter formula as below:

ClearCollect(
             SiteActLive,
             Filter(
                     '4Actions',
                     ProjectID.Value = ThisItem.'Referenced Column'
             )
)

If you type ProjectID.Id formula within your above Filter function, you would face Delegation warning issue.

 

If you faced Delegation issue with your Filter function, you could only process first 2000 records of your '4Actions' list at most locally within your canvas app. If the desired record at 2001 or 7999 (more than 2000), then these records would be ignored, and not be saved into your collection.

 

If you have solved your problem, please consider go ahead to click "Accept as Solution" to identify this thread has been solved.

 

Best regards,

Community Support Team _ Kris Dai
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

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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
Users online (2,552)