Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello
I need a little help with calculating a running total
The running total needs to reset when DIM 1 changes.
thanks for your assistance
Create a Straight Table
Dimension
Dim1
Dim2
Dim3
Expressions
SUM(Measure1)
Aggr(RangeSum(Above(TOTAL SUM(Measure1),0,RowNo())),Dim1,Dim2)
Make sure you sort your straight table by Dim1, Dim2 and Dim3 respectively.
You can also use.
SUM(Aggr(RangeSum(Above(TOTAL SUM(Measure1),0,RowNo())),Dim1,Dim2))