Imaginet Blog

Load SharePoint Items into Power Apps Without Delegation Limitations

Blog

Anthony Zhu
2025-02-20

Load SharePoint Items into Power Apps Without Delegation Limitations

Load SharePoint Items into Power Apps Without Delegation Limitations

February 13, 2025

Loading large datasets into Power Apps galleries or data tables can be a significant challenge in app development, especially when dealing with SharePoint’s 5,000-item limit and Power Apps’ 2,000-delegation row limit. In this blog, we will be discussing how you can easily load all SharePoint items into Power Apps with a simple solution.

These constraints often result in incomplete datasets being retrieved from a SharePoint list or library. In practice, delegation issues are difficult to avoid, especially when search, filter, or sort operations are applied to complex columns.

The following formula offers a dynamic solution to the challenge of loading large datasets into Power Apps and has been used successfully in a real-world app we developed for our client: 

Load SharePoint Items into Power Apps
Load SharePoint Items into Power Apps
Load SharePoint Items into Power Apps

To implement this solution, begin by creating a number column named “IndexID” in the SharePoint list or library. Then, either create or use an existing automated flow to copy the item ID into this column during item creation. 

The core idea of the formula is to break the entire dataset into chunks based on Power Apps’ data row limit settings and then load each chunk into a collection.

Two variables, _minID and _maxID, define the range, since items are often archived periodically in many cases. The variables _end and _start serve as “page numbers” to generate sequential pages (_seq) in descending order (the formula can be adjusted if ascending order is preferred). The collection, colDocuments, returned by the formula includes all items in descending order. 

A final tip: since formulas that involve behavior actions cannot be saved as named formulas, to reuse the solution in multiple places in the app, add the formula to the OnSelect method of a hidden button. You can then call it with Select(<hidden button name>). 

We hope this blog was helpful and you can now easily load all your SharePoint items into Power Apps without delegation limitations. If you have another project in mind, get in touch with us by filling out the form at the bottom of the page.

Thanks for reading! Make sure to subscribe to our blog. We publish technology tips, tricks, and updates every week.     

Want to hear the latest from out team of experts? Sign up to receive the latest news right to your inbox. You may unsubscribe at anytime.

Power Pages

Discover More

Differences Between SharePoint and OneDrive

The Differences Between SharePoint and OneDrive: A Guide

Janine JeansonMay 23, 20254 min read

Many people struggle with understanding the differences between SharePoint and OneDrive and when it is appropriate to use each of them. This blog will discuss SharePoint and OneDrive and will…

Modernizing Legacy Applications

Modernizing Legacy Applications: Future Proof Your Organization

Janine JeansonMay 15, 20254 min read

We are seeing rapid and constant shifts and changes within the technology world. For the average person, these changes can be a lot to keep up with. It seems like…

Microsoft Entra Tenant

Attributes of a Well-Designed Microsoft Entra Tenant

Janine JeansonMay 8, 20255 min read

Having a well-designed Microsoft Entra Tenant is essential. It ensures your organization is set up for robust security, compliance, and operational efficiency. Implementing strong authentication methods and conditional access policies…

Let’s build something amazing together

From concept to handoff, we’d love to learn more about what you are working on.
Send us a message below or call us at 1-800-989-6022.