Home > Archive > MS SQL Server OLAP > December 2005 > how to create fact table based on starttime/endtime contract table?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

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

2005-12-29, 1:23 pm

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


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com