Technique for managing conformed dimensions with different granularity
3 posters
Page 1 of 1
Technique for managing conformed dimensions with different granularity
Technique for managing conformed dimensions with different granularity
I have two business processes which take measurements at two levels within one conformed dimension.
One business process has information at the city level, and the other business process has information at the state level.
My question is what is the best way to implement this conformed dimension?
Would I be best having a dimension table something like this:
Or would I have two separate but conformed dimension tables like this:
Or does it not really matter, or is there a better way?
I have two business processes which take measurements at two levels within one conformed dimension.
One business process has information at the city level, and the other business process has information at the state level.
My question is what is the best way to implement this conformed dimension?
Would I be best having a dimension table something like this:
Dimension_Sid | City | State | Country |
1 | Dover | Delaware | USA |
2 | Wilmington | Delaware | USA |
3 | Not recorded | Delaware | USA |
4 | Montgomery | Alabama | USA |
5 | Not recorded | Alabama | USA |
6 | Birmingham | Alabama | USA |
7 | Not recorded | Illinois | USA |
8 | Chicago | Illinois | USA |
9 | Springfield | Illinois | USA |
Or would I have two separate but conformed dimension tables like this:
Dimension_Sid | City | State | Country |
1 | Dover | Delaware | USA |
2 | Wilmington | Delaware | USA |
3 | Montgomery | Alabama | USA |
4 | Birmingham | Alabama | USA |
5 | Chicago | Illinois | USA |
6 | Springfield | Illinois | USA |
Dimension_Sid | State | Country |
1 | Delaware | USA |
2 | Alabama | USA |
3 | Illinois | USA |
Or does it not really matter, or is there a better way?
ezryder- Posts : 2
Join date : 2011-09-15
Re: Technique for managing conformed dimensions with different granularity
You can do it either way. Having just a state dimension can sometimes be useful independent of a city, state, zip, msa, etc, type hierarchy. The grain of the fact tables using a dimension doesn't have any impact on whether the dimension is conformed.
BoxesAndLines- Posts : 1212
Join date : 2009-02-03
Location : USA
Re: Technique for managing conformed dimensions with different granularity
Agreed. Conformity is more a matter of the attribute values being consistent rather than using the same physical table.
Similar topics
» Managing conformed dimensions
» Data Vault vs Kimball
» Can a conformed dimension have a varying granularity?
» Facts Tables linking to different granularity of a Conformed Dimension
» Actual and Plan Facts at different granularity - one conformed dimension?
» Data Vault vs Kimball
» Can a conformed dimension have a varying granularity?
» Facts Tables linking to different granularity of a Conformed Dimension
» Actual and Plan Facts at different granularity - one conformed dimension?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum