Kimball Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Country Dimension

4 posters

Go down

Country Dimension Empty Country Dimension

Post  mjak Sun Jun 02, 2013 3:01 pm

Hi,

I have a straight forward type 1 Country dimension with just country code and name. Now we want to capture the origin of the country as well. E.g. czechoslovakia is origin country for Czech republic and Slovakia. What's the best way to handle this? Making this into Type 2 will not help as 2 records are created from 1.

mjak

Posts : 2
Join date : 2013-06-02

Back to top Go down

Country Dimension Empty Re: Country Dimension

Post  BoxesAndLines Mon Jun 03, 2013 8:59 am

Add another column.
BoxesAndLines
BoxesAndLines

Posts : 1212
Join date : 2009-02-03
Location : USA

Back to top Go down

Country Dimension Empty Re: Country Dimension

Post  LAndrews Mon Jun 03, 2013 12:35 pm

Great example of a type-3 SCD.

As boxesandlines suggested, you create additions colummn(s) .....

LAndrews

Posts : 132
Join date : 2010-05-13
Location : British Columbia, Canada

Back to top Go down

Country Dimension Empty Re: Country Dimension

Post  mjak Mon Jun 03, 2013 12:51 pm

LAndrews wrote:Great example of a type-3 SCD.

As boxesandlines suggested, you create additions colummn(s) .....

But there is possible scenario of merging as well. East and West Germany merged to become Germany.

mjak

Posts : 2
Join date : 2013-06-02

Back to top Go down

Country Dimension Empty Re: Country Dimension

Post  ngalemmo Mon Jun 03, 2013 2:49 pm

If this is a critical aspect of your data warehouse, then you can represent the political meanderings of nations as a factless fact table.
ngalemmo
ngalemmo

Posts : 3000
Join date : 2009-05-15
Location : Los Angeles

http://aginity.com

Back to top Go down

Country Dimension Empty Re: Country Dimension

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum