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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
ajaymehtaece
Contributor
Contributor

Range sum is not working properly

Hi All,

I am trying to calculate running sum in  pivot table using formula 
RangeSum (above(TOTAL Sum([Actual Qty]),0,RowNo()))/RangeSum (above(TOTAL Sum([Forecast Lag0]),0,RowNo()))

 

But this formula is not working when i am showing my table horizontally (first tabular chart).

However its working fine for vertical pivot table (second table).

kindly guide me why this is happening and what is the solution to bring running total in first chart.

Running total.PNG

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

And yes, rowno() should be replaced with columnNo(). Therefore,

replace:

Above() with Before()

RowNo() with ColumnNo()

 

 

 

View solution in original post

3 Replies
tresB
Champion III
Champion III

For horizontal calculation to work, replace all above() with before()

tresB
Champion III
Champion III

And yes, rowno() should be replaced with columnNo(). Therefore,

replace:

Above() with Before()

RowNo() with ColumnNo()

 

 

 

ajaymehtaece
Contributor
Contributor
Author

Thanks Tresesco

Solution provided by is working fine for me.Thanks A Lot