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
Dual Super User

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.

Join me at 365EduCon in Chicago on Sept. 26-30 where I'll be presenting on the Power Platform!

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,780)