Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Highlighted
Not applicable

Get active dimension from alternate dimension

Hi,

I have a bar chart in Qlik Sense with alternate dimensions configured. I want to change the chart title based on the selected dimension. Is there a way to get the active dimension of the chart so that it can be used in title ?

Thanks,

Deepika

3 Replies
omarbensalem
Esteemed Contributor

Re: Get active dimension from alternate dimension

What I would do is :

Creating an inline table:

For example:

Load * inline [

Dimensions

Article

Customer

]

;

Now, In my presentation,

I'll have a selection field: Dimensions

and in my chrt, as a dimension:

If(Dimensions='Article', "My Article Dimension",

if(Dimensions='Customer', "My Customer Dimension"))

and as a title:

='Dimension is : '&Dimensions:

Result:

Capture.PNG

Capture.PNG

mjamesking
Contributor

Re: Get active dimension from alternate dimension

Omar,

What extension are you using for your Radio buttons?

Matt

dwforest
Valued Contributor

Re: Get active dimension from alternate dimension

Not sure what Omar used, but qsVariable does buttons, select list and sliders