Showing results for 
Search instead for 
Did you mean: 
New Member

Loading 60,000 SharePoint List Items

Loading 60,000 SharePoint List Items

1.I create an Excel File, 1 Column only, value from 1 to 2000
2.Import SpreadSheet To SharePoint List name it Loops
3.My sample data using Excel File 60,000 rows, data
exported form table FactInternetSales Database AdventureWorks2012
4.Import SpreadSheet To SharePoint List name it InternetSales
5.In Internet Sales add a new column type number
6.Create a Flow (Trigger Manual) name it AddColumn N, SharePoint Get Items, Apply To Each, inside use SharePoint Update Item, Update N Column : int(div(item()?['ID'],2000))
7.Run Flow AddColumn N, it might take hours (6-8 hours)
8.Create a Flow (Trigger by PowerApps) name it RowsCount
9.Add Send HTTP request to SharePoint (ListName=InternetSales)
Uri :_api/web/lists/GetByTitle('[ListName]')/ItemCount
10.Add Respond to PowerApp. Add new Number Output name it RowsCount. Expression : body('Send_an_HTTP_request_to_SharePoint')['d']['ItemCount']

11.Create New PowerApp name it GetInternetSales
12.File - Settings - Advanced Settings - Value :2000
13.Save. Publish. Close
14.Open again
15.Set App - OnStart
15.Drag 1 Button
16.Set OnSelect :
17.Drag 1 Data Table
18.Set Items : Sort(MyIS,ID,Descending)
19.Thats It!


Dual Super User
Dual Super User

I get that it works.  But the bigger question is Why?  As you point out following this will take over 8 hours just to load the data.  Better to either learn to do delegation in SharePoint or use a better data source with better delegation support like SQL or CDS.  Trying to handle 60,000 items inside PowerApps is an exercise in futility.

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

Hi @nugysemail ,

Thanks for your sharing. The solution you provided is perfect, which would help many users who facing Delegation issue with PowerApps formulas.


If you have any questions about PowerApps, please feel free to reply here.


Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.


New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (1,802)