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: 
jim_chan
Specialist
Specialist

How to create Accumulative Count of active member within 3 months ?

Dear all, 

I have a requirement from my client.  i have attached the sample qvw file and excel data for your reference. 

Basically, these are the requirements:

1) accumulative count

2) accumulative count that include members who are actively(with sales) within 3 months. 

Formula at the front end i have used is:

RangeSum(above(sum(aggr(count (distinct MemberID),MemberID )), 0,RowNo()))

However, thats not the result i am looking for:

jim_chan_0-1637913752865.png

The expected result should be only populate out/accumulate count on active members only. From Jun onwards - active member should have only left 2, instead of 4. As the active members ID within the 3 month from Jun - is only 2 - ID 1001, 1002. 

jim_chan_1-1637913788643.png

 

Labels (3)
1 Reply
jim_chan
Specialist
Specialist
Author

hi there?? 

anyone?? can help???

 

Rgds

Jim