Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

Updating a dimension table

$
0
0

How would I be able to achieve the following (I tried using a classic chain of a table compare, history preserve and row generation, but to no avail, as only the most recent record gets updated):

 

Suppose I have an employee dimension with just five columns: surrogate key, business key, employee name, position, date of birth. I only want inserts of new records and changed records based on a change of function, i.e. the other columns I'm not really interested in in terms of history, so they should really just be overwritten.

 

So if an employee has changed position a number of times, but HR finds out that the year of her DOB was initially entered incorrectly I want all of the records pertaining to that person to be corrected. How would I be able to achieve this (ideally the whole logic in one single data flow)? Thanks in advance.


Viewing all articles
Browse latest Browse all 4013

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>