Creating lookup tables
Lookup tables allow you to define lists of 'transformed output values' dependent on ranges of source data.
To create a new lookup table for a transformation:
- From the Transfer Desk toolbar, click . The Lookup Table Designer is displayed.
- In the Lookup Table Designer, select or click .
- Enter a name for the lookup table and click .
- Use the Business Unit field to select the required business unit that contains the specific data for the new lookup table, or leave it as the default, Global Data, if you want the table to apply to all business units.
- From the Lookup Table Designer
toolbar, click Add New Row dialog
is displayed. Enter the Range From and
To fields to specify the range of
data that the lookup table row applies to.
Note: You cannot add rows where the range overlaps an existing row.
. The
- From the Lookup Table Designer toolbar, click Add New Column dialog is displayed. Enter a unique name for the column and click . . The
- From the Lookup Table Designer toolbar use the following buttons to define the new table:
Repeat steps 6 and 7 to add as many columns and rows as you need in order to create a transformation lookup table to your requirements.
For example, you might have a column called Output_Value, with two rows defined. The first row might have Range From 001 To 009, and the second row Range From 010 To 999.
Setting the Column Value Type for each row
Each row (or data range) can have different column value types. In the above example, Range From 1 To 9 might have a column value type of <copy> (Copy original value), and Range 10 To 999 might have a column value type of Constant, with value 9.
Click the query button to display the Column Value dialog. Select a value type from the drop-down list if required. Available values are:
Constant
- Copy original value
<Copy>
- Map other source value
<Map To>
- Omit value
<Omit>
- Reverse sign
<Reverse sign>
.