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: 
Not applicable

Accumulation in pivot/table chart

Hi *,

I'm using a pivottable that looks like this:

error loading image

How can I do a accumulate the values:.

-> 01.01.2010: 10
02.01.2010: 0
03.01.2010: 15

....

Thanks for your help.

Regards
Aloah

1 Solution

Accepted Solutions
johnw
Champion III
Champion III

Oops! Do this:

rangesum(sum(Value),above(Kumulation))

You're adding the current sum(Value) to the Kumulation from the above row. The way I gave it to you the first time was only adding to the sum(Value) of the above row, which wasn't what I intended, and as you see, doesn't give the result you want.

View solution in original post

3 Replies
johnw
Champion III
Champion III

I think this:

rangesum(sum(Value),above(sum(Value))

Not applicable
Author

Hi,

with rangesum I get this 10, 0, 5.... instead of 10, 0, 15...

johnw
Champion III
Champion III

Oops! Do this:

rangesum(sum(Value),above(Kumulation))

You're adding the current sum(Value) to the Kumulation from the above row. The way I gave it to you the first time was only adding to the sum(Value) of the above row, which wasn't what I intended, and as you see, doesn't give the result you want.