Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

RangeSum

Hello,

I use the following function

RangeSum(Above(TOTAL Sum(turnover), 0, ROWNO(TOTAL)))

The result look like this in a pivot table:

Dimension I          Dimension II          turnover          rangesum turnover (wrong)      rangesum turnover (want to have this result)

A                         KW01                   1000                1000                                1000  

A                         KW02                    5000               6000                                 6000

A                         KW03                    8000               14000                              14000

                            TOTAL                  14000               0                                       0 

B                         KW01                    2000               17000                              2000

B                         KW02                    1000               18000                              3000        

B                         KW03                    4000               22000                              7000

                            TOTAL                  7000               0                                       0 

How can I handle it, that the accumulation start from the beginn, when the group changed it?

Many thanks !

1 Solution

Accepted Solutions
er_mohit
Master II
Master II

Try this

RangeSum(Above(Sum(turnover),0,RowNo()))

View solution in original post

6 Replies
Not applicable
Author

Try with this:

RangeSum(Above([turnover], sum(turnover))

Where [turnover] is the expression name, and you should rename because is same that turnover field name.

Regards,

Ricardo

er_mohit
Master II
Master II

Try this

RangeSum(Above(Sum(turnover),0,RowNo()))

wizardo
Creator III
Creator III

try this

RangeSum(Above(Sum(turnover), 0, ROWNO(TOTAL<Dimension I>)))

Not applicable
Author

Hi Mohit,

thanks a lot - it's work now right !

Regards,

Hülya

Not applicable
Author

Thanks for your help !

Not applicable
Author

Thanks for your help !