Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Time Period Rollups Dimension

Status
Not open for further replies.

unbreakable79

Programmer
Jul 22, 2008
2
US
Hello,
I have a requirement to create a time period rollup dimension. The dimension would have the following. Trailing 1 - 3 months, Trailing 4-6 Months, Curr Y-T-D etc. I am not sure how to do this. Would this be done by created a calculated dimension. Any help with sample MDX query would be greatly appreciated.
Thanks,
Bhargavan
 
A Quick Summary, in SSAS the way you accomplish this is:

1) In your DSV create a new Table (TimeCalcs) and using a Named query this should have a single Value of Current Period.
2) Create a Time Calcs dimension with this named query as the source.
3) Add this dimension to your cube with the relationship being a reference on the Date key of your date/time dimensions.
4) Create the Calculated Members in the cube but your Formula should be NULL
5) Using MDX Script you need to write a the calculations and scope them to your date dimension. You need a set of MDX scripts for each date hierarchy.

detail instructions:
A Different Approach to Implementing Time Calculations in SSAS


Time calculations in UDM: Parallel Period


Paul
---------------------------------------
Shoot Me! Shoot Me NOW!!!
- Daffy Duck
 
Paul,
That is EXACTLY what I am looking for. I will follow those steps and will let you know how it goes.

Thanks a lot.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top