Announcements
Hello All,
Automatically it should show the latest one as per the date and time irrespective of URN and modified by. Please advice how to do this.
Items in the list are
1. URN
2. Date and Time
3. Modified By
Hi @nagaraj007
You should be able to use the SortByColumns function to do this.
https://docs.microsoft.com/en-gb/powerapps/maker/canvas-apps/functions/function-sort
The formula you would use for the Items property of your gallery would look like this:
SortByColumns( YourList, "DateColumn", SortOrder.Descending )
Hello,
I used the same formula as per your advise, however the URN got changed to SAMPLE VALUE everywhere. How to get back the original number in place of Sample Value.
Please find the screen snip for your reference.
Hi @nagaraj007 ,
SortbyColumn function just returns the sorted table, doesn't modify the data.
Please ensure the Text property URN label in Gallery is ThisItem.URN
1. Click URN label in Gallery
2. set Text property to ThisItem.URN
Sik
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 405 Super User 2026 Season 2
Mohsin Ali 368
WarrenBelz 244 Most Valuable Professional