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: 
Not applicable

Count after a distinct

Hello everyone,

I'm trying to count a section after distinguishing another section. Here is what I'm trying to achieve (but obviously doesn't work) :

Distinct(ID_Company) then Count(Status_Company)

How can I manage to accomplish that.

Thanks in advance !

Alex

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be this

Sum(Aggr(Count(DISTINCT Status_Company), ID_Company))

View solution in original post

2 Replies
sunny_talwar
MVP
MVP

May be this

Sum(Aggr(Count(DISTINCT Status_Company), ID_Company))

Not applicable
Author

Seems to be working.

Thank you!