dbTalk Databases Forums  

AdventureWorksDW - Date Dimension

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


Discuss AdventureWorksDW - Date Dimension in the microsoft.public.sqlserver.olap forum.



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

Default AdventureWorksDW - Date Dimension - 07-27-2006 , 10:57 AM






Hi all,

I am curious why the Date dimension is designed as [Date].[Date].&[1]
using the dimension surrogate key, instead of
[Date].[Date].&[2001-07-01] using the date value itself


Often, don't we construct MDX with
SELECT [Measures].[Internet Sales Amount] ON COLUMNS
FROM [Adventure Works]
WHERE [Date].[Date].&[2001-07-01]

instead of
SELECT [Measures].[Internet Sales Amount] ON COLUMNS
FROM [Adventure Works]
WHERE [Date].[Date].&[1]


I am contemplating to follow how AdventureWorksDW design or use a more
friendly format. The cube I am building is the main source for reports
constructed with SSRS 2005, and Report Start and End Dates are very
common parameters required.

Any advice? Insights?

Thanks.


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.