Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
datalakeyu
Valued Contributor

How to create map legend at Qlik Sense?

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!

1 Solution

Accepted Solutions
datalakeyu
Valued Contributor

Re: How to create map legend at Qlik Sense?

We finally get a walk around to use Qlik table, and set different background color of table.

6 Replies
Not applicable

Re: How to create map legend at Qlik Sense?

Hi,

It's not possible to place objects on top of each other in Qlik Sense.

A nice way to handle legends is to use the "silent legend" approach, very eloquently put in this article Use of a Silent Legend by Jennell McIntire‌.

Thanks,

Patric Nordström, Idevio

Try live demos of IdevioMaps for Qlik Sense at QlikMarket, more info at bi.idevio.com.

datalakeyu
Valued Contributor

Re: How to create map legend at Qlik Sense?

In other BI tool, like Tableau, we can set a layer as float to overlay two layers. Hopefully Qlik Sense has similar feature in the future.

reddys310
Honored Contributor II

Re: How to create map legend at Qlik Sense?

Hi Datalakeyu,

As you must be knowing, tableau is not responsive enough to adjust itself to different screen resolutions. I have intensively worked on tableau and I know hen the pit falls are.

I really think qlik not allowing the enduser to overlay objects is a good thing as it behaves more responsive and resolution friendly. As a work around, you can always go with an extension which can implement what you are looking for.

Thanks,

Sangram Reddy.

datalakeyu
Valued Contributor

Re: How to create map legend at Qlik Sense?

Sangram, thanks for your help!

Is there any free license extension for map legend?

Or do the Qlik users have to implement the extension themselves?

reddys310
Honored Contributor II

Re: How to create map legend at Qlik Sense?

Hi Haikuo,

I am not sure if there is anything out there already.

May be building one which fit your requirement is the best workaround.

Thanks,

Sangram.

datalakeyu
Valued Contributor

Re: How to create map legend at Qlik Sense?

We finally get a walk around to use Qlik table, and set different background color of table.