Product Dim for Car manufacture
2 posters
Page 1 of 1
Product Dim for Car manufacture
Hi,
Im designing a Product dimension for car manufacturing company and fairly new to dimensional modelling.
Any help is much appreciated
The data we have is
Model BodyType Engine Fuel
D 2 Door 2 D
D 4 Door 2.2 D
D 5 Door 2.4 D
D 2 Door 2 P
D 4 Door 2.2 P
D 5 Door 2.4 P
E 2 Door 2 D
E 4 Door 2.2 D
E 5 Door 2.4 D
E 2 Door 2 P
E 4 Door 2.2 P
E 5 Door 2.4 P
The plan is to create a star schema but if i consider model as my grain there are other attributes which will define the model in the source data and becuase of the this my model will repeating many times in the table
Do i need to snoflake the Bodytype and Engine etc
Thanks
keka
Im designing a Product dimension for car manufacturing company and fairly new to dimensional modelling.
Any help is much appreciated
The data we have is
Model BodyType Engine Fuel
D 2 Door 2 D
D 4 Door 2.2 D
D 5 Door 2.4 D
D 2 Door 2 P
D 4 Door 2.2 P
D 5 Door 2.4 P
E 2 Door 2 D
E 4 Door 2.2 D
E 5 Door 2.4 D
E 2 Door 2 P
E 4 Door 2.2 P
E 5 Door 2.4 P
The plan is to create a star schema but if i consider model as my grain there are other attributes which will define the model in the source data and becuase of the this my model will repeating many times in the table
Do i need to snoflake the Bodytype and Engine etc
Thanks
keka
keka- Posts : 5
Join date : 2013-08-29
Re: Product Dim for Car manufacture
If you want to create a dimension that contains each unique vehicle type (i assume you do not consider options) then that is what you do. Have a natural key that considers more than model. Model & trim would be more appropriate.
Re: Product Dim for Car manufacture
Hi ngalemmo,
Thanks for your response.
The Fact table which i have is at lowest grain of Engine type and body type.
All the reporting is done at engine type and body type.
below are the attibutes related to product
BRANDDesc
model family
BodyType
FuelType
EngineType
There are four brands and each brand can have multiple models and each model can have multiple body type and each model can have mutlple engine types
When creating a dimension table for product is it better to consider engine type and body type as my primary key or consider model as primary key and snow flake the rest of the attriutes
any help is much appreciated.
Thanks
keka
Thanks for your response.
The Fact table which i have is at lowest grain of Engine type and body type.
All the reporting is done at engine type and body type.
below are the attibutes related to product
BRANDDesc
model family
BodyType
FuelType
EngineType
There are four brands and each brand can have multiple models and each model can have multiple body type and each model can have mutlple engine types
When creating a dimension table for product is it better to consider engine type and body type as my primary key or consider model as primary key and snow flake the rest of the attriutes
any help is much appreciated.
Thanks
keka
keka- Posts : 5
Join date : 2013-08-29
Re: Product Dim for Car manufacture
You can't snowflake the other attributes if the PK of the primary table is model. So there is no point in snowflaking. You could treat each as separate dimensions and include those dimensions in the fact.
Re: Product Dim for Car manufacture
Hi ngalemmo,
Thanks for your reply.
Is this something you are referring to.
https://servimg.com/view/18505305/1
Correct me if any thing different
Thanks
Keka
Thanks for your reply.
Is this something you are referring to.
https://servimg.com/view/18505305/1
Correct me if any thing different
Thanks
Keka
Last edited by keka on Mon Sep 02, 2013 4:34 pm; edited 3 times in total (Reason for editing : uploading image)
keka- Posts : 5
Join date : 2013-08-29
Similar topics
» How to model Product Bundles
» Product Dimensions - Single Product Code Mutliple Services
» Sparse Product Dim vs Heterogeneous Product Dim
» Insurance product
» Kalido - experience with the product?
» Product Dimensions - Single Product Code Mutliple Services
» Sparse Product Dim vs Heterogeneous Product Dim
» Insurance product
» Kalido - experience with the product?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum