Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I want to represent Last 16 Month Rolling Growth%.
I have Sales of Products for 3 Years.
Growth will be calculated as
for Eg. Oct 2013 Growth= (Oct 2013 Sales - Oct 2012 Sales)/Oct 2012 Sales.
I have to use Month Year as Dimension.
Thanks and Regards
Hi,
Please find attchment
if you have straight table then use..
RangeSum(sum(Sales),-above(sum(Sales)))/above(sum(Sales))

Vinay this way i will able to calculate growth with respect to Last month.
But my requirement is not that.
Thanks
Assuming that you have YearMonth as dimension and that YearMonth is a date serial number (which it is in your Excel sheet), then you can calculate this month's number as
Sum(Sales)
and the number for the month 12 months ago as
Sum(Aggr(Rangesum(Above(Sum(Sales),12,1)),YearMonth))
So your expression becomes
Sum(Sales)/Sum(Aggr(Rangesum(Above(Sum(Sales),12,1)),YearMonth)) - 1
You need to make sure that your YearMonths are loaded in chronological order though, since the Aggr() function internally sorts according to load order.
You cannot use the $-expansion with a formula, since it is not sensitive for the dimensional scope.
HIC
Thanks alot Henric.
It works like charm.
I know only you can solve this problem.
You are a Champ.
It works fine when i have not selected anything.
At the moment I want to see growth of a Particular Month this will not work.
Any Solution for that?
You're right. A selection will disable the summation inside the Aggr. So you need to remove that selection by using Set Analysis inside the Aggr(). I believe the following will work:
Sum(Sales) / Sum(Aggr(Rangesum(Above( Sum({$<YearMonth=>} Sales),12,1)), YearMonth)) -1
HIC