Transform values of a field via arbitrary functions, method invocations or dictionary translations.
Example
Example Input
dim_A | dim_B | metric_1 |
AAA | BBB | 111 |
CCC | DDD | 222 |
EEE | FFF | 333 |
Example Output
dim_A | dim_B | metric_1 |
passed | BBB | 111 |
failed | DDD | 222 |
failed | FFF | 333 |
I Ain't Afraid of No Code!
[
"convertx",
{
"subtable": null,
"field": "metric_1",
"expression": "\"0 if {Conversion Pixel} == 'Total' else {Post-Click Conversions}\"",
"_comment": null
}
]
param str subtable: Name a subtable in which output will be stored (will create subtable where necessary).
param str field: Field name.
param str expression: Expression to be performed on all fields’ values.
param str comment: A comment that will appear in the Transformation UI.
Comments
0 comments
Article is closed for comments.