My current formula for Gallery1 reads:
Distinct(SortByColumns(Filter('TABLE', StartsWith(Department, TextSearchBox1.Text)), "Title", If(SortDescending1, Descending, Ascending)), Title)
So this populates my Gallery Titles with the Departments for all users and because each user has a department attached to them I use "Distinct" to only get one of each department in the Gallery.
I however (and after doing some searching) cannot find how to sort by the List order. I don't want Alphabetical I just want the Gallery to populate as the list has the Departments.
Any help would be appreciated.
Solved! Go to Solution.
If this is so then it should be populating the Gallery as I want it as my Department column is in the order I want it to display, however it is sorting the Gallery by alphabetical order instead.
Find your favorite faces from the community presenting at the Power Platform Community Conference!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.
Features releasing from October 2020 through March 2021