Multiple fact tables
3 posters
Page 1 of 1
Multiple fact tables
I have forecast and actuals information about budget. They would all share most of the dimensions and would have the same fact attributes. What are the benefits/ downsides of having a fact table for forecast, and another fact table for actuals vs. having one fact table and a dimension attribute that differentiates whether the fact record is a forecast or actual?
dellsters- Posts : 39
Join date : 2009-02-11
Re: Multiple fact tables
It really depends on wether they share the same grains and dimensionality in both actual and budget facts. Normally the budget has been made on aggregate level (eg. month) and the actuals may take place at more granular level, say daily. So the consolidated fact might only be applicable at aggregate level for the actuals. You could also use views to cater for the same objective if they live in separate tables.
hang- Posts : 528
Join date : 2010-05-07
Location : Brisbane, Australia
Re: Multiple fact tables
As Hang mentioned its all about the grain.
If this is GL data (account balances, not journals), then you should be able to use a single fact with a ledger type dimension (actual, budget(s), forecast(s)). If you are maintaining journal data (actuals only) this would be in its own fact. If you have both, the journal fact should include the ledger type dimension so you can easily reconcile the journal facts with the balances.
If this is GL data (account balances, not journals), then you should be able to use a single fact with a ledger type dimension (actual, budget(s), forecast(s)). If you are maintaining journal data (actuals only) this would be in its own fact. If you have both, the journal fact should include the ledger type dimension so you can easily reconcile the journal facts with the balances.
Similar topics
» Modelling question - Multiple fact tables with one to many relationships and querying from many fact tables
» Do I need multiple fact tables or dimensions
» Single fact table vs multiple fact tables - what is the right way in a dimensional model?
» Multiple Fact Tables vs. Consolidated Fact Table
» Joining Multiple Fact Tables
» Do I need multiple fact tables or dimensions
» Single fact table vs multiple fact tables - what is the right way in a dimensional model?
» Multiple Fact Tables vs. Consolidated Fact Table
» Joining Multiple Fact Tables
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum