Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Yearly Calculation of Forecasting Year

$
0
0

Hi Eveyone ,

here in below table I want to calculate the Forecasting of year, the logic is as below

 sum of  TotalValue*Weight1 Corresponding to each year  would be the TotalValue of year 2014 and for the calculation of year 2015  for year 2010 Weight1 would be 0.02 and  for 2011 Weight1  would be 0.03 as usually for year 2012,2013 and for 2014 Weight1  would be 0.75 by using the same above logic  sum of  TotalValue*Weight1 Corresponding to each year

(means this time year will start 2010 to 2014) result would be the TotalValue for year 2015 as usually for year 2016

YearTotalValueWeight1
2009235378488.40.02
20102986577060.03
20113455913320.05
2012362318107.70.15
2013387565287.70.75

expected result is 

YearTotalValue
2009 235378488.4
2010298657706
2011345591332
2012 362318107.7
2013 387565287.7
20141394132433
20151138190918
20161099922688

Please anyone give me some idea that how to find that result 

Thanks in advance


Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>