Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to show cumulative sum over the months, but there are no transactions in some month. i still want to show total upto previous month though. in next month, if there is a transaction, the sum should be updated.
For example, right now my chart looks like this :
But I want to show 116 for the month of April and May as well. Then 167 for Month of June which is correct. Is this possible?
The formula I am using for cumulative sum is :
Aggr(RangeSum(Above(Sum(Qty_Ord), 0, RowNo())),Year,Month)
Thanks,
Vivek
Hello,
you need to create a master calendar (there is several ways to do it - you wll find it easily).
The master calendar will fill every gap in your dates.
And then Accumulate expression in expressions tab.
Check the file sample.
You can either use The As-Of Table or try this
Aggr(RangeSum(Above(Sum(Qty_Ord) + Sum({1} 0), 0, RowNo())), Year, Month)
This is not working. I am using this formula . I am getting the same result.
Then I would suggest you to look into the AsOfTable
This is what I do for cumulative:
sum(enter your formula here)
+
If(Above(TOTAL [name of this field]) > 0, Above(TOTAL [name of this field]), 0)