Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
pal25
Contributor III
Contributor III

Is there a way to show / hide a chart in a sheet with a button ?

Is there a way i can show or hide a chart in a particular sheet with a button ?

1 Solution

Accepted Solutions
Andrei_Cusnir
Specialist
Specialist

Hello,

 

You can add a calculation condition to the chart and use Button with variable. Here is an example:

 

1. Create a Table chart

 

2. Create a variable

 

3. Create a Button with configurations:

 

4. In Table chart go to Add-ons > Data handling > Calculation condition and set the value to: vHide='false'

 

5. Now when you click on the button it will check the value in the variable and will show or hide the data in the visualization.

 

NOTE: Natively hiding the entire chart is not yet supported as it will leave a blank space on the sheet. You can create an Container object with multiple visualizations and have the Tab disappeared when the button is clicked. This will leave you with less visualizations, rather than with empty blank spot. But if you want to hide the entire object after all, then you can submit a feature request [1].

 

Clicked once:

 

Clicked twice:

 

 

I hope that this information was helpful. In case I have misunderstood the use case scenario, please elaborate in details by providing additional information. However, if it has helped you resolve the issue, addressed your concerns or at least pointed you in the right direction, please mark it as Accepted Solution to give further visibility to other community members. 
 

---

[1] https://community.qlik.com/t5/Knowledge-Base/How-To-Submit-Feature-Requests-For-Qlik-Products/ta-p/1...

Help users find answers! Don't forget to mark a solution that worked for you! 🙂

View solution in original post

1 Reply
Andrei_Cusnir
Specialist
Specialist

Hello,

 

You can add a calculation condition to the chart and use Button with variable. Here is an example:

 

1. Create a Table chart

 

2. Create a variable

 

3. Create a Button with configurations:

 

4. In Table chart go to Add-ons > Data handling > Calculation condition and set the value to: vHide='false'

 

5. Now when you click on the button it will check the value in the variable and will show or hide the data in the visualization.

 

NOTE: Natively hiding the entire chart is not yet supported as it will leave a blank space on the sheet. You can create an Container object with multiple visualizations and have the Tab disappeared when the button is clicked. This will leave you with less visualizations, rather than with empty blank spot. But if you want to hide the entire object after all, then you can submit a feature request [1].

 

Clicked once:

 

Clicked twice:

 

 

I hope that this information was helpful. In case I have misunderstood the use case scenario, please elaborate in details by providing additional information. However, if it has helped you resolve the issue, addressed your concerns or at least pointed you in the right direction, please mark it as Accepted Solution to give further visibility to other community members. 
 

---

[1] https://community.qlik.com/t5/Knowledge-Base/How-To-Submit-Feature-Requests-For-Qlik-Products/ta-p/1...

Help users find answers! Don't forget to mark a solution that worked for you! 🙂