Re: Dimension from different columns of fact table? -
11-15-2004
, 12:30 AM
One approach is to "pivot" the fact table, so that there is one record
per service handled in a call. So, call#1 would result in 2 records,
whereas call#2 would have 3 records.
The pivoted fact table would have CallID, Date and Svc columns, where a
"Service" dimension would join to "Svc".
So the 5 resultant records would have field values like:
Call1/Svc1; Call1/Svc3; Call2/Svc1; Call2/Svc2; Call2/Svc3
- Deepak
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! |