cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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: Powered On

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: Powered On

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: Powered On

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: Powered On

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: Powered On

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.