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: 
castro88
Partner - Contributor II
Partner - Contributor II

Set Analysis exclude selection help

Hi to all,

I'm new to QlikSense and I have a little problem in writing a set analysis.

What I'm trying to do is write a set analysis inside a pivot table (as a measure), which displays the sales of all the products of the customers, excluding the products selected by the user.


In my pivot table I have Product and Costumer as a dimension.


Can someone explain how to do it?


Thanks!!!

5 Replies
sunny_talwar
MVP
MVP

May be this

{<Customer = p(Customer), Product = e(Product)>}

castro88
Partner - Contributor II
Partner - Contributor II
Author

I tried, but still wont work.

I wrote: sum({<Customer = p(Customer ), Product = e(Product )>}sales)

sunny_talwar
MVP
MVP

With selection in a product, it seems to work for me

Capture.PNG

Where the raw data looked like this

Capture.PNG

So, we are seeing Customer A  because he is associated with the Product and we are seeing all products except the selected one... is this not what you wanted?

castro88
Partner - Contributor II
Partner - Contributor II
Author

what you showed me is what I want, but I do not know why on QlikSense it does not seem to work.


Anyway thanks for the answer

sunny_talwar
MVP
MVP

Here is a Qlik Sense sample

Capture.PNG