Separate Dimension or Hierarchy
Posted: Thu Aug 09, 2012 3:48 pm
Hello,
My question:
When is it better to create a dimension rather than a hierarchy within a dimension?
What are the trade-offs?
Will concatenating codes values make it difficult to drill-down to relational data in the source system?
Should the depth of the hierarchy be one of the deciding factors? By depth I mean the number of child elements owned by
a parent. If the majority of the parent accounts only one child then then the hierarchy is not useful.
An example of concatenating code values:
We have 5 segments in our Oracle Financials application.
Entity
Dept
Major Account
Performance code
InterCompany code
3 dimesniosn were created from these 6 code values:
Dim1 : Entity
Dim2 : Dept
Dim3: GLACCT [Major Account] - [Performance code] - [InterCompany code]
The three code values are contatenated to create one element in the GLACCT dimesion.
Major:
Major - Performance Code
Major - Performance Code - Intercompany code
008001 - Cash
008001-0000000 - Cash : Default
008001-0000000-000 - Cash : Default : Default
There is little value in this hierachy, since each parent only contains one child record. If the majority of the accounts are set up this way, would it be better to have three dimesnions rather than the hieratchy?
Thanks,
Walt
My question:
When is it better to create a dimension rather than a hierarchy within a dimension?
What are the trade-offs?
Will concatenating codes values make it difficult to drill-down to relational data in the source system?
Should the depth of the hierarchy be one of the deciding factors? By depth I mean the number of child elements owned by
a parent. If the majority of the parent accounts only one child then then the hierarchy is not useful.
An example of concatenating code values:
We have 5 segments in our Oracle Financials application.
Entity
Dept
Major Account
Performance code
InterCompany code
3 dimesniosn were created from these 6 code values:
Dim1 : Entity
Dim2 : Dept
Dim3: GLACCT [Major Account] - [Performance code] - [InterCompany code]
The three code values are contatenated to create one element in the GLACCT dimesion.
Major:
Major - Performance Code
Major - Performance Code - Intercompany code
008001 - Cash
008001-0000000 - Cash : Default
008001-0000000-000 - Cash : Default : Default
There is little value in this hierachy, since each parent only contains one child record. If the majority of the accounts are set up this way, would it be better to have three dimesnions rather than the hieratchy?
Thanks,
Walt