Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

accumulative sum not working

Hi qlikview communtity,

I am trying to make a accumulative sum on a straight table but nothing seems to work. I have the belowtable:

DateEmplRefMinutesWorkedFlexGained
59
14/10/2013FL238464-16
15/10/2013FL2384811
16/10/2013FL23851333
17/10/2013FL2384811
21/10/2013FL238465-15
22/10/2013FL23853555

I have tried the FullAccumulation option, rangesum(above(FlexGained)) options so far none of them worked.

Any ideas???

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Since you're using two dimensions you need the total keyword in the above() function:

rangesum(above(total sum(FlexGained),0,RowNo(total)))

See attached example.


talk is cheap, supply exceeds demand

View solution in original post

11 Replies
Not applicable
Author

Hi,

Please try this one:

=rangesum(Above(sum(FlexGained),1,RowNo()))

Not applicable
Author

Try this

rangesum(above(Flexgained,0,rowno()))

hope it will help

Not applicable
Author

Nop. No luck. I got only zero values on all rows.

Not applicable
Author

This did not work either. I got the FlexGained values replication on each row.

Not applicable
Author

will you attach the sample

Gysbert_Wassenaar

Since you're using two dimensions you need the total keyword in the above() function:

rangesum(above(total sum(FlexGained),0,RowNo(total)))

See attached example.


talk is cheap, supply exceeds demand
Not applicable
Author

Thats it...You are right.

er_mohit
Master II
Master II

try this

rangesum(above(sum(FlexGained),0,rowno()))

Not applicable
Author

What about doing the same calculation inside the script. Is that possible ??? using peek or above or something like that??