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: 
erric3210
Creator
Creator

P() Possible Function in Set Analysis Understanding

 

Hi Community,

Can anyone please explain me how P() function works inside Set Analysis.

The table I'm using:

Issue_No.3_Table.PNG

 

In 1st Expression I've used used minimum Date and used Distinct Dates. If you see, it is calculating minimum Date  but it is showing all dates available in the data. It should give output only for '44582'.

 

The 2nd expression is same as 1st expression, the only difference is that I've used Distinct Item_Name here instead of Distinct Dates and this expression is giving me correct result.

 

Can someone please explain me how it calculating the expression internally.

 

Issue_No.3.PNG

 

Regards,

Eric

 

Labels (3)
1 Reply
Lisa_P
Employee
Employee

Let me illustrate the concept ..

Lisa_P_0-1644964515928.png

Imagine you had a filter pane and selected a product (AAA Running Shoes), you would see that there are a number of possible customers who purchased those running shoes. The total sales of running shoes is 185.6k. But if you look at the total sales of all customers who purchased those shoes, the value is 18.63M.

Lisa_P_1-1644964700198.png