Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Schmidt_Michael
Contributor
Contributor

Use chart title within Formula als Variable

Hi,

I want to integrate the chart title into the formula of my chart as a kind of variable.

The idea is to create a predefined chart which content depends on its chart name.

The overall idea is to include all the charts into on chart storage to be able to switch through the diagrams easily.

Thank you very much in advance,

Kind regards, Michael

 

 

Labels (2)
3 Replies
Or
MVP
MVP

This can't be done. You'll have to do it the other way around - use a variable or selector field to define which chart to show, and set the title based on that variable or selector field.

abhijitnalekar
Specialist II
Specialist II

Hi,

At this moment we cant change the chart header dynamically based on dimensions.

there is one workaround but for that, we need to add an input selector from Qlik bundle extension and set variable. use the same variable as a dimension for the graph. 

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
Sammy_AK
Creator II
Creator II

you can achieve this using a container, variable input/ button, variable and master visualization. 

Create all the charts as per your requirement in master visualization.

add a qliksense container to the canvas and add the master visualization components in to qliksense container

create a variable and link this variable to show and hide option in the container and you can define a condition. lets for example you have a bar-chart, pie chart and combo chart to show. 

for bar chart you need to enter a condition: if($(vShow) = 1,1,0), similarly for pie chart you enter a condition if($(vShow) =2,1,0) and combo chart if($(vShow) =3,1,0)

Next you need to setup a buttons lets say 3 buttons, and label them as 

button1: Barchart, Button2: Pie chart, Button3: combo chart or any name as per your requirement. 

to each of these buttons you need to assign a variable value when you click on the button, you can do that in Action and navigation tab and choose action and select value as "Set Variable" 

here, on selection of "Set Variable" you need to enter the variable (i.e. vShow) and for button 1 set value as 1, button 2, value as 2 and button 3 value as 3. 

This trigger will update the variable and based on the container show and hide condition, variable value changes and chart is displayed respectively...