Modeling advice for Dimension Table
Page 1 of 1
Modeling advice for Dimension Table
Hello,
I have set of data as shown in FIG1 below:
For my report needs (FIG2 and FIG3) i need to display:
Actually I have a dimension table "Managers" and a snapshot fact table "Cases", in the fact table is stored FK manager_id which refers to the actual manager for a given date (FIG4).
I can calculate with this architecture nbAvailable and nbEntry with a SQL query, but i have a problem to calculate nbOut as I can't tell when the case was finished for a given manager/date.
Any help would be appreciated to achieve this result (new Dimension, change in Fact table ...)
Is it possible to achieve this by modeling a new SCD type2? If yes, how to proceed?
Thanks in advance,
mcha
I have set of data as shown in FIG1 below:
For my report needs (FIG2 and FIG3) i need to display:
- nbAvailable: number of already available cases treated by manager in parameter in the beginning of the month
- nbEntry: number of new cases entered during the month
- nbOut: number of cases ended during the month
Actually I have a dimension table "Managers" and a snapshot fact table "Cases", in the fact table is stored FK manager_id which refers to the actual manager for a given date (FIG4).
I can calculate with this architecture nbAvailable and nbEntry with a SQL query, but i have a problem to calculate nbOut as I can't tell when the case was finished for a given manager/date.
Any help would be appreciated to achieve this result (new Dimension, change in Fact table ...)
Is it possible to achieve this by modeling a new SCD type2? If yes, how to proceed?
Thanks in advance,
mcha
mcha- Posts : 2
Join date : 2012-10-17
Similar topics
» Modeling - Dimension/Fact - Need advice please
» Advice needed on modeling Partnership Dimension
» Advice on a single Fact Table Column which could link to more than one different dimension
» Modeling a dimension table
» Advice on Dimensional Modeling
» Advice needed on modeling Partnership Dimension
» Advice on a single Fact Table Column which could link to more than one different dimension
» Modeling a dimension table
» Advice on Dimensional Modeling
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum