Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Sort by newest entry in data table

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?

Super User III
Super User III


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.

Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!


Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (32,070)