Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pivot table Above or Range sum issue

Dear Gurus,

As per the attached document i need to get Range sum, which is wokring fine in Table1 but when user moves the dimension to horizontal

"above" function does not work. do we have any other function to achive Range sum when dimension is horizontal, thanks in advance

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try this expression

sum(Exp)

Before(sum(Exp))

RangeSum(Before(sum(Exp),0,ColumnNo()))

Regards,

Jagan.

View solution in original post

5 Replies
Gysbert_Wassenaar

Yes, the before() function should do the trick. And replace RowNo() with ColumnNo().


talk is cheap, supply exceeds demand
Not applicable
Author

Hi Gysbert, thanks for quick reply but unfortunately Before does not work ...

jagan
Luminary Alumni
Luminary Alumni

Hi,

Try this expression

sum(Exp)

Before(sum(Exp))

RangeSum(Before(sum(Exp),0,ColumnNo()))

Regards,

Jagan.

Gysbert_Wassenaar

That's very strange. It seems to work for me. See attached qvw.


talk is cheap, supply exceeds demand
Not applicable
Author

Thansk a lot Jagan and Gysbert