List of fields to be kept, the rest are removed.
Example

Example Input
dim_A | dim_B | metric_1 |
AAA | DDD | 111 |
BBB | EEE | 222 |
CCC | FFF | 333 |
Example Output
dim_A | metric_1 |
AAA | 111 |
BBB | 222 |
CCC | 333 |
I Ain't Afraid of No Code!
[
[
"cut",
{
"subtable": null,
"fields": [
"dim_A",
"metric_1"
],
"_comment": null
}
]
]
param str subtable: Name a subtable in which output will be stored (will create subtable where necessary).
param list fields: List of field names to be kept.
param str comment: A comment that will appear in the Transformation UI.
Comments
0 comments
Article is closed for comments.