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: 
tanjavarwijk
Contributor III
Contributor III

Set Analysis question

Why gives these 2 rows not the same answer ?

Count(DISTINCT(if((Quantity<>0 and CYFlag=1 and [Shipping Agent Code]<>'KASSA'),Document_Nr)))

Count({$<CYFlag={1},[Shipping Agent Code]-={'KASSA'},Quantity-={0}>}DISTINCT(Document_Nr))

2 Replies
MK_QSL
MVP
MVP

Try

Count({$<CYFlag={1},[Shipping Agent Code]-={'KASSA'},Quantity={">0"}>}DISTINCT(Document_Nr))

tanjavarwijk
Contributor III
Contributor III
Author

Quantity can also be negative