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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
suvechha_b
Creator III
Creator III

How to calculate distinct count depending on 'POLICY_CANCELLATION_DATE_YearMn' on every month wise

Hi All ,

How can I calculate policy cancelled for that particular UW_MONTH_KEY . I got a field POLICY_CANCELLATION_DATE_YearMn . How to do in set analysis to get the count of policies cancelled depending on UW_MONTH_KEY.

My expression is -

Count({$<UW_MONTH_KEY = {"$(=$(vMaxUWMonth))"},POLICY_STATUS_FINAL={'Cancelled'},POLICY_CANCELLATION_DATE_YearMn = {"$(=$(vMaxUWMonth))"}>} DISTINCT POLICY_NUMBER)

Sample model attached.

Please kindly assist.

 

CancellationDate.PNG

0 Replies