Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
scotly-victor
Creator II
Creator II

Show Dimension as Title Name

Hi Everyone,

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?

12 Replies
Anonymous
Not applicable

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.

Thanks,

scotly-victor
Creator II
Creator II
Author

Sorry ,it did not work

Not applicable

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)

Thanks,

Anonymous
Not applicable

Anonymous
Not applicable

Hi

Could you not just use the dimension name in the title bar like ='Chart title = '&[DimensionName]

lakshmikandh
Specialist II
Specialist II

Sorry, Currently this option of extracting the Dimension name not available in Qlik sense.

ogster1974
Partner - Master II
Partner - Master II

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

Andy

lakshmikandh
Specialist II
Specialist II

This is not working in Chart Labels,Can you attach a sample Qvf where this expression is working ?