Default value for lookup

How can I specify a default value to return into the lookup field for Lookup Transformation - if the value did not found on the Reference Table

Do I have to this another way (after doing the lookup)

/Yossi D.


Answer this question

Default value for lookup

  • sroche

    Perhaps you could go to the Advanced tab and adjust the lookup query SQL to return a default value. (I haven't tried it.)

    Or

    Set the error option to ignore, so your rows that failed to return a value just flow down the main output with null values. You can then use a Derived Column to test for NULL and assign the default value.


  • Default value for lookup