Hierarchy but not always the lowest grain is filled in
2 posters
Page 1 of 1
Hierarchy but not always the lowest grain is filled in
Hi,
I've sales data with a sales organization, channel and company information. Now the issue is that salesorganization (lowest grain) is not always filled. Sometimes the sales are booked on channel and sometimes on company level. I'm thinking of creating a compound key in the fact and determine every permutation of the Salesorganization, channel and company and in the dimension I'll determine this key too..
Good idea?
Let me know. I don't have a better solution at this moment;-) I could individually insert a dimension for company and one for salesorganization...etc but also not a neat solution imo...
But there is always a container for the rest of the sales?!.....
Greetz,
Hennie
I've sales data with a sales organization, channel and company information. Now the issue is that salesorganization (lowest grain) is not always filled. Sometimes the sales are booked on channel and sometimes on company level. I'm thinking of creating a compound key in the fact and determine every permutation of the Salesorganization, channel and company and in the dimension I'll determine this key too..
Good idea?
Let me know. I don't have a better solution at this moment;-) I could individually insert a dimension for company and one for salesorganization...etc but also not a neat solution imo...
But there is always a container for the rest of the sales?!.....
Greetz,
Hennie
hennie7863- Posts : 31
Join date : 2009-10-19
Re: Hierarchy but not always the lowest grain is filled in
I assume Sales Org > Channel > Company is a hierarchy? If so just create a dimension with records for every combination, including "Unknown", "Not Applicable" or whatever phrase you want, for any values that can be "missing" in the hierarchy.
I'm not sure what you mean by a compound key - this Dimension would just have a normal surrogate key
I'm not sure what you mean by a compound key - this Dimension would just have a normal surrogate key
nick_white- Posts : 364
Join date : 2014-01-06
Location : London
Similar topics
» How do we design parent-child relationship of the lowest grain in the fact.
» Hierarchy and grain in a Dimension
» Transaction fact with different grain dimension hierarchy
» Linking two Fact tables with different grain through a hierarchy dimension
» Modelling Product Dimension when incoming fact records have missing lowest level
» Hierarchy and grain in a Dimension
» Transaction fact with different grain dimension hierarchy
» Linking two Fact tables with different grain through a hierarchy dimension
» Modelling Product Dimension when incoming fact records have missing lowest level
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum