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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
soumroy7
Contributor II
Contributor II

Dynamic Subtitle

Hi,

I am currently using a bar chart with 3 alternate measures and one dimension. In my chart subtitle I am currently using a variable $(vScaleMonthYear)& ' ' & $(vScaleformat) & $(vCurrencySwitch) which is toggled via filter selections MonthYear, Unit(m/k) & Currency Switch(EUR/LC)

Output is like Nov2019 mEUR.

New requirement is to hide the mEuro part while showing 2 measures.

I tried the below but doesn't seem to work.

=If(GetObjectMeasure()='MeasureA',$(vScaleMonthYear),
   If(GetObjectMeasure()='MeasureB',$(vScaleMonthYear),
$(vScaleMonthYear)& ' ' & $(vScaleformat) & $(vCurrencySwitch)
 )
)

Can anyone help in this?

Labels (1)
1 Solution

Accepted Solutions
gourpros
Partner - Contributor II
Partner - Contributor II

Sorry you cannot use this in title or sub title, it's a chart function, check documentation.

View solution in original post

1 Reply
gourpros
Partner - Contributor II
Partner - Contributor II

Sorry you cannot use this in title or sub title, it's a chart function, check documentation.