Hi All,
I have an entity having records approx=10000. And I am using collection to store data in my canvas app for offline mode. But my collection is able to store data up to 2000 records only. Why? Is there data storage limitation in collection?
My advanced setting data row limit is set up to 2000.
How to solve this issue?
Solved! Go to Solution.
Yes Collection have a limitation of 2000 rows. To overcome that, create an ID increment number Column (1,2,3...) In your table.
Then use this code:
Concurrent(
ClearCollect(col1, Filter('Datasource', ID >= 1 && ID <= 2000)),
ClearCollect(col2, Filter('Datasource', ID >= 2001 && ID <= 4000)),
ClearCollect(col3, Filter(Datasource, ID >= 4001 && ID <= 6000)));
ClearCollect(colCombined, col1, col2, col3, col4, col5)
Then use the colCombined.
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Yes Collection have a limitation of 2000 rows. To overcome that, create an ID increment number Column (1,2,3...) In your table.
Then use this code:
Concurrent(
ClearCollect(col1, Filter('Datasource', ID >= 1 && ID <= 2000)),
ClearCollect(col2, Filter('Datasource', ID >= 2001 && ID <= 4000)),
ClearCollect(col3, Filter(Datasource, ID >= 4001 && ID <= 6000)));
ClearCollect(colCombined, col1, col2, col3, col4, col5)
Then use the colCombined.
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hi @eka24 ,
As you mentioned Collection have a limitation of 2000 rows. Then how would ClearCollect(colCombined, col1, col2, col3, col4, col5) will work? It will also have 2000 only.
I checked and it is showing 2000 record only and only col1 has 2000 records. col2,col3 and col4 has 0 records. Why so?
If you read my reply I stated that it a way of working around it to achieve more than 2000.
Have you tried the formula? What results did you get?
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hi @eka24 ,
Thanks for your response.
I tried your formula and colcombined has 2000 record only same as in col1.
Col1 has 2000 record and Col2,Col3,Col4 have 0 records.
If your Datasource is excel, it may not work. What is your Datasource
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hi @eka24 ,
Datasource is CDS. Which has Sr no column as datatype Autonumber.
How to use that field in formula.
Can you give your formula that showed the 2000.
Also is your Delegation limit already increased to 2000
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hi @eka24 ,
ClearCollect(col1, Filter('Population ', Value(SrNo) >= 00001 && Value(SrNo) <= 02000));
ClearCollect(col2, Filter('Population ', Value(SrNo) >= 02001 && Value(SrNo)<= 04000));
ClearCollect(col3, Filter('Population ', Value(SrNo) >= 04001 && Value(SrNo) <= 06000));
ClearCollect(col4, Filter('Population ', Value(SrNo) >= 06001 && Value(SrNo) <= 08000));
ClearCollect(col5, Filter('Population ', Value(SrNo) >= 08001 && Value(SrNo)<= 10000));
yes, delegation limit is set up to 2000.
You serial number seems to be a textfield. Create another column as a number field and use that.
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
178 | |
52 | |
41 | |
36 | |
29 |
User | Count |
---|---|
240 | |
82 | |
71 | |
69 | |
66 |