Dear community,
I'm trying to make an interactive map of the factory.
I have a map on the left, a gallery on the right.
In the gallery there are names and in which department (Afdeling) they work.
I have rectangle on the map, that i'm trying to be visible if i click on a specific row.
For example, i have clicked on Victor Van der Vinck, he works in the department 'QC labo'.
If i click on that row, the rectangle would be visible, if i click on an other row, it wouldn't be visible.
My gallery is called 'Namen_Opzoeken'
The column is called 'Afdeling'
The label in the gallery for 'Afdeling' is called 'Lbl_Afdeling'
So i thought i would work in the visible function of the rectangle with the following formula:
If(
IsMatch(Namen_Opzoeken.Selected.Afdeling, "QC Labo"),
true,
false
)
But it doesn't seem to work, there is no error, but if i click on a different row, nothing changes.
Anybody any idea why this doesn't work?
Or how to fix this? Or maybe an alternative solution?
Greetings Miguel