Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
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 (2)
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.