Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a table with Calendar Month on the first column and totals on the second column. How can I calculate a rangesum() on the first row of the table, when I need "above()" to see the total that is prior to the first row.
Example:
Rolling 2-mt Total = RangeSum(Above($(=vTotalRev),0,2))
In Data set:
112018 400
122018 400
012019 200
022019 300
In Qlik Table (table needs to start from 122018)
122018 400 400 ??? ( Needs to be 800 )
012019 200 600
022019 300 500
What is vTotalRev here?
I guess Inside the above you can have the aggr() function which will contain all the monthyear and then you can have them rangesum to get the rolling-2 month total