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

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
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
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

SalTJX10182018
Level: Powered On

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
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 (Last 30 Days)
Users online (4,476)