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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Accumulating line by line

Hello people,

I'm adding this worksheet to better explain my problem.

in column H i have a cumulative value. which is actually the value of the cell above it but the same result.

Tried the RANGESUM.

1 Solution

Accepted Solutions
angelaecheverri
Creator
Creator

I dont get what are you saying...

you can sort by dimension and by expresions....

if you want to sort by an exprssion...

just go to sort and do it by exprresion...

00.PNG.png

View solution in original post

8 Replies
Not applicable
Author

hi,

get accumulated with this expression.

RangeSum (Above (Total Sum (QTD_EMBALAGEM), 0, Rowno (Total)))

only after I put this espresão can not sort by the expression to be in column 1.

Not applicable
Author

hi

try this

expression1--- QTD_EMBALAGEM

Expression2----RangeSum(Above(sum(QTD_EMBALAGEM),0, rowno()))

angelaecheverri
Creator
Creator

sum(Total qtd) = sums all the records for qtd taking care of your selections

sum(all qtd) = sums all the records of your data... its doensnt take care of your selections...

Not applicable
Author

Hi Angela,

then how is my these two expressions: Sum (QTD_EMBALAGEM) and RangeSum (Above (sum (QTD_EMBALAGEM), 0, Rowno (TOTAL)))?

I have to sort from highest to lowest the Sum (QTD_EMBALAGEM) expression.

and I can only sort by dimenssões.

Not applicable
Author

Hello people,

to make it easier I made this example.

angelaecheverri
Creator
Creator

I dont get what are you saying...

you can sort by dimension and by expresions....

if you want to sort by an exprssion...

just go to sort and do it by exprresion...

00.PNG.png

Not applicable
Author

do not know how I did not think of that before.

Thank you Angela

angelaecheverri
Creator
Creator

Your welcome