Skip to main content
Announcements
See why Qlik was named a Leader in the 2024 Gartner® Magic Quadrant™ for Data Integration Tools for the ninth year in a row: Get the report
cancel
Showing results for 
Search instead for 
Did you mean: 
dirk1955
Creator
Creator

Excluding values by appying a filter

Hi,

Normaly if you click on an item in a qlikview list, the list is filtered accordingly.

I wonder if it's possible to exclude data by clicking on an item in a list.

For example:

The data list contains :              

DataNr
A1
B2
C2
D2
E1
F2
G2
H1
I3
H1

The filterlist contains:

Filter
1
2
3

By clicking 1 in the filter list i want to exclude in the table list all the values with 1 in the Nr column.

Dirk

3 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

The set expression {1-$} excludes the current selection. Use it something like:

          Sum({1-$} Sales)

     or

          Sum({1-$<Status = {1}>} Sales)

Regards

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
dirk1955
Creator
Creator
Author

Hi,

Thanks for the explanation but since i'm quit new to qlikview i realy don't understand it.

Can you give me an example please?

In fact what i want is to exclude in the table (data list) al the values where Nr = 1 if i click on 1 in the filter list.

Thanks

Dirk

sujeetsingh
Master III
Master III

just paste a sample of your qvd...And then any one can exp[lain you and it will be easy to you to get good with it.