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: 
pooja_prabhu_n
Creator III
Creator III

Count Missing ID

Hi All,

I am facing difficulty in building the logic mentioned below:

If a ID was activated and never deactivated till Today then consider it as active for all Months.

Input:

Input.png

output:

Input.png

In the above output:

Jul 2012 had 2 IDs 1 and 2 ,therefore  Count(ID)=2

Aug 2012 have only one ID(i.e. 2).  ID 1 is not updated in Aug  and also it is not deactivated in Jul 2012 .So,i have to count it as activate in Aug 2012 .

Thanks,

Pooja

1 Reply
Digvijay_Singh

If possible please share the sample data which can be used to produced the required expression easily.