Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
ABC
Front end or back end?
IF(RowNo() = 1, SUM(TOTAL Sales), SUM(TOTAL Sales) - RangeSum(Above(SUM(Sales),0,RowNo())))
Small Change..
IF(RowNo() = 1,
SUM(TOTAL Sales),
SUM(TOTAL Sales) - RangeSum(Above(SUM(Sales),1,RowNo()))
)
And if you want the same Value even after selection of Year or Month, use below expression
IF(RowNo() = 1,
SUM({<Year, Month>}TOTAL Sales),
SUM({<Year, Month>}TOTAL Sales) - RangeSum(Above(SUM({<Year, Month>}Sales),1,RowNo()))
) * Avg(1)