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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Not able to calculate Average distribution

Hello Community,

I am try to show the distribution of Connections. Below is the example and I need percentage of distribution.

Connection_TypeDistributionNeed This
A-92-6%
B-30-2%
C906%
D131%
E-111-7%
F49432%
G28618%
H40126%
I50032%

To calculate the distribution. I am using below set analysis that i can't change.

sum(aggr(SUM(DISTINCT Amount),Emp_id))/ COUNT(DISTINCT Emp_id)  

Thanks in advance.

10 Replies
Anonymous
Not applicable
Author

Hello Rahul,

Thanks but to calculate "Average Cost Per Employee". i am using below mentioned logic

sum(aggr(SUM(DISTINCT Amount),Emp_id))/ COUNT(DISTINCT Emp_id)