web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Remove Delegation Warn...
Power Apps
Unanswered

Remove Delegation Warning for more then 5000 items of the sharepoint list

(0) ShareShare
ReportReport
Posted on by 4

Hii

I am using SharePoint list in making a management system with the list data of more than 5000. In which I am able to fetch the data and show them on my PowerApps but when it comes to implementation of the functions such as count, sum, average etc. in that part I am getting error of delegation. Can you help us in removing that error from my application.

Thank You

Screenshot (22).png
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    154,494 Most Valuable Professional on at

    @Satya121 

    I cannot see your complete code (please post in Text), but if your question is whether you can Sum/Average/Count these in a Delegable manner, then the answer is that you cannot unless you start making big collections - I have a  blog on this if it helps (please note the comment on Shadow ID Field in particular).

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

     

     

     

  • EddieE Profile Picture
    4,641 Moderator on at

    @WarrenBelz 
    Sorry, was halfway through typing a response then saw that you had replied ... thought I'd reply anyway lol

    @Satya121 

    As  Warren says, these functions cannot be delegated to SharePoint. Another way around this is to use filtering. If, for example, your list has a column that stores data where filtering on this field will always return less than 2000 items, then you can do something like this.

     

    Assume your field is called 'Region' and is of type Text:

    With(
     {
     // note, each filter must return <2000 records for this method to work
     wRegion1: Filter(ashish_5011, Region = "Region1"), 
     wRegion2: Filter(ashish_5011, Region = "Region2"),
     wRegion3: Filter(ashish_5011, Region = "Region3")
     },
     Sum( wRegion1, 'Number of units') + Sum( wRegion2, 'Number of units') + Sum( wRegion3, 'Number of units') & " 
    Total Assets"
    )

     

     

  • Satya121 Profile Picture
    4 on at

    Hii EddieE 

    I have implemented the same code as you told in chat but it showing error in that. Can you please help me in other way.

     

  • EddieE Profile Picture
    4,641 Moderator on at

    @Satya121 

    Sure, but I need to know the code you are using to help further. Please post it in a code window ie (</>) for me to have a look at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard