I'm working on an app that displays 2 linked data tables. I would like the newest entry to appear on top, rather than them having to scroll down to see it. As I understand, using a formula on excel wont work, as powerapps doesn't support that. Is there a way to do this in app?
You can utilize the Sort and SortByColumns functions to sort your lists in the Items property formula of your controls.
Depending on the column that determines the most recent record, you would sort by that.
For example, if you have a "created date" column in your data, then you can set your Items property similar to the folowing:
SortByColumns(yourDataSource, "CreatedDate", Descending)
This will show the order of created items with the most recent on the top.
I hope this is helpful for you.
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
252 | |
236 | |
82 | |
36 | |
27 |
User | Count |
---|---|
317 | |
265 | |
122 | |
68 | |
44 |