Hello everyone,
I created an application in Power Power Apps with multiple screens.
One of them is a History screen. In this screen I used a Gallery control (with title and subtitle) to see all the items.
For the moment, we can see that the oldest item is the first one(on the top of the list). I want the opposite => the first item is the newest.
I don't have any filters on my gallery items because I want to se all the items ( I have only the name of my data source in the items property)
Is it a way to do what I want?
Solved! Go to Solution.
Hi @Aurelie
To do this, you would change the Items property of your gallery so that rather than refer to the data source, you would call SortByColumns and pass the data source and sort criteria.
https://docs.microsoft.com/en-gb/powerapps/maker/canvas-apps/functions/function-sort
Hi @Aurelie
To do this, you would change the Items property of your gallery so that rather than refer to the data source, you would call SortByColumns and pass the data source and sort criteria.
https://docs.microsoft.com/en-gb/powerapps/maker/canvas-apps/functions/function-sort
You can set the sort Icon's OnSelect Property to this
And then in items property of gallery you can sort by 'Created On' column of your data source rather than Title shown below.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
193 | |
45 | |
45 | |
43 | |
35 |
User | Count |
---|---|
270 | |
81 | |
80 | |
73 | |
69 |