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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
paulwalker
Creator III
Creator III

Count in set analysis

Hi Community,

can you please correct me below expression, not giving any value..

same expression have written script level working fine, but in set analysis not giving any value

=AVG(AGGR(AVG({$<OrgCode= {"=Count(DISTINCT OrgCode)>2"}>}BASE_SALARY), SURVEY, MUPC_CODE, Industry))

 

Thanks in Advance

Labels (1)
1 Reply
Lisa_P
Employee
Employee

from what I can see, the issue is that the Count(distinct OrgCode) is always 1, so this condition is never met, as well it will not give any OrgCodes either as they are all strings, not numbers.