I have a gallery in which I am showing data from a dropdown, when selecting an item from the dropdown the gallery is loaded with the corresponding data.
To display the data in the gallery I make use of the Items property in which I make use of the following formula:
Filter(
'Warehouse';
'RecordAssigment'.Id_record = Dropdown1.Selected.Result;
StartsWith(
'Description ';
TextInput1.Text
)
)
What I want to avoid is that repeated data is displayed in my gallery, the following is an example of the data list, I want to avoid showing repeated data such as "Germany" or "Spain".
Description: "United Kingdom",
Description: "Germany",
Description: "Spain",
Description: "Germany",
Description: "Spain",
Description: "Germany"
I tried adding the Distinct function to the Items property of the Dropdown, but it didn't work.
Distinct('Warehouse';'RecordAssigment'.Id_record)
Someone knows that another function I can use to prevent the data from repeating.