display-medicalSCDs

Slowly Changing Dimensions ..

circle-exclamation

Workshop - Slowly changing dimensions (SCDs)

Dimension Lookup

circle-info

Workshop files

Download the following files.

Keep the filenames unchanged.

Save them in your workshop folder.

file-download
223B
file-download
18KB

circle-info

Create a new transformation

Use any of these options to open a new transformation tab:

  • Select File > New > Transformation

  • Use Ctrl+N (Windows/Linux) or Cmd+N (macOS)

tr_scd

triangle-exclamation

Transformation

circle-info

SCD table

First step in these series of workshops, is to create a simple DIM_SCD table that has the required fields to illustrate a Type 1 change - just overwrite the value - and Type 2 - where you need to record when any change in the value occurs.

  1. Start PDI.

circle-info
circle-exclamation
  1. In your DB management tool, execute the following statement.

DIM_SCD

Last updated

Was this helpful?