I have a Gallery on a collection with a working search str that limits the results in based on StartsWith function.
My problem is that the column I am searching on is distinct (lets say list of ZIP Codes), but once it matches to a record, the whole Gallery display is just a list of the same row repeatedly
so if you search for 90210 the data table returns 12 rows with 90210..
I guess that you are using Distinct inside the Filter function, that's the reason why it returns multiple duplicated record. You should use Filter inside the Distinct functions. But notice that Distinct returns a one-column table that contains the results, with duplicate values removed. That means that in Distinct(Filter(Table,formula),ColumnName) only "ColumnName" column would return.
I just create the below collection:
And this formula works:
Distinct(Filter(C, StartsWith(Name,TextInput1.Text)) ,Name)
Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.
Featuring samples like Return to the Workplace and Emergency Response Applications
Features releasing from October 2020 through March 2021