Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Sahal
Creator II
Creator II

Exclude values depending on windows checkboxes

Hi,

In my right listbox i have a windows checkbox and on the left have a chart.

The same field is on both objects and what i would like to do is when i check the listbox values(names) from the listbox the value of the left chart would be exluded.

So if i would select Aaron Möller, Aaron Torin from the listbox then the chart would exclude those 2 values and only show all the other.

Is this possible to do with out manually right click on the left chart and choose "exlude all values" because that is not what i would like to do.

Capture.PNG

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Change the expression in the left chart to include {<Name=E(Name)>}. So for example count(Name) would become count({<Name=E(Name)>}Name).


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
sunny_talwar

Try this as your set analysis within the expression you are using:

{<Name = e(Name)>}

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Change the expression in the left chart to include {<Name=E(Name)>}. So for example count(Name) would become count({<Name=E(Name)>}Name).


talk is cheap, supply exceeds demand
yura_ratu
Partner - Creator II
Partner - Creator II

Try {1-$}  set analysis in expression

For instance: Sum({1-$} [Sales]). It will exclude current selection from all dataset

Sahal
Creator II
Creator II
Author

Thank you Guys this is great.

There are different approaches to this and all was helpful.

I will mark the one i used.

Thank you.