Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join this live chat April 6, 10AM EST - QlikView to Qlik Sense REGISTER
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