6 Replies Latest reply: Oct 13, 2016 10:13 AM by Haikuo Yu RSS

    How to create map legend at Qlik Sense?

    Haikuo Yu

      I have a table with 3 columns, state, region, and sale_value. I need to show the map with states. I also need to set the region of the map with different color.

      I use state as my dimension, and I created map color with expression:

      If ( Region= 'west', red(),

            If ( Region = 'east', green(),

                 (

                  if ( Region = 'south', blue(),

                      if (Region = 'north', yellow(), cyan())

                     )

                 )

            )

      )

      How could I create an interactive legend of region as the following?

      legend.JPG

      I also need to put the legend on top of the map.

      Any suggestion is appreciated!