Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
dmac1971
Creator III
Creator III

Counting based on 3 cases

I have 3 separate lists of data and I want to check how many items exist on all three lists.

I thought this might work :

=aggr(count(Distinct Item) LIST)

But not getting anywhere with it?  If I then wanted to count the number on specific lists, lets say only those items that appear on list 1 and 2, where the price is different and then another count where the price is the same how would you achieve it.

10 Replies
luciancotea
Specialist
Specialist

=SUM(Aggr(count(Distinct if(Price > 0, Item)), LIST))