Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Adding an expression to Chart with a button???

I have a chart that compares sales values for two locations. However for comparison I want to be able to add another expression that will show a total sales value for london, I only want to be able to see this if you click a button tho?? Is there a way to do this

I think maybe with the show value function and the use of a Variable, but I have no idea how to do this? any ideas please

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

In the straight table, go to ->Properties->Presentation , select the column you want, and in the 'Conditional' text box, enter the variable name

Regards,

Anju

View solution in original post

4 Replies
Gysbert_Wassenaar

Use the button to set a variable and use the variable in the conditional display expression of the expression (QV11 needed though). See attached qvw.


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks!

so ive created my variable, and created a button that sets the value of my variable to 1. what conditional expression do I use tho??

Not applicable
Author

Hi,

In the straight table, go to ->Properties->Presentation , select the column you want, and in the 'Conditional' text box, enter the variable name

Regards,

Anju

Not applicable
Author

Thanks all working