Building expressions
Last updated: 10/16/2026Use expressions to calculate column values or define conditions when adding columns, editing column expressions, creating transformation rules, or filtering datasets.
The expression builder lists the elements available for the current task. The movement-task references cover SaaS-managed landing, lake landing, and replication tasks. Storage, transform, and data mart expressions depend on the data platform or task engine. For CDC Storage and Streaming Transform functions, see Transformation functions. Use the functions and syntax available in your editor.
Creating or editing an expression
-
Open the expression builder from the column, transformation rule, or dataset filter that you are configuring.
For a column expression, click
on the column.
-
Select an element, then click
to insert it.
You can also type the expression. Insert column parameters to supply values from each source row, preserving the syntax used by your editor.
To insert an operator from the toolbar, click where it belongs in the expression, then click the operator.
-
Replace function argument placeholders with column parameters, constants, or nested expressions.
Enclose text and date constants in single quotes, such as
'Unknown'and'2026-10-08'. Represent an embedded quote with two quotes:'O''Brien'. Enter numbers without quotes, such as12or12.5. UseNULLfor a missing value, not the text'NULL'. -
Test the expression as described below, then click OK to save it.
Using expression elements
-
Columns: Source dataset columns supply values from the row being processed.
For Streaming Transform tasks, this list also includes landing columns such as
hdr__kafka_partitionandhdr__file_name, in source order. These are separate from theQ_H_headers in movement-task expressions. See Landing tables. -
Functions: Calculate or convert values. Supply arguments in the order shown by the function signature. See Expression functions.
Information noteFor Azure Synapse Analytics expressions,$RTRIMand$LTRIMtrim only spaces, regardless of the specified trim character. -
Operators: Combine values, compare them, or define conditions. Use parentheses to control evaluation order. See Expression operators.
-
Headers: Use change metadata in SaaS-managed landing, lake landing, and replication tasks. See Expression headers for source endpoint applicability and processing-phase values.
Example: Combining column values
The following expression joins first_file_name and first_file_title with a colon:
${first_file_name} || ':' || ${first_file_title}
For the sample values sales and Sales June 2022, the result is sales:Sales June 2022.
Editing an expression

Testing expressions
Use sample parameter values to check the calculated result before saving. Parameter extraction identifies expression inputs; testing evaluates the expression with the values you provide.
$SOURCE_LOOKUP and $TARGET_LOOKUP functions is not supported.-
Click Extract parameters.
-
Enter a Value to test for each parameter, using values appropriate for the column data type.
-
Click Test expression and check the result.
If the expression is invalid, correct its syntax and arguments, then extract the parameters again before retesting. Repeat with representative values, including missing values where relevant. A successful sample test does not check every source row.