cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SalTJX10182018
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
mdevaney
Super User III
Super User III

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
mdevaney
Super User III
Super User III

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

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

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (47,890)