Hi all,
Our etl processes general ledger data from our asset management system into a dimensional datamart. It can happen that we must process mutliple months of data using the SCD2 transformation. They are conactenated into a single source table. As such the source table will contain multiple rows for the same key. The "valid from" date is in the data. This works quite well if I process one month worth of data. But if I have something like:
SecurityID, Date, MarketValue
ABCD, 01apr2011, 100
ABCD, 01may2011, 99
in the target dimension table the begin- and end dates get messed up. The first row is closed out with its own beginning date instead the next begindate - 1. When I allow multiple updates per day I get end-date=begin-date-1, which is even weirder.
My conclusion is that the current implementation of the scd2 transform does not support multiple occurences of the same business key in the source table but I find no evidence of that in the docs.
Or is it? Am I missing the magic option? Please help. Thanks in advance.
Regards, Jan.
Message was edited by: jklaverstijn
Message was edited by: jklaverstijn