Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Multi-Field Tool with dynamic fieldnames in formula expression

$
0
0

Hi All,

 

I am wondering whether there is an elegant solution to the following problem.

Example data:

v1, v1faktor,

v2, v2faktor,

v3, v3faktor, ...

 

Following data should be the output:

v1new = v1 * v1faktor,

v2new = v2 * v2faktor,

v3new = v3 * v3faktor, ...

 

I tried the multi-field tool with v1, v2, v3 as input, but struggled to modifiy the field name in the expression to work dynamically.

Is it possible to make an expression similar to [_CurrentField_] * '['+'[_CurrentFieldName_]'+'faktor]'

 

Thanks for any help in advance!

 

Sabine


Viewing all articles
Browse latest Browse all 4999

Trending Articles