dbTalk Databases Forums  

how to create fact table based on starttime/endtime contract table?

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


Discuss how to create fact table based on starttime/endtime contract table? in the microsoft.public.sqlserver.olap forum.



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

Default how to create fact table based on starttime/endtime contract table? - 12-29-2005 , 11:26 AM






Hi, I am new to cube design. I need to create a cube based on the joining of
several tables.

One of my tables has two columns called 'starttime' and 'endtime' for a
contract period. Initially i would like to create a cube that counts the
number of people who are incontract on a particular day. I am unsure how to
go about doing this. I realise i will need a dimdate table for the time
dimension. But how do I create the fact table? I understand the fact table
to only hold a single date column. How do i incorporate my starttime and
endtime for a contract period in a fact table?

Any help most appreciated!

Cheers,
john



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.