cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

How to retrieve last 10 items from 1000 items SharePoint list

Hi,

I have more than 1000 items on the SP list, and I want only retrieve the last 10 items from that list. Any suggestion? Any Filters, Operators, Collection I used, none of them giving me the result.  I don't want to change app delegation Settings to more than 500 items. 

 

Thanks,

-Sal

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: How to retrieve last 10 items from 1000 items SharePoint list

Here’s what I would suggest. It works because SORT is a delegable function and we only need the first 10 records it returns.

FirstN(Sort(your_datasource_name,ID,Descending),10)

—-
Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up!

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: How to retrieve last 10 items from 1000 items SharePoint list

Here’s what I would suggest. It works because SORT is a delegable function and we only need the first 10 records it returns.

FirstN(Sort(your_datasource_name,ID,Descending),10)

—-
Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up!

View solution in original post

Highlighted
Helper I
Helper I

Re: How to retrieve last 10 items from 1000 items SharePoint list

that worked like a charm. I was wasting my time to invent some new formula.

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (7,164)