Tabular Operators
extend
Learn how to create calculated columns and append them to the result set.
Creates calculated columns and appends them to the result set.
Syntax
Arguments
name | type | description |
---|---|---|
Alias | string | The name of the column to add or update. |
Expression | expression | A calculation over the columns of the dataset. |
Returns
A copy of the input dataset result similar to the one below:
- Column names noted by extend that already exist in the input are removed and appended as their new calculated values.
- Column names noted by extend that do not exist in the input are appended as their new calculated values.
Examples
Was this page helpful?