Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

Need guidance on MDX query plz..

$
0
0

I need to create a report from the Cube where i have to display the total sales for each region for all the existing years..

As per our company policy the Year period starts from Dec1st to Nov..So i have a dimension in cube which says companypolicyperiod with Dec to Nov..

Now how can i get the total sales for all previous years and YTD for current year..Lets says i have data from year 2010( which is December 2009 as per company yr)..So i need to get the below results using MDX ..

Region 2010  2011 2012  2013(YTD)
R1        1320  2121 2112  100

R2        2332 2323  3213  200

Any guidance would be really helpful..


Thanks, Sri The journey is what brings us happiness not the destination―Dan Millman


Viewing all articles
Browse latest Browse all 2472

Trending Articles



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