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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Rangecount() help needed

Dear All,

I'm trying to create a rangecount() expression that will count number of appearances up to a given column e.g. (see the attached tables) if John appears once he gets 1 in Apr; Peter, on the other hand, appears 3 times thus he gets 1,2 and 3 in Feb, Mar and Apr respectively.

Could you please give a hint how to create such a counter?

BR,

Przemek

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

Please see the attached qvw. I have taken your sample data and had a workaround to modify the expression.

Thanks & Best Regards

Kuldeep Tak

View solution in original post

2 Replies
Not applicable
Author

Hi,

Please see the attached qvw. I have taken your sample data and had a workaround to modify the expression.

Thanks & Best Regards

Kuldeep Tak

Not applicable
Author

Thank you, Kuldeep. Would you yet know how to modify the expression to:

1) get zeros in months where Name doesn't appear

2) get totals right if you add years to data.

as it is done in the attached file.

BR, Przemek