Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

New Contributor

How can i dynamically select the field in Qlikmaps using 'If' condition

I am using the QlikMaps to generate territory boundaries in Qlik Sense. Now to associate the field with map, i select a particular field 'Zone Name' from featured layer option in QlikMaps. The map generates successfully.

However, i have a different requirement where based on a certain selection i want the field in QlikMaps to change dynamically. To achieve this, i tried writing an 'If' condition but it doesn't work. Below is the condition i tried


If(Field = 'Zone', [Zone Name],

     If(Field = 'Region', [Region Name], [Area Name]))


Can anyone guide me how to modify the 'If' condition to make it work in QlikMaps or if there is any other way to achieve this functionality?