Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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!