Using the Value Mapping Component

The Value Mapping Component is an SSIS data flow transformation component that can be used to manage translation of input values.

The component includes the following page to configure how you want to translate the values of your input data.

Value Mapping Editor

The Value Mapping component allows you to specify an input column which you would like to translate its values to predefined output values.

Value Mapping SSIS Component

Input Column

This is a drop-down menu which lists all the available columns from your upstream SSIS component to choose from.

The toolbar above the Values Mapping grid contains four buttons. The first two buttons allow you to add or delete a mapping entries. The Import button allows you to import from a mapping that you previously saved or exported. The Export button allows you to export all mapping values in the grid to a .xml file so that edits can be made using a different tool that you feel more comfortable with.

Handling of non-matched values

This allows you to specify how to handle non-matched values. There are four options available.

  • Replace as: When this option is used, you must specify the option value to be used if no match is found.
  • Set as empty: This option will set the output value of the column to empty if no match is found.
  • Leave it as is: This option allows you to pass through the input value without making any change when no match is found.
  • Raise an error: This option allows you to throw an exception which fails the component entirely when no match is found for a particular input value.
Expression fx Button 

Clicking the fx button to launch SSIS Expression Editor to enable dynamic update of the property at run time.

Generate Documentation Button 

Clicking the Generate Documentation button to generate a Word document which describes the component's metadata including relevant mapping, and so on.