I have a question relating to modeling the similar facts.
We have three types of facts. They are all "transactions", with a common set of core dimensions such as Customer, Contract, Location, Date. In addition, they each have a set of dimensions that are unique depending on the type of transaction.
The types of transaction are:
Throughput movement
ancillary activity
pipeline activity
My question is whether to have 3 fact tables or combine them into 1 table. The users usually want to see the data separate, but somtimes they want to see counts or averages across all three tables.
Also, there is the problem that the dimensions they share need to have slightly different names. For example, container. Throughput movements must have a source and destionation container, while pipeline and ancillary activities may or may not have one container.
Thanks,
Asa Monsey
Asa Monsey
samonsey@houston.rr.com
Maxim Group Consultant
Visual Basic / SQL Server
We have three types of facts. They are all "transactions", with a common set of core dimensions such as Customer, Contract, Location, Date. In addition, they each have a set of dimensions that are unique depending on the type of transaction.
The types of transaction are:
Throughput movement
ancillary activity
pipeline activity
My question is whether to have 3 fact tables or combine them into 1 table. The users usually want to see the data separate, but somtimes they want to see counts or averages across all three tables.
Also, there is the problem that the dimensions they share need to have slightly different names. For example, container. Throughput movements must have a source and destionation container, while pipeline and ancillary activities may or may not have one container.
Thanks,
Asa Monsey
Asa Monsey
samonsey@houston.rr.com
Maxim Group Consultant
Visual Basic / SQL Server