cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NigelP
Kudo Kingpin
Kudo Kingpin

Getting The Last "n" itemss in a very big list

Hi

 

I have a very big list >> 2000 items so delegation is a problem.

 

How can I get the last "n" items in a list where "n" is a number of say a couple of hundred ?

 

Or can I get all of the records added in the last say 90 Days ?

 

Thanks

 

Nigel

1 ACCEPTED SOLUTION

Accepted Solutions
Drrickryp
Super User
Super User

Sort the list by date descending then take the FirstN. Sort is delegatable and as long as you are not retrieving more than 2k items then FirstN() should work fine.

View solution in original post

1 REPLY 1
Drrickryp
Super User
Super User

Sort the list by date descending then take the FirstN. Sort is delegatable and as long as you are not retrieving more than 2k items then FirstN() should work fine.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,634)