Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Fia_Fiia
Contributor
Contributor

How to Calculate count emp no of average score

Hello,

Please Help me,

I want to know how many active employees get scores above 80? in my raw data in one month there are 2 score values, I'm confused about how to add avg in the formula, this formula is not working because all employee counts are supposed to be one employee only counts average

Count({<[EmpStatusByMonth] = {[Active]}, [Score MQ] = {'>=80'}>}DISTINCT [Emp No])

Thanks

 

1 Solution

Accepted Solutions
sunny_talwar

May be this

Count({<[EmpStatusByMonth] = {[Active]}, [Emp No] = {"=Avg([Score MQ]) >=80"}>} DISTINCT [Emp No])

View solution in original post

2 Replies
sunny_talwar

May be this

Count({<[EmpStatusByMonth] = {[Active]}, [Emp No] = {"=Avg([Score MQ]) >=80"}>} DISTINCT [Emp No])
Fia_Fiia
Contributor
Contributor
Author

Thank you for the information, this formula works.😊