My List has employees and their departments and other information.
Each employee may be part of the same department, therefore I use distinct to return only one result for each department. I want the Gallery to display the Departments in the same order that is in the List.
I currently have this Formula:
Distinct(Filter('SharepointList', StartsWith(Departments.Value, TextSearchBox1.Text)),Title)
This formula works fine however it returns the departments with One department at the top that is out of the order. The rest are in order.
I also have a ! on the items which states the "startswith" part of the formula may not work on large data sets <--- any other suggestions on this part.
The text value is: ThisItem.Result.
Help would be appreciated
Thanks in advance!