Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
IMPORTANT: Upcoming LEF Database Maintenance, Oct. 3rd - SEE DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
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
Highlighted
Partner
Partner

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.
Highlighted
Contributor III
Contributor III

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

Highlighted
Partner
Partner

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.