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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
OmarBenSalem
Partner - Champion II
Partner - Champion II

column-above(column)

Hi all,

here is what I have achieved with the above function

Capture.PNG

what I want instead is having the sum of all the values above not only the final value.

For example; for Qhour 8:300, I want to return the sum of  23011+8434+4992+742+165, not onlu 23011+8434

How to do so?

Thank you

Labels (1)
1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

RangeSum(Above(YourExpression),0,RowNo()))

or

RangeSum(TOTAL Above(YourExpression),0,RowNo()))

View solution in original post

4 Replies
Kushal_Chawda
MVP
MVP

=rangesum(above(sum(YourField),0,rowno()))

MayilVahanan
MVP
MVP

Hi

Try like this

=Rangesum(Above(Sum(Sales),0, RowNo()))

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
MK_QSL
MVP
MVP

RangeSum(Above(YourExpression),0,RowNo()))

or

RangeSum(TOTAL Above(YourExpression),0,RowNo()))

OmarBenSalem
Partner - Champion II
Partner - Champion II
Author

Yes, that went all good !

Thank you all