COGNOiSe.com - The IBM Cognos Community

ETL, App Development and other tools => COGNOS DecisionStream/Data Manager => Topic started by: larus on 22 Aug 2012 12:57:20 AM

Title: Can DM create SCD type2 dimensions?
Post by: larus on 22 Aug 2012 12:57:20 AM
Is there a possibility to create slowly changing dimensions (type 2) using Data Manager?
Title: Re: Can DM create SCD type2 dimensions?
Post by: wyconian on 22 Aug 2012 02:48:30 AM
Yeah

There are a couple of ways of doing it, you can get the dimension builds to track changes and add effective to/from dates to a record (I think that's a property on the actual fact build).  Or you can do it manually using some kind of a delta load and manually adding effective to/from dates.
Title: Re: Can DM create SCD type2 dimensions?
Post by: MFGF on 24 Aug 2012 05:04:13 AM
Dimension Builds inherently support both Type 1 and Type 2 changes. When using the Dimension Build Wizard, all you need to to is to check the option to use surrogate keys and the option to track changes. On the next page, set the "Track" checkbox on for any columns you wish to perform Type 2 changes for, and leave the checkbox empty for any columns you want to do Type 1 changes for.

If you are creating the dimension build manually, you need to add the relevant attributes and behaviours to handle change tracking in the output template.

Cheers!

MF.