Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
March 26 at 10am ET: See how Qlik drives growth and value in ISV segment - REGISTER NOW
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

1 Solution

Accepted Solutions
sunny_talwar

May be this

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

View solution in original post

2 Replies
sunny_talwar

May be this

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

Not applicable
Author

Seems to be working.

Thank you!