Quantcast
Viewing all articles
Browse latest Browse all 24688

Derived column based on SQL Query lookup

Hello Wisers,

I have an setup a "DERIVED Column" which reads data from excel and add additional columns that are required down stream.

One of the column is "LOCATION" where the input data is short codes say e.g "IN", "ENG", "JAP" for INDIA, ENGLAND and JAPAN.

The Output goes to a database column which expects the value to be of format "IN - INDIA", "ENG - ENGLAND" and so on.

I have a look up table which is setup to with the two columns as below,

Code| Value

IN| India

ENG|England

JAP| Japan

Kindly suggest a method that can read the input from excel at run-time to read the short codes and provide the result "Code - Value" if possible in the derived column transform.

Thanks in advance.

RJ



Viewing all articles
Browse latest Browse all 24688


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>