cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LeonieWilliams
Frequent Visitor

sort gallery item list by most recently created first

I have a very simple app that records a date entry but the gallery list view sorts by the oldest items first and I can't work out how to change it.  Someone did mention about a gallery list formula, but I can't for the life of me find that.

 

2 screenshots showing the date entry field and the gallery list view which surfaces the date field and a lookup field below it - I want to see the most recently created items first, not last.

 

The dates here are manually entered, but they will be done on a daily basis so by seeing the latest entries first they will end up in date order - this is just sample data at the moment.

Screen Shot 2018-05-30 at 4.16.14 PM.jpgScreen Shot 2018-05-30 at 4.16.04 PM.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
DavesTechTips
Super User
Super User

Hi Leonie.

 

In the items property for the gallery, you should be able to just specify

Sort( DataSourceName , DataFieldName , Ascending )

Please let me know if you don't come right.

View solution in original post

2 REPLIES 2
DavesTechTips
Super User
Super User

Hi Leonie.

 

In the items property for the gallery, you should be able to just specify

Sort( DataSourceName , DataFieldName , Ascending )

Please let me know if you don't come right.

View solution in original post

So simple! That worked, thank you.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,018)