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
Solved! Go to Solution.
Did you check the advanced settings of powerapps?
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
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.
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
Best regards
Vasii
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
Did you check the advanced settings of powerapps?
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
Brilliant Thanks
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.
@xzDan this is good thanks. I tried it and it works.