Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count Distinct, Multiple Measures (Sum)?

Hi,


I have three products which I am trying to sum on a distinct ID number.

My current set analysis is:


COUNT ({$< Product_1 = {">0"}>}  DISTINCT ID)

There are two other products Product_2 & Product_3.

I have tried adding them together using comma separators, however this prints out the wrong number compared what is printed out trough my SQL code.

Help would be appreciated.

11 Replies
Not applicable
Author

Thanks, this was the correct one.

sasiparupudi1
Master III
Master III

Count({$<ID = {"=(PRODUCT_1 + PRODUCT_2 +PRODUCT_3) > 0"}>} DISTINCT ID)