Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Ues parameter value in new field

$
0
0
I am exploring Kettle as a new user.

I have set a parameter in a transformation, and I want to use the parameter value in a new derived field. I have looked at both Calculator and Formula, but can't find any idea to get the value in the parameter down to a new field.

What is the best way to approach this? Do I need to write java/java script to accomplish this?

What if I want to use it as part of the condition? For example for something like
if input_field_1 = ${parameter_value}
then set to 1
else set to 2.

This derivation will be performed at row level.

Thanks

L

Viewing all articles
Browse latest Browse all 16689

Trending Articles



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