Notifications
Announcements
Great question! Power Apps has a delegation limit of 2,000 records for most data sources. To handle large datasets like yours, pagination is the best solution. It allows you to load and display only a subset of records at a time, improving performance and user experience.
1. Use the FirstN and Skip functions to fetch only the records you need for the current page:
FirstN
Skip
FirstN(Skip(DataSource, (CurrentPage - 1) * PageSize), PageSize)
Here’s what the formula does:
PageSize
If(CurrentPage < TotalPages, Set(CurrentPage, CurrentPage + 1))
If(CurrentPage > 1, Set(CurrentPage, CurrentPage - 1))
Use the total record count and page size to determine the total pages dynamically:
Set(TotalPages, RoundUp(CountRows(DataSource) / PageSize, 0))
---------------------------------------------------------------------------------- If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268