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
Community Support

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 Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,377)