Expression builder overview
The following section provides an overview of the Expression Builder functionality.
The Expression Builder consists of the following panels:
-
Tabs on the left of the Expression Builder: These tabs contains elements that you can add to an expression. Select elements and add them to the Build Expression pane to create an expression. For more information, see Building expressions.
The following tabs are available:
-
Parameters - Only displayed when opening the Expression Builder from within the Reusable Transformations > Edit Transformation window.
For information on reusable transformations, see Defining reusable transformations below.
- Input Columns/Input Attributes - Columns/attributes that can be used to build your expression.
-
Transformations - Contains a list of reusable transformations. The tab is not displayed if no reusable transformations have been defined.
For information on reusable transformations, see Defining reusable transformations below.
- Operators - Operators that can be used to build your expression.
-
Functions - Functions that can be used to build your expression.
Information noteThe Operators and Functions displayed in the Expression Builder use SQL format. As SQL support and implementation is different for each data warehouse (i.e. database) type and version, the data warehouse being used in your Compose project will determine which Operators and Functions will be available. For example, functions introduced with Microsoft SQL Server 2017 will not work if the database being used for the data warehouse is Microsoft SQL Server 2015.
Additionally, the list of Operators and Functions displayed in the Expression Builder is not comprehensive. However, you can use any Operators and Functions supported by the data warehouse, even if they are not included in the list.
For an explanation of the available Operators and Functions, refer to the Help for your data warehouse.
-
- Build Expression Pane: The Build Expression pane is where you build your expression. You can add elements, such as columns or operators to the panel as well as type all or part of the expression. For more information, see Building expressions.
- Parse Expression Pane: This pane displays the parameters for the expression. After you build the expression, click Parse Parameters to list the expression parameters. You can then edit the parameters, enter a value for each of the parameters and associate attributes with them. For more information, see Parsing expressions.
- Test Expression Pane: This panel displays the results of a test that you can run after you provide values to each of the parameters in your expression. For more information, see Testing expressions .