Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
scotly-victor
Not applicable

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
lakshmikandh
Not applicable

Re: Show Dimension as Title Name

singhpooja
Not applicable

Re: Show Dimension as Title Name

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
Not applicable

Re: Show Dimension as Title Name

Sorry ,it did not work

Not applicable

Re: Show Dimension as Title 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)

Thanks,

qlikviewchintan
Not applicable

Re: Show Dimension as Title Name

briancopple
Not applicable

Re: Show Dimension as Title Name

Hi

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

lakshmikandh
Not applicable

Re: Show Dimension as Title Name

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

ogster1974
Not applicable

Re: Show Dimension as Title Name

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
Not applicable

Re: Show Dimension as Title Name

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