Showing results for 
Search instead for 
Did you mean: 
Helper V
Helper V

Flow for more than 2000 records in collection/gallery from Excel in OneDrive

hi folks,


I am trying to make a PowerApps  app. Currently, I am using OneDrive Excel as my data source and it has around 5000+ rows, and there is a limitation in gallery viewing for 2000 items only. Because after this gallery screen I have edit form for each item, if I use static excel, I can't edit it.


I got to know that it can be performed using flow with initializing variables and a loop inside the flow then retrieve all the 5000+ rows in collection/gallery?


Any help is appreciated!

Super User
Super User

Check out this video I did, it's referring to SharePoint data, but the same concept will apply:




If I answered your question, please accept it as a solution 😘

Dual Super User III
Dual Super User III

If you enable pagination in the settings of the list rows and set the maximum to higher than 5000+ you will be able to retrieve 5,000+ rows and process them.  For efficiency you should also set the Top Count under advanced to something like 100 or 250.  That is the page size that will be used for retrieving the 5000+ records.  Otherwise it will try to retrieve all of them at once which is very inefficient. 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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,624)