Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Calculate AVG Head count

   Hi All,

How to calculate AVG Head count for all Quarters.

Actual Head count:

 

Q1 7256

 

Q2 7553

 

Q3 7599

 

Q4 7699

 

Average head count:

 

Q1 6807

  EX: Q1=Apr,May,Jun

 

6681 +6759+6981=20421/3= 6807

 

1 Solution

Accepted Solutions
sunny_talwar

Try this expression:

=Avg(Aggr(Count(DISTINCT([Emp. Id])), Month))


Capture.PNG

View solution in original post

4 Replies
sunny_talwar

Can you reload the application and reattach? The attached application doesn't seem to have Emp ID field in it

Anonymous
Not applicable
Author

Hi Sunny ,

I reattached.

Thanks,

Krishna

sunny_talwar

Try this expression:

=Avg(Aggr(Count(DISTINCT([Emp. Id])), Month))


Capture.PNG

Chanty4u
MVP
MVP