Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, How would I calculate the Cumulative % column please? So that Cumulative % = (The previous row value, Column - 1) + (This row, Column - 1). Please see attached example. Thanks.
hi,
in a straight table copy and paste the expression from column "Cont%", rename it to "Cum%" and at the bottom of the expressions tab tick on the radio button "Full Accumulation".
(
(sum(if (InYear ([Sale Date], Today(), (zYearLast - Year(Today()))), [Sale Value]))) / sum(total(if (InYear ([Sale Date], Today(), (zYearLast - Year(Today()))), [Sale Value])))) * 100
hi,
my error. your expression is fine. my solution works if there is a single dimesion in the report.
You can see that in your second example where the accumulation works for the stores in the Inland area which are supermarkets.
Given your data this coudl be a possible workaround.
Working on the assumption that each store can only be in one area and of one type then instead of having these attributes as columns/dimensions put them in as expressions. for this use only(Area), only(TypeOfStore).
Your report will then have a single dimension and the accumulation should work for the whole dataset.
how is the weather down there?
Thanks a lot, that did the trick! ... Sunny, but winter's on its way. So it's 24C instead of 30C. Cheers.
Try these ones:
This one accumulates columns by row (or otherwise)
RangeSum(last($(vSaldo),1,(noofcolumns()-columnno()+1))
This one accumulates rows by column (or otherwise)
RangeSum(Above(Total $(vSaldo),0,rowno(Total)))