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: 
qlikmark1990
Contributor III
Contributor III

Hide and unhide expressions in graph

I have a line chart in QLikSense with 4 expressions and 4 lines. I tried to make a listbox with the expressions to hide and unhide.

A part of the graph is :

1.png

The expressions and labels are :

2.png

3.pngI made an inline table with the expressions to put in the listbox. I tried both to insert the labels of the graph in this table and the expressions of the graph. When I select some of the expressions in the listbox, the graph doesn't change. I also tried with and without '=' in front of the expression. My listbox is :

4.png

Labels (3)
3 Replies
daanciorea
Partner - Contributor III
Partner - Contributor III

Hi,

Do you want to show only an expression? Or do you want to show only the expression that is selected into a field?

Dam.
qlikmark1990
Contributor III
Contributor III
Author

I'd like to show the line(s) belong the expression that is selected in the listbox.

daanciorea
Partner - Contributor III
Partner - Contributor III

OK.

In this case try this:
1. Create an Inline table like beelow table
Expresion:
Load * Inline [
NameField
Exp1
Exp2
Exp3
Exp4
];

2. For each expresion
=If(Index(NameField,'Exp1') = 1,(your expresion))

I hope this hrlp you.