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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
zacsyuan
Contributor II
Contributor II

expression for aggr and count

I want to replicate the count column( the fourth column) of excel to a Qlik plain table chart by using expression

I assume aggr and count would be used ...tried a few variations, no luck 

so each sku has different product type, if it has 4 , the count column should show distinct count of 4, if it has 3, then it returns 3. 

SKU Product type CONT_TYPE COUNTIFS($A$2:$A$996,A2)
6403 A Regular 4
4401 D Regular 3
6403 D Regular 4
4401 C Regular 3
4401 B Regular 3
6403 B Regular 4
6403 C Regular 4
Labels (1)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master II
Partner - Master II

As below.

=Count(TOTAL <SKU> SKU)

View solution in original post

2 Replies
Or
MVP
MVP

Count(Distinct Total <SKU> [Product type]) perhaps?

 

BrunPierre
Partner - Master II
Partner - Master II

As below.

=Count(TOTAL <SKU> SKU)