My understanding is that a fact table uses keys, which are dimensions that ought to have their own dimension table, to identify observations and assign them values. Can these values themselves be dimensions? Or does that violate some principle of a star schema?
For example, is this a valid fact table design?
Start Time | Stop Time | Employee ID | Performance |
---|---|---|---|
01 | 60 | 0100 | Grade 3 |
01 | 20 | 0200 | Grade 2 |
20 | 60 | 0200 | Grade 3 |
My dimensions that I use to identify facts are the first three columns, with the final column being an observation. However, if I have more information about what each Performance means, does that mean that there needs to be a Performance dimension table? Or, because Performance is an observation rather than a dimension, does this data need to be in the fact table itself?