Dimensional Model question
3 posters
Page 1 of 1
Dimensional Model question
Hi folks,
Before I ask my question, I would like to apologize for my bad english. English is not my native language.
So, i have to create a star schema dimensional model for a specific and separate data mart. It will be for a part of Sale business process.
I have the following preliminary dimensions: Date, Material (or Product), Channel Sales. The Material Dimension has a hierarchy one level above it: Material Group. But in my facts tables the grain is Material.
My problem is about the Material Group entity. Material Group has two important attributes: 'Max Discount' and 'Mark up'. These attributes have irregular updates that i will probably keep the history, so we can consider it a fast changing dimension i think.
So, Are these attributes really attributes or measures?
Do i snowflaking 'Material Group' in another dimensional? Do I keep 'Material Group' and its attributes in 'Material' Dimension ? Do I need to create another fact (or a factless fact table i dont know) to put these two information? Do I put them in a bridge dimension or a mini-dimension?
Tks.
Before I ask my question, I would like to apologize for my bad english. English is not my native language.
So, i have to create a star schema dimensional model for a specific and separate data mart. It will be for a part of Sale business process.
I have the following preliminary dimensions: Date, Material (or Product), Channel Sales. The Material Dimension has a hierarchy one level above it: Material Group. But in my facts tables the grain is Material.
My problem is about the Material Group entity. Material Group has two important attributes: 'Max Discount' and 'Mark up'. These attributes have irregular updates that i will probably keep the history, so we can consider it a fast changing dimension i think.
So, Are these attributes really attributes or measures?
Do i snowflaking 'Material Group' in another dimensional? Do I keep 'Material Group' and its attributes in 'Material' Dimension ? Do I need to create another fact (or a factless fact table i dont know) to put these two information? Do I put them in a bridge dimension or a mini-dimension?
Tks.
Jhonny- Posts : 2
Join date : 2012-07-16
Re: Dimensional Model question
I would make material group a dimension and add an FK to it in the fact.
Max Discount is an attribute. The actual discount given would be a measure in the fact table.
Not sure about markup. I would store it as an attribute, but also place it as a measure in the fact so you know the markup at the time of sale.
Max Discount is an attribute. The actual discount given would be a measure in the fact table.
Not sure about markup. I would store it as an attribute, but also place it as a measure in the fact so you know the markup at the time of sale.
Re: Dimensional Model question
ngalemmo, Tks a lot for the reply.
About 'Material Group', Should I create this dimension without connection(FK) with 'Material' dimension? So the Material and Material Group relationship will keep in the fact table, right?
About 'Material Group', Should I create this dimension without connection(FK) with 'Material' dimension? So the Material and Material Group relationship will keep in the fact table, right?
Jhonny- Posts : 2
Join date : 2012-07-16
Re: Dimensional Model question
Yes or you place material group attributes in the material dimension itself.
Re: Dimensional Model question
ngalemmo; if you place material group attributes in the material dimension dont you think we need to handle the fast changing material group changes in the material dimension
assuming your 1st answer to be the rite one; create a seperate material group dimension and associate it directly to fact...
this way your model is simple star...
Johnny; I vote for it! create material group dimension without connection(FK) with 'Material' dimensio & the Material and Material Group relationship is available in the fact table
assuming your 1st answer to be the rite one; create a seperate material group dimension and associate it directly to fact...
this way your model is simple star...
Johnny; I vote for it! create material group dimension without connection(FK) with 'Material' dimensio & the Material and Material Group relationship is available in the fact table
sgudavalli- Posts : 29
Join date : 2010-06-10
Age : 40
Location : Pune, India
Similar topics
» Question - creating a dimensional model for facility management
» Question - creating a dimensional model for incident management
» Rule based algorithm to convert an ER model to a dimensional model
» Complexities of Relational Model and Simplicities of Dimensional Model
» Why we use Dimensional Model over De-normalized relational Model ?
» Question - creating a dimensional model for incident management
» Rule based algorithm to convert an ER model to a dimensional model
» Complexities of Relational Model and Simplicities of Dimensional Model
» Why we use Dimensional Model over De-normalized relational Model ?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum