Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Dynamic chart naming based on selected measure

I have a bar chart with the option to select between multiple alternative measures and dimensions.

I want to change the chart name based on the measure and dimension I select. Is it possible?

9 Replies
rittermd
Master
Master

You have the ability to create an expression for your chart title.

Try using this in your expression:

GetCurrentField([group name])

OmarBenSalem
Partner - Champion II
Partner - Champion II

Yes , it is possible but not with Alternative measures; instead :

1) create an inline table as follow:

Dimensions:

load * inline [

Dimension, DimID

Dim1, 1

Dim2, 2

];

2) add this newly created Dimension field as a filter pane in ur sheet

3) change ur dimension in your chart, from al-ternative dimensions to:

if(DimID=1, YourFirstDimension, YourSecondDimension)

with that, based on the selections u make in the Dimension field, one of your Actual dimensions will be the shown one in your chart.

4) In the title, :

'Measure by '&Dimension


The same logic can be replicated with your Alternative Measures.

OmarBenSalem
Partner - Champion II
Partner - Champion II

That's possible when u create an hiearchic dimension, isn't it?

agigliotti
MVP
MVP

I guess it's not possible natively.

take a look here https://qlikcommunity.qliktech.com/thread/259990

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
Anonymous
Not applicable
Author

What is 'group name' here?

Anonymous
Not applicable
Author

That wouldn't work if I'm using the normal Alternative Dimensions feature for charts, right?

OmarBenSalem
Partner - Champion II
Partner - Champion II

Nope.. u'll have to create ur own dimensions/measures to select

passionate
Specialist
Specialist

How do you switch between Dimension or Measure?

Is it via Cyclic group?

DevelopCal
Contributor III
Contributor III

Perfect! thank you!