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 Average head count Q1 to Average head count Q4

  Hi All,

Calculate Average head count Q1 to Average head count Q4

 

EX: Average head count Q1=6807  

 

Average head count Q4=7432

 

Variance=7432-6807=625

 

Variance % = (625/6807)*100= 9.18

  Formula: (Q4-Q1/Q1)*100

I want to show this value in a test Object.

Thanks,

Krishna

 

1 Solution

Accepted Solutions
sunny_talwar

May be this?

=Num(Round(Avg({<[Fiscal Quarter] = {'Q4'}>} Aggr(Count({<[Fiscal Quarter] = {'Q4'}>} DISTINCT [Emp. Id]), Month)))/Round(Avg({<[Fiscal Quarter] = {'Q1'}>} Aggr(Count({<[Fiscal Quarter] = {'Q1'}>} DISTINCT [Emp. Id]), Month))) - 1, '##.##%')


Capture.PNG

View solution in original post

2 Replies
sunny_talwar

May be this?

=Num(Round(Avg({<[Fiscal Quarter] = {'Q4'}>} Aggr(Count({<[Fiscal Quarter] = {'Q4'}>} DISTINCT [Emp. Id]), Month)))/Round(Avg({<[Fiscal Quarter] = {'Q1'}>} Aggr(Count({<[Fiscal Quarter] = {'Q1'}>} DISTINCT [Emp. Id]), Month))) - 1, '##.##%')


Capture.PNG

Anonymous
Not applicable
Author

Wow Sunny, You great.

Thanks,

Krishna