Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
curiousfellow
Specialist
Specialist

Use of Above() or accumulation

I'm trying to understand the Above() function.

However I don't get the results I expect.

My main goal is to get a pivot table with a running total per dimension.

I tried many examples from this forum but nothing worked. Even the accumulation option doesn't work.

Feel rather dumb about this.

Could you give some hints ?

Thanks in advance

1 Solution

Accepted Solutions
settu_periasamy
Master III
Master III

Try this.

=RangeSum(Above(Sum(points),0,RowNo()))

View solution in original post

5 Replies
settu_periasamy
Master III
Master III

Try this.

=RangeSum(Above(Sum(points),0,RowNo()))

qlikmsg4u
Specialist
Specialist

See the attached

curiousfellow
Specialist
Specialist
Author

I get a continuous running total, without taking into account the change of the dimension.


curiousfellow
Specialist
Specialist
Author

Thank you very much for this fast answer.

Could you please explain this part : 0,RowNo() ?

settu_periasamy
Master III
Master III

Hi,

0 is the offset value. rowno() will increase based on the row till the dimension end.

so, it will work like

0  to 1 - first row,

0 to 2 - till second row,

0 to 3 - till third row

Check the below document give the clarity

Missing Manual - Above() and Below()