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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
garethct89
Contributor
Contributor

Group By Count

Hi all,

 

I'm trying to count the number of times a consultant (RACF) hits 20 surveys (ConExp) each month. My syntax is below. Key is a concatenate of RACF and Month.

 

QualifiedConsultant:

left join
load
Key,

 

 


if(count(ConExp)>=20, 'Qual','NotQual') as QualCon


Resident MyCustomer
group by Key
;


left join
Load

RACF,

count( distinct QualCon ) as QualVol


Resident MyCustomer

group by RACF;

 

 

Labels (3)
1 Reply
wade12
Partner - Creator II
Partner - Creator II

hope this helps: