Hey guys,
im really new to this and i have no knowledge in codeing.
My App Gallery contains Employee Name and Date. When i click on the Sorting Button nothing happens..
OnSelect:
UpdateContext({SortDescending1: !SortDescending1})
tooltip:
If(SortDescending1; "Liste in umgekehrter alphabetischer Reihenfolge sortieren"; "Liste alphabetisch sortieren")
Can you help me to fix it? I want it to sort after Date. My list is based on sharepointOnline list.
Thanks!
Solved! Go to Solution.
Consider this;
Sort(Datasource, DateColumn,
If(SortDescending1, Ascending, Descending))
If you have issues, share the code on the Items property of the Gallery
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Consider this;
Sort(Datasource, DateColumn,
If(SortDescending1, Ascending, Descending))
If you have issues, share the code on the Items property of the Gallery
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
sorry for the late response.
I got this code:
onselect:
UpdateContext({SortDescending1: !SortDescending1})
tooltip:
If(SortDescending1; "Liste in umgekehrter alphabetischer Reihenfolge sortieren"; "Liste alphabetisch sortieren")
In my Gallery it shows Collum"Mitarbeiter" "Datum" and "Bemerkung". I want to sort for "Datum" = Date.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
195 | |
67 | |
46 | |
41 | |
27 |
User | Count |
---|---|
257 | |
119 | |
86 | |
84 | |
81 |