Hi All,
I am hoping someone can help. I have a SharePoint list with 6400 items which I am trying to display in a Gallery.
It seems whichever way I slice it I am subject to the 2000 limit. I would rather not have to pull all the data in and
filter to aid performance.
I would like to collect all 6400 records (this will increase over time) from SharePoint to be able to use Filter
listing only the items that match (Current user).
One suggested workaround was to use a collection (see formula below). I used the following but again I am still stuck with 2000 items.
Before I can start to work on my filter i need all 6400 items.
What is wrong with my collection that prevents me from getting all 6400 items?
Is it because ID is not delegable?
If so then how can i workaround this limitation ?
//Collects all items in list and adds them to collection
Concurrent(
ClearCollect(
CollectionA,
Filter(
SiteRegistry,
ID < 2000
)
),
ClearCollect(
CollectionB,
Filter(
SiteRegistry,
ID >= 2000 And ID < 4000
)
),
ClearCollect(
CollectionC,
Filter(
SiteRegistry,
ID >= 4000 And ID < 6000
)
),
ClearCollect(
CollectionD,
Filter(
SiteRegistry,
ID >= 6000 And ID < 8000
)
),
ClearCollect(
CollectionE,
Filter(
SiteRegistry,
ID >= 8000 And ID < 10000
)
),
ClearCollect(
CollectionF,
Filter(
SiteRegistry,
ID >= 10000 And ID < 12000
)
),
ClearCollect(
CollectionG,
Filter(
SiteRegistry,
ID >= 12000 And ID < 14000
)
),
ClearCollect(
CollectionH,
Filter(
SiteRegistry,
ID >= 14000 And ID < 16000
)
)
);
ClearCollect(
colSiteRegistry,
CollectionA,
CollectionB,
CollectionC,
CollectionD,
CollectionE,
CollectionF,
CollectionG,
CollectionH
)