Table of Contents

Search

  1. Preface
  2. Using the Designer
  3. Working with Sources
  4. Working with Flat Files
  5. Working with Targets
  6. Mappings
  7. Mapplets
  8. Mapping Parameters and Variables
  9. Working with User-Defined Functions
  10. Using the Debugger
  11. Viewing Data Lineage
  12. Comparing Objects
  13. Managing Business Components
  14. Creating Cubes and Dimensions
  15. Using the Mapping Wizards
  16. Datatype Reference
  17. Configure the Web Browser

Designer Guide

Designer Guide

Steps to Create a Type 1 Dimension Mapping

Steps to Create a Type 1 Dimension Mapping

To create a slowly growing target mapping, complete the following steps:
  1. In the Mapping Designer, click Mappings > Wizards > Slowly Changing Dimension.
  2. Enter a mapping name and select Type 1 Dimension, and click Next.
    The naming convention for mappings is m_
    MappingName
    .
  3. Select a source definition to be used by the mapping.
    All available source definitions appear in the Select Source Table list. This list includes shortcuts, flat file, relational, and Application sources.
  4. Enter a name for the mapping target table. Click Next.
    The naming convention for target definitions is T_
    TARGET_NAME
    .
  5. Select the column or columns you want to use as a lookup condition from the Target Table Fields list and click Add.
    The wizard adds selected columns to the Logical Key Fields list.
    The columns you select should be a key column in the source.
    When you run the workflow containing the session, the Integration Service performs a lookup on existing target data. The Integration Service returns target data when Logical Key Fields columns match corresponding target columns.
    To remove a column from Logical Key Fields, select the column and click Remove.
  6. Select the column or columns you want the Integration Service to compare for changes, and click Add.
    The wizard adds selected columns to the Fields to Compare for Changes list.
    When you run the workflow containing the session, the Integration Service compares the columns in the Fields to Compare for Changes list between source rows and the corresponding target (lookup) rows. If the Integration Service detects a change, it marks the row changed.
    To remove a column from the list, select the column and click Remove.
  7. Click Finish.
    The new mapping appears in the workspace. Make the necessary edits to the mappings.
    In the Type 1 Dimension mapping, the Designer uses two instances of the same target definition to enable inserting and updating data in the same target table. Generate only one target table in the target database.

0 COMMENTS

We’d like to hear from you!