I have a Dimension Table called Dim Case. This is a conformed dimension that is linked to 3 different fact tables. I need to answer questions about the Cases themselves however.
Questions such as
- Cases opened / closed between dates
- Time between Inquiry Date and Case Start
- Time from Start to Completion
I feel as though there are 2 solutions to this but unsure which would be best.
- Create a Fact Cases table with a 1:1 relationship to the Dim Case table (and relationships to other needed tables such as Customer) as questions above seem as though they should be calculated measures within the Fact Table.
Are 1:1 relationships frowned upon?
- Put all of the Measures/answers to the questions into the Dim Case Table as attributes and create a Factless Fact Table which links related tables such as Dim Case, Dim Date, Dim Customer etc.
Example Table Schemas below:
Dim Case
- Case Key
- Case No.
- Status
- Manager
- Inquiry Date
- Case Start Date
- Source
- Completed Date
Possible Fact Cases Table:
- Case Key
- Customer Key
- Inquiry Date
- Completed Date
- Time between Inquiry Date and Case Start
- Time from Start to Completion