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

Super User
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
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 51 members 4,687 guests
Please welcome our newest community members: