Re: Help linking two date columns to time dimension -
08-25-2005
, 08:47 PM
Assuming that "Opened Incident Count" is the number of incidents whose
"OpenedDate" falls within the selected time, and similarly for "Closed
Incident Count", then an event fact model might work better. For each
incident, there would be an "Opened" event with an "EventDate" and, if
the incident was closed, a "Closed" event with its own "EventDate". This
fact table would then join to the time dimension on "EventDate" and to
the incident dimension on an Incident ID. An "EventType" field could
have "Opened" and "Closed" values, joining to an "EventType" dimension.
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com *** |