Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Activate and deactivate expressions in line chart

Hi everyone,

I have created a line chart with several different expressions. For data analysis purposes I would like to provide an option on the worksheet to enable and disable specific expressions so that the viewer can see what they need to see without clutter. Is there a way to do this in QlikView?

Thank you for the help.

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

1) Define a variable (in the script) -> LET myVar = 1;

2) add a button, in triggers add a new trigger -> external -> set variable

3) write your variable (without 😃 and in the bottom textbox write: if(myVar=1,2,1)

4) in your expression there is a check boc "Conditional", check and write : myVar=1

Hope it helps

View solution in original post

4 Replies
alexandros17
Partner - Champion III
Partner - Champion III

1) Define a variable (in the script) -> LET myVar = 1;

2) add a button, in triggers add a new trigger -> external -> set variable

3) write your variable (without 😃 and in the bottom textbox write: if(myVar=1,2,1)

4) in your expression there is a check boc "Conditional", check and write : myVar=1

Hope it helps

Not applicable
Author

Exactly what I wanted. Thank you.

Colin-Albert

You can drag one expression over another to create a cyclic expression group.

Then the users can click in the circular arrow to switch from one expression to another

Not applicable
Author

Actually this only seems to work the first time around and then I can't get the expression to re-appear in the chart. Any idea why this is happening?