Can a Dimension Table contain Multiple Data Sets

421 Views Asked by At

I am working with factual data that contains over 30+ attributes that can be used as dimension.

These attributes are basically one dimensional -> ID, VALUE, SORTORDER. The source data from the source system also comes from a single table called Reference There are no hierarchies, no additional descriptive attributes. So creating and maintaining 30+ different Dimension table seems to overkill.

Can one for instance create a single Dimension table to contain all these records with a fields that specify the type of record. Then when the data is exposed through a tabular model a view is created for each type of record instead.

enter image description here

1

There are 1 best solutions below

0
On BEST ANSWER

Obviously you can do whatever you want. But if your goal is to transform the source data into a dimensional model, then the fact table should have separate columns for each attribute Status, Source, Type, ...

If there is no additional data associated with a, say Status, you wouldn't necessarily create a dimension for it. It's probably a good practice, and may be required by your reporting tool to efficiently generate a list of available values. But having categorical attribute modeled as a column on a fact table without a related dimension table isn't the end of the world.