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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Show excluded data

Hi all.

I have 3 tables:
- Customers
ABC,
Nasa,
T-Airlines
- Products
Laptop,
PC,
Mouse
- Sales

In a listbox i want to select one Product, and the result should be a tablebox with the Customers who don't buyed this selected Product.

In Sales (Customer, Product, Quantity) i have the following records:
ABC, Laptop, 1
Nasa, Mouse, 2

So I select "Mouse" and the content of my tablebox should be:
ABC
T-Airlines

Is this possible?
Maybe someone could help me....

Thanks
Ivo.

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

This is what I was looking for.

Thanks a lot.
Ivo.

View solution in original post

3 Replies
Not applicable
Author

I think u can use set analysis in order to achieve this



count({1-$} Customer)

Use this expression in straight table and then hide that expression so that tere is only one field Customer



Not applicable
Author

Create the following expression in your table


=sum({1-$} Sales)


Returns sales for everything excluded by the current selection.

Not applicable
Author

This is what I was looking for.

Thanks a lot.
Ivo.