Showing results for 
Search instead for 
Did you mean: 
Not applicable

PowerApps Threshold Limit and Filtering a Collection for a Lookup

We have a list of items with 12,000 items (let's say "Tools") or so. We are trying to filter for a lookup value, as follows:


ClearCollect(ToolsCollection,Filter(Tools, Toolbox.Id=12345))


The ClearCollect function deletes all the records from a collection and then adds a different set of records to the same collection. With a single function, ClearCollect offers the combination of Clear and then Collect. ClearCollect returns the modified collection as a table. ClearCollect can only be used in a behavior formula. Ref:


However, it is not returning any items (for some Tools anyway). NB I can create a filtered list in SharePoint that is filtered to "Toolbox (indexed)".

Community Support Team
Community Support Team

Re: PowerApps Threshold Limit and Filtering a Collection for a Lookup

Hi @Anonymous,


What is this Toolbox you used in the formula? Also, I notice that you has ".Id" parameter following it, if you mean that you want to collect the SharePoint list items according to their ID fields, then this formula might only collect one item which if the 12345th item you created in this list. Please explain more about this formula and what you are trying to achieve.




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.
Not applicable

Re: PowerApps Threshold Limit and Filtering a Collection for a Lookup

Hi @v-monli-msft
I'm Ben's co-worker, actually we have a lookup column in this list called Store, and we want to filter all items which the Store.Id is equal to 12345 for example. this is the forumla we are using at the moment:

ClearCollect(ToolsCollection,Filter(Tools, Store.Id=12345))

Helpful resources

New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,707)