dbTalk Databases Forums  

Building Date/Time Dimension Hierachie from two separate tables

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


Discuss Building Date/Time Dimension Hierachie from two separate tables in the microsoft.public.sqlserver.olap forum.



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

Default Building Date/Time Dimension Hierachie from two separate tables - 12-06-2005 , 07:34 AM






Hi,

In our datawarehouse we have two tables representing the datetime dimension:
tblDate (DATEID, YEAR,WEEK,DATE) and
tblTime (TIMEID, HOUR)

What I would like to do is to create a Hierarchie based on a crossjoin of
both Tables (without using a view and a combined key)
YEAR-->WEEK-->DATE-->HOUR

Currently this can be archieved in the frontend (Pivottable) by simply
having a Date Hierarchie
~ Date (YEAR-->WEEK-->DATE) and dragging the Time Dimenstion (HOUR) next to
it.

Instead I would like to have a "real" Drilldown in one Hierarchie (SQL 2005)
Any help will be really appreciated.
Thanks,

Bjoern



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.