The Filter uses the following formula as it’s Items property:
Items: SortByColumns(Distinct(colName,Last_Name),"Result")
The Distinct function evaluates each Record of a Collection and returns a one-Column Table of the results with duplicate values removed. The name of the column is called Result. With this App, the Result Column contains the distinct last names from the Collection
The SortByColumns function is then used to alphbetically sort the Results Column. The output of this formula can be seen in the Gallery in the above animation
There are a couple of other Dropdown properties that also need to be set
AllowEmptySection: true
Default: ""
Setting the AllowEmptySection property to true means that option is added to the Dropdown. Setting the Default property to “” ensures the default Dropdown setting is blank both when the App first loads and when it is Reset