Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Which RangeSum() method is better

These two formulas give the same result:

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

=RangeSum(Above(TotalSales),Sum(Sales))

* TotalSales is a label of expression within this formula

So the question is which method is better and why?

1 Reply
jagan
Luminary Alumni
Luminary Alumni

Hi,

Check explanation below

  1. =RangeSum(Above(Sum(Sales),0,RowNo()))  - If you are accumulating from top row to current row this method is used
  2. =RangeSum(Above(TotalSales),Sum(Sales)) - If you are summing up above row and current row sales

Regards,

Jagan.