Different dimension level from different source?

This is a discussion on Different dimension level from different source? within the sqlserver-datawarehouse forums in Data Warehousing category; I need to load files from different source. They may provide different granularity of dimensions. For example, there is a dimension table Location: LocationKey, zip, city, state, .... Some source can provide zip for the fact table, but some can only provide city or state. What's the best way to handle this? Create some pseudo zip codes to whole citis and whole states? Or give each city a default zip and each state a default zip/city and add a flag to indicate the missing of zip and city? Thanks,...

Go Back   Database Forum > Data Warehousing > sqlserver-datawarehouse

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-08-2008, 03:04 AM
Default Different dimension level from different source?

I need to load files from different source. They may provide different
granularity of dimensions. For example, there is a dimension table
Location:

LocationKey, zip, city, state, ....

Some source can provide zip for the fact table, but some can only
provide city or state. What's the best way to handle this? Create some
pseudo zip codes to whole citis and whole states? Or give each city a
default zip and each state a default zip/city and add a flag to
indicate the missing of zip and city?

Thanks,
Reply With Quote
  #2  
Old 08-11-2008, 04:23 AM
Default RE: Different dimension level from different source?

Hello

Maybe a Parent Child dimension with non leaf menbers with data.
--
Ricardo Junquera
Consultor Business Intelligence

BG&S Online Consultores
Ganadora del Premio Microsoft Business Awards 2008.
Partner de Soluciones : Satisfacción de Cliente.



"nkw" wrote:

> I need to load files from different source. They may provide different
> granularity of dimensions. For example, there is a dimension table
> Location:
>
> LocationKey, zip, city, state, ....
>
> Some source can provide zip for the fact table, but some can only
> provide city or state. What's the best way to handle this? Create some
> pseudo zip codes to whole citis and whole states? Or give each city a
> default zip and each state a default zip/city and add a flag to
> indicate the missing of zip and city?
>
> Thanks,
>

Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 05:42 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.