Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculating a group of dates in same field

All ...

Here is the problem:

I need to either create a load script or an expression that perform a continuous rollup of data where each ID would have a show the accumulated amount month over month.  Eventually, the data will be visualized.  Any help is appreciated.

Source Data

IDYearMonthAmount
A20102010010
A201020100228
A201020100331
B20102010015
A20102010043

Expected Result

IDYearMonthAmount
A20102010010
A201020100228
A201020100359
B20102010015
A201020100462
1 Solution

Accepted Solutions
Gysbert_Wassenaar

See attached example


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Nicole-Smith

It seems like you want to do the same thing as this post: Rolling Count

You should be able to do this by using the Accumulation feature that QlikView has built into charts.  You can use Full Accumulation to accumulate over all time, or you can use the # Steps Back method to only go back to a certain point in time (i.e 12 for going back a year):

Capture.png

Not applicable
Author

Based on the initial expaination, I would have responded the same.  Unfortunately, it is more complicated than that.  I will not be looking at the ID as a dimension. I will have to perform a logic comparison on the accumulated amoun and provide a count based on a upper and lower threshold.  My issue is the inline transformation of data.


Gysbert_Wassenaar

See attached example


talk is cheap, supply exceeds demand