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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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