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

Help with Large Sharepoint List

I have a Sharepoint list with 1000's of entries over various years. I want to display only the latest 10 entries, based on a filter using a value from a choice column. When filtering this way, I still only recieve the first 500 entries which were made in the list years back. Any help on the filtering? My current syntax used is:

 

Sort(Filter(Announcements,'Announcement Picture'.Value="SHERQ" || 'Announcement Picture'.Value="Alert"),Modified,Descending)

 

List Name: Announcements

Filter Choice Column: Announcement Picture

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Vasii
Level 8

Re: Help with Large Sharepoint List

Did you check the advanced settings of powerapps?

advanced settings.PNG

 

You can change this to a max of 2000 i think, i don't know if that's enough for your list.

 

Best regards Vasii

 

xzDan
Level 8

Re: Help with Large Sharepoint List

Personally I do not reccomend doing that.

I had this issue also and IMO it is better to first sortbycolumns on modified date (which is delegable), and then filter it.

This removes the need for importing 2000 rows etc.

6 REPLIES 6
Vasii
Level 8

Re: Help with Large Sharepoint List

Hello @gmaasz,

 

you can display the latest 10 entries with the function LastN() like

 

LastN(Sort(Filter(Announcements,'Announcement Picture'.Value="SHERQ" || 'Announcement Picture'.Value="Alert"),Modified,Descending),10)

If you have a "Descanding" sort, than you should use FirstN instead of LastN i think. x)

Hope this helps you Smiley Happy

 

Best regards

Vasii

gmaasz
Level: Powered On

Re: Help with Large Sharepoint List

Thanks  @Vasii

I tried it, but it only shows the last 10 entries of the 500 items retrieved. Not the last 10 entries of the entire list. Still no luck

Vasii
Level 8

Re: Help with Large Sharepoint List

Did you check the advanced settings of powerapps?

advanced settings.PNG

 

You can change this to a max of 2000 i think, i don't know if that's enough for your list.

 

Best regards Vasii

 

gmaasz
Level: Powered On

Re: Help with Large Sharepoint List

Brilliant Thanks

xzDan
Level 8

Re: Help with Large Sharepoint List

Personally I do not reccomend doing that.

I had this issue also and IMO it is better to first sortbycolumns on modified date (which is delegable), and then filter it.

This removes the need for importing 2000 rows etc.

gmaasz
Level: Powered On

Re: Help with Large Sharepoint List

@xzDan this is good thanks. I tried it and it works.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

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

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 36 members 4,047 guests
Please welcome our newest community members: