cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bibhash_21
Level: Powered On

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
ProNewbie
Level: Powered On

Re: How to apply filtering on more then 2000 items

Dual Super User
Dual Super User

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

Re: How to apply filtering on more then 2000 items

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 397 members 6,741 guests
Please welcome our newest community members: