cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

How to apply filtering on more then 2000 items

Hello Everyone,   I have a sharepoint list that have 5000 items. How to get items 7 days before created and items created by loged in user in PowerApps. I used Filter(SPList, Created>=DateAdd(Now(),-7,Days), Author.Email=User().Email) but getting Delegetion warning and it is not working. I also used Collect, ClearCollection function but it getting only top 2000 items. So IF it is posible to applied filter to more then 2000 items pls suggest me.   Thanks

3 REPLIES 3
Highlighted
Advocate II
Advocate II

Re: How to apply filtering on more then 2000 items

Highlighted
Dual Super User II
Dual Super User II

Re: How to apply filtering on more then 2000 items

Assuming that the Author filter will get you below the limit you can do this by nesting the filters for your datasource. The inner filter on the Author email is delegable and if that gets you below the limit then the outer filter on Created will work even though its not delegable.

Filter(Filter(SPList,  Author.Email=User().Email) ,Created>=DateAdd(Now(),-7,Days))


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Highlighted
Community Support
Community Support

Re: How to apply filtering on more then 2000 items

Helpful resources

Announcements
secondImage

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

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,526)