Use Arithmetic Operators
You can combine columns using arithmetic operators like in MS Excel.
For example, to multiply the values of the price and
quantity columns, you can use the expression:
price * quantity
Use Arithmetic OperatorsYou can combine columns using arithmetic operators like in MS Excel. For example, to multiply the values of the price * quantity Call a FunctionComplete Syntax to Call a FunctionThe complete syntax to call a function is: <value_type>.<selected_function>(<argument 1>, <argument 2>, ...) Where:
Example: String.concat(values: "my"+"-"+Country+" "+brewer) In this example:
It gives the following results: ![]() Shortcut Syntax to Call a FunctionYou can also use a shortcut syntax to call a function. For example, for a column transformation, the shortcut syntax is: <column_name>.<selected function>(<function argument>) Learn by Example: Column Transformation
In this example, we use the shortcut syntax to transform a column called
We want to create a new column called
Note:
Writing expressions is not limited to column transformation, you can also transform
rows, create new columns, and perform other operations.
| ||||||||||||