Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Average

Hi,

I have the following table on qlikview. I am only concerned with the 'Total' row. Total # Apps is correct. However under Total row, Avg Decision Time Hrs (3.80) and Apps Decisioned per Day (3.09) are not correct. Currently Total Average for the above two columns is simple. It's taking average of all rows. But the reality is that each staff has different no of applications Therefore the average 3.80 & 3.09 are wrong. Any way to find correct Total Average?

Staff Name# AppsAvg Decision
Time (Hrs)
Apps
Decisioned
per Day
A4072.455.99
B4223.185.94
A3763.165.30
B3013.884.85
A2712.894.30
B2614.244.08
A1824.373.87
B1954.433.82
A2174.173.50
B1892.453.15
A1986.332.96
B2076.232.80
A1644.332.52
B511.712.43
A410.501.71
B10.521.00
A14.121.00
B12.201.00
A86.270.80
B208.560.80
Total3,5133.803.09
Labels (1)
18 Replies
Not applicable
Author

Marco,

Sorry I posted wrong table. suppose I have the following table. The way its calculating now is not correct because each staff average is bassed on different no of apps. Only 2 applications took 50 hrs but 100 took 2 hrs. So these 2 apps skewed the total average to 26 which is wrong.

Staff Name
# AppsAvg Decision
Time (Hrs)
A250
B1002
10226.0
kuba_michalik
Partner - Specialist
Partner - Specialist

So the total value for average should be total decision time divided by total number of apps? Which is the same as calculating the average of averages, weighted by number of apps?

Because if so, then you should just switch the total mode for this expression to "Expression Total", as suggested by Johan, instead of calculating an average of rows. Does that not work?

Not applicable
Author

So you want to know the average response rate among the team.

So if person a took 3 hours and person b took 2 hours, you want to see 2.5 hours as your average regardless of how many applications each person made?

Not saying I have the answer, just trying to be helpful in clarifying your requirements.

Not applicable
Author

I want to consider total apps per person as well.

Not applicable
Author

Why don't you knock some data up with the correct totals in excel or something, would help being able to see what you are calling the 'correct' average etc

Not applicable
Author

His problem is better described here http://community.qlik.com/thread/64633.

Not applicable
Author

data as below. I dont know the correct avg but definitely the current 3.87 & 3.11 are wrong

Staff Name#AppsAvg Decision
Time (Hrs)
Avg Apps
Decisioned
per Day
A4232.575.88
B4333.385.77
C4123.225.49
D3154.024.92
E2923.084.36
F2844.184.18
G2134.743.87
H1824.373.87
I2384.233.55
J2132.553.33
K2116.462.97
L2176.292.78
M1704.372.46
N511.712.43
O460.461.77
P10.521.00
Q14.121.00
WE12.201.00
ERE96.400.82
WER208.560.80
3,7323.873.11
Not applicable
Author

Are tour expressions calculated in Qlikview? If so the expression total radio button on the relevant expression in properties should give you the value that you need.

Not applicable
Author

I tried but did not look correct. will try again