dbTalk Databases Forums  

Populating fact table : SSIS : SQL Server 2005

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Populating fact table : SSIS : SQL Server 2005 in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AKaramatullah@gmail.com
 
Posts: n/a

Default Populating fact table : SSIS : SQL Server 2005 - 11-07-2005 , 04:01 PM






I'm new to SQL DTS services. Am trying to build a test data warehouse
on SQL Server 2005 and I have 4 dimensions and a fact table. The
dimensions contain auto generated keys. In the fact table, there's a
single field that depends on the combination of the foreign keys that
come from the dimensions.

I can't figure out a way to populate the fact table. Any help in this
regard will be greatly appreciated.


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Populating fact table : SSIS : SQL Server 2005 - 11-07-2005 , 04:12 PM






You have single attribute in the FACT table that is effectively a smart
key to 4 dimensions?

How then do you pivot on values?
How do users add dimensions/hierarchies/levels to an axis?

If that is the way you have it then you can use Lookups to retrieve the
dimension key values and then use a Derived Column Transform to generate
the smart key

Allan


"AKaramatullah (AT) gmail (DOT) com" <AKaramatullah (AT) gmail (DOT) com> wrote


Quote:
I'm new to SQL DTS services. Am trying to build a test data warehouse
on SQL Server 2005 and I have 4 dimensions and a fact table. The
dimensions contain auto generated keys. In the fact table, there's a
single field that depends on the combination of the foreign keys that
come from the dimensions.

I can't figure out a way to populate the fact table. Any help in this
regard will be greatly appreciated.


Reply With Quote
  #3  
Old   
nFactor
 
Posts: n/a

Default Re: Populating fact table : SSIS : SQL Server 2005 - 11-08-2005 , 02:04 PM



Thanks for the prompt reply Allan.

I'm using a typical star schema. The dimensions have auto-generated
PKs. These are FKs in the FACT table plus one attribute (say 'XYZ' for
reference) that's BASED on the FKs combination.

Using SSIS, I have been able to clean the data. Now, I need some way to
populate the DIMENSIONS and the FACT table such that I have the correct
value for XYZ for every combination of the FKs that exists.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.