cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
NigelP
Level 8

What is the maximum size of a collection ?

Hi 

 

I want to load 15,000 records into a collection.  I know I might have to feed them in 500 (or 2000) at a time, but will PowerApps let me have such a size of collection ?

 

What is the maximum size of a collection ?

 

Thanks

 

NIgel

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: What is the maximum size of a collection ?

Hi @NigelP,

 

According to delegation documentation:

Collections stored in context variables don't require delegation. All of this data is already in memory, and the full PowerApps language can be applied.

 

The 500-2000 delegation record limit does not apply to collections, i.e. you can store as many records in a collection as you like.

 

Regards,

Mona

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

View solution in original post

6 REPLIES 6
Community Support Team
Community Support Team

Re: What is the maximum size of a collection ?

Hi @NigelP,

 

According to delegation documentation:

Collections stored in context variables don't require delegation. All of this data is already in memory, and the full PowerApps language can be applied.

 

The 500-2000 delegation record limit does not apply to collections, i.e. you can store as many records in a collection as you like.

 

Regards,

Mona

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

View solution in original post

Meneghino
Level 10

Re: What is the maximum size of a collection ?

I have stored up to 10,000 records in a collection without any issues, and I am sure more can be stored.  I think the limit is the ability of your device to handle the memory.

Depending on where the data is stored, there may be better ways to load up your collection than repeated downloanding of 2,000 records (the maximum currently available through the built-in functions).  SQL Server or Azure SQL Database are particularly flexible.

Where is your data?

Dawidvh
Level 10

Re: What is the maximum size of a collection ?

Hi everyone.

 

We have been able to store over 10 000 records in a collection and the memory and performance was quite good actually. The only time that it started hitting the memory hard is when you display that collection in a gallery, and scroll through all the data. It actually feels like there is a staging system in PowerApps that stores the collection info and that the entire collection is not stored in the browser (feels very much like Cosmos or Mongo). The browser is only hit with the info when you start displaying the data from the collection.

 

From our tests, it is also better to use addcolums to join info from tables into a collection, than to do lookups in the gallery to 'join' data.

 

NigelP
Level 8

Re: What is the maximum size of a collection ?

Hi @Meneghino

 

The data is currentl store in SHarePoint Online lists.

 

Regards

 

Nigel

Meneghino
Level 10

Re: What is the maximum size of a collection ?

Sorry, can't think of how to get >2000 rows in one go from SharePoint lists.

Dawidvh
Level 10

Re: What is the maximum size of a collection ?

Does it have to be in SharePoint? How important is it to get all the data in one go and not in increments of 2000? We have successfully stored data directly in Mongo from PowerApps before, in which case you can get quite a lot of data in and out at great speeds. You can also do some fancy footwork with Flow to get the data for you, it all depends on how much data you need to get, how quick you want it and what you are willing to let go of in terms of application simplicity

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (3,930)