Relationship between view-dimension and fact table
2 posters
Page 1 of 1
Relationship between view-dimension and fact table
Hi,
I've read about the method to generate one date-view for each date-attribute in the facttable(s).
There is no way to join a view and a table, I think. So it's not possible to use viewtables for date-dimensions, as told at page 110 in The DWH Toolkit.
What do you think about that?
Greetings
Markus
I've read about the method to generate one date-view for each date-attribute in the facttable(s).
There is no way to join a view and a table, I think. So it's not possible to use viewtables for date-dimensions, as told at page 110 in The DWH Toolkit.
What do you think about that?
Greetings
Markus
Markus627- Posts : 14
Join date : 2011-06-20
Re: Relationship between view-dimension and fact table
I assume you are referring to role based FK references to the same dimension. For example a fact may have an order_date_key and a ship_date_key, both of which reference the date dimension.
There is no reason you could not create views of the date dimension for each role. You can join to the views, in most cases, with no difference in query performance.
Usually, this is not really necessary if you are using a BI tool for the user interface. Most tools permit aliasing tables to handle multiple roles, providing the same functionality in a easier manner.
There is no reason you could not create views of the date dimension for each role. You can join to the views, in most cases, with no difference in query performance.
Usually, this is not really necessary if you are using a BI tool for the user interface. Most tools permit aliasing tables to handle multiple roles, providing the same functionality in a easier manner.
Similar topics
» Integrating new fact table which has one to many relationship with the main fact table in existing star schema
» How do I join a role playing date dimension view with a Fact table in SQL Server?
» Relationship between fact table and dimension tables
» many to many fact table relationship - use dimension, bridge or ?
» How to Model Fact table having 1:1 relationship with key Dimension attributes
» How do I join a role playing date dimension view with a Fact table in SQL Server?
» Relationship between fact table and dimension tables
» many to many fact table relationship - use dimension, bridge or ?
» How to Model Fact table having 1:1 relationship with key Dimension attributes
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum