Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

ali_hijazi
Honored Contributor

dynamic title in qlik sense bar chart

Hello

I'm new to Qlik Sense

I added to a bar chart several alternate measures

how can I give a title to the chart depending on the selected alternative measure?

please advise

9 Replies
reddys310
Honored Contributor II

Re: dynamic title in qlik sense bar chart

Hi Ali,

For dynamic titles ,you can write expressions under Appearance->general-> title.

I am not sure that can expression can help you with this, but if you can have an extension, you can do it for sure.

Thanks,

Sangram Reddy.

ali_hijazi
Honored Contributor

Re: dynamic title in qlik sense bar chart

I know this but how to get the selected alternative measure; that's the question

edelorme
New Contributor II

Re: dynamic title in qlik sense bar chart

Hi. I would also be interested in other's feedback on this. Other then creating an inline table and using conditional logic to select the dimensions (Can we change the dimension of a bar chart with a parameter in qlik sense?) has anyone implemented a different approach?

rodman2211
New Contributor

Re: dynamic title in qlik sense bar chart

I haven't been able how to solve this one myself either.

Anyone? again the idea is that the title (even after a given starting text) on a chart gets automatically adjusted to the alternative measures when selecting them.

shraddha_g
Honored Contributor III

Re: dynamic title in qlik sense bar chart

You can not do this for alternate measure or dimension.

but if it is necessary then you can create buttons with variable and then use that variable value in title.

ogster1974
Honored Contributor II

Re: dynamic title in qlik sense bar chart

Yes using a variable extension like QSVariable you can.  See working example of this approach in attached App.  Need to install QSVariable extension for it to work.

Hope this helps.

Andy

vanand3535
Contributor

Re: dynamic title in qlik sense bar chart

How to dynamically change the title:-

steps:-

Appereances---> General-------->Title---------->Expression

Title:-

='Sales per Category' & Sum(Sales)

Subtitle:-

='Overall sales' &  Num( Avg(Sales),'#,0')

Footer:-

='Number of Customers' &  Count(Customer)

Note:- I have shown the syntax how to dynamicaaly change titles, sub titles, footer

Notes:-

In my graph:-

Measure--- Sales(Sum)

DImension----Category

vanand3535
Contributor

Re: dynamic title in qlik sense bar chart

Here I have attached the image where you have to write the syntax to dynamically change the titles, subtitles, footer

Screenshot (520).png

Chanty4u
Esteemed Contributor III

Re: dynamic title in qlik sense bar chart

i think recently added this feature in Qliksense

search youtube there is simple example explained by mike.

vivek provided as it is.

Community Browser