Qlik Community

Qlik Sense App Development

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

Highlighted
madhulatha
New Contributor

How to find the active dimension from alternate dimension selected

I am working on bar chart and would like to know the dimension selected

4 Replies
MVP & Luminary
MVP & Luminary

Re: How to find the active dimension from alternate dimension selected

Use the function GetObjectDimension().  ie GetObjectDimension(0).

-Rob

madhulatha
New Contributor

Re: How to find the active dimension from alternate dimension selected

Rob,

I have the GetObjectDimension(0) included in my title and if i change the dimension will the title pick up the dimension name which is selected. I am looking for this functionality even with out applying any filter on the dimension, as soon as you select the dimension from drop down i wanted the dimension name.

Chart with alternate dimensions.jpg

Thanks,

Madhu

madhulatha
New Contributor

Re: How to find the active dimension from alternate dimension selected

I tested and it is not working. Am i doing anything worng

MVP & Luminary
MVP & Luminary

Re: How to find the active dimension from alternate dimension selected

GetObjectDimension() does not work on chart level properties like Title.  It only seems to work on row-by-row stuff like Measures or Color expressions.

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

http://www.easyqlik.com