Discussion board where members can get started with Qlik Sense.
I want to show dimensionField as a Title in Bar Chart and if change the alternate dimension the alternate dimension should be Shown on title.
Can anybody Help?
Go to Expression---> Label---> GetObjectField(1)---> Apply
Here if you will give GetObjectField(0)--that it will take first dimension name and for GetObjectField(1) , 2nd dimension name.
Goto Expression--> Label--> GetObjectField(0),
Here GetObjectField(0) will give first dimension name of Cart and GetObjectField(1) will give name of second dimension.
For giving name of both field you can apply following formula
=GetObjectField(0) &' &' & GetObjectField(1)
Using a dimension in a title would not be very practical as there is no control of the length of the dimension value you would have to insert.
An alternative way of creating a dynamic title and chart would be through the use of a variable. See my attached example. I used an extension qsVariable to bring in the buttons to set my variables then used the variables to set my dimensions and measures.
Hope this helps