Hi all,
As first field I have a LookUp Function that selects the country of the user respective to their user email.
LookUp('User Countries', UserMail = User().Email, UserCountry)
As a second step I've created a ComboBox. Up to now, the ComboBox always filtered one list.
Distinct(Filter('List', CountrySystem = CountryLabel.Text).Division, Division)
Now I've created different lists for the countries (Prices Indonesia, Prices Thailand) as I don't want that all User can access every lists. So I want that they can only filter the list respective to their country. I was thinking about doing this with an if formula but it's not working.
I've tried this:
Distinct(Filter(If(CountryLabel.Text = 'Indonesia', 'Prices Indonesia', 'Prices Thailand'), CountrySystem = CountryLabel.Text).Division, Division)
(I'm only using 2 Lists at the moment)
Anyone an idea how I can solve this?
Thank you!