dbTalk Databases Forums  

WEEK as a Time-Date Period to report on and MSAS 2k5 cube's design

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss WEEK as a Time-Date Period to report on and MSAS 2k5 cube's design in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alex Deiden
 
Posts: n/a

Default WEEK as a Time-Date Period to report on and MSAS 2k5 cube's design - 02-15-2006 , 04:16 AM






I need to slice on WEEKS periods in many reports.

What is the best approach:
- to design the Date dimension with WEEK level
(YEAR-QUARTER-MONTH-WEEK-DAY) and have some complexity in logic to build
MDxes...
OR
have 'week#of the year' attribute and have WEEK not in
YEAR-QUARTER-MONTH-DAY hierarchy?
OR
?

Any whitepaper/example of best practices are highly appreciated.


thank you,
Alex Deiden


Reply With Quote
  #2  
Old   
 
Posts: n/a

Default Re: WEEK as a Time-Date Period to report on and MSAS 2k5 cube's design - 02-15-2006 , 06:34 AM






If your time dimension has day, week, month, quarter and year attributes
(among others) you could build 2 (or more) hierarchies in your time
dimension

Year
Quarter
Month
Day

Year
Week
Day

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell

In article <F19619DE-DB6E-4986-A0B1-609DE3068197 (AT) microsoft (DOT) com>,
AlexDeiden (AT) discussions (DOT) microsoft.com says...
Quote:
I need to slice on WEEKS periods in many reports.

What is the best approach:
- to design the Date dimension with WEEK level
(YEAR-QUARTER-MONTH-WEEK-DAY) and have some complexity in logic to build
MDxes...
OR
have 'week#of the year' attribute and have WEEK not in
YEAR-QUARTER-MONTH-DAY hierarchy?
OR
?

Any whitepaper/example of best practices are highly appreciated.


thank you,
Alex Deiden



Reply With Quote
  #3  
Old   
Alex Deiden
 
Posts: n/a

Default Re: WEEK as a Time-Date Period to report on and MSAS 2k5 cube's de - 02-15-2006 , 05:06 PM



Hi Daren,
This is perfectly great solution!
Thank you!
Alex

"Darren Gosbell" wrote:

Quote:
If your time dimension has day, week, month, quarter and year attributes
(among others) you could build 2 (or more) hierarchies in your time
dimension

Year
Quarter
Month
Day

Year
Week
Day

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell

In article <F19619DE-DB6E-4986-A0B1-609DE3068197 (AT) microsoft (DOT) com>,
AlexDeiden (AT) discussions (DOT) microsoft.com says...
I need to slice on WEEKS periods in many reports.

What is the best approach:
- to design the Date dimension with WEEK level
(YEAR-QUARTER-MONTH-WEEK-DAY) and have some complexity in logic to build
MDxes...
OR
have 'week#of the year' attribute and have WEEK not in
YEAR-QUARTER-MONTH-DAY hierarchy?
OR
?

Any whitepaper/example of best practices are highly appreciated.


thank you,
Alex Deiden




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.