dbTalk Databases Forums  

Multiple date dimensions for a cube - how best to structure?

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


Discuss Multiple date dimensions for a cube - how best to structure? in the microsoft.public.sqlserver.olap forum.



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

Default Multiple date dimensions for a cube - how best to structure? - 04-13-2005 , 11:26 AM






Hello,
We have multiple date dimensions for a cube. For instance, values like
Start Date, Ship Date, Receive Date, etc.

The way this is currently set up is strange. Multiple date dimensions
were created for each date value so we have dimensions such as Start
Date, Ship Date, Receive Date, etc. BUT they are based off multiple
tables, identical copies of the original date table.

Wouldn't it be better just to have the multiple dimensions, but base
them off the same table? Would that cause problems in processing the
cube?

thanks for any advice,
Sylvia


Reply With Quote
  #2  
Old   
Deepak Puri
 
Posts: n/a

Default Re: Multiple date dimensions for a cube - how best to structure? - 04-13-2005 , 05:39 PM






In my own experience, I've either created multiple views of the SQL
table; or, as you are suggesting, created multiple dimensions from the
same SQL table. A couple of issues to keep in mind with the second
option:

- Aliases for the table are needed in the cube schema, with an instance
for each dimension that uses the table.

- In my case, drill-through to details didn't work as expected for the
cube (don't if this is still an issue).


Pl. note that AS 2005 (Yukon) allows use of a dimension in multiple
roles, which is a simpler solution:

http://www.microsoft.com/technet/pro...uate/dwsqlsy.m
spx
Quote:
Business Intelligence and Data Warehousing in SQL Server 2005
...
Analysis Services 2005 adds important new dimensional structures. Some
of these structures have odd names, but these names are common in the BI
literature.

• Role Playing: The dimension plays several roles depending on context.
For example, the [Time] dimension may be reused for [Order Date] and
[Ship Date]. In 2005, the role playing dimension is stored once and used
multiple times. Disk space and processing times are minimized.
Quote:

- Deepak

Deepak Puri
Microsoft MVP - SQL Server

*** Sent via Developersdex http://www.developersdex.com ***


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.