The Qlik Replicate Expression Builder provides an easy way to build an expression. It provides you with easy access to the required elements for your expression without having to type out any information manually. You access the Expression Builder through the dialog boxes where you define Filters, Defining transformations for a single table/view, and Global Transformations when you do any of the following:
To use the Expression Builder:
- To navigate to the expression builder screen, open the task in Designer mode (1)
- From the selected table grid double-click the table name (2)
- This opens the Table Settings - [Table Name] window
- Select the Transform tab, which will list the task's tables.
For this tutorial, we will create a new column for the company address E.G company name + address.
- Click Add Column.
- This opens the Expression Builder
- To create an expression that will combine the COMPANY and ADDRESS:
- In the Input Columns tab add the COMPANY name column to the Build Expression box.
- Click the concatenate (||) operator from the Operator bar at the top of the Build Expression box.
- In the Input Columns tab add the ADDRESS column to the Build Expression box.
- Your screen should look like that: “$CompanyName||$Address
- Click [Parse Expression]
- Add new values
- Click [Test Expression]
- Verify that the results are the excepted
- Click [OK]
- Verify the newly added column.
- Run the task and check that the newly created files apres on the target system
Related Content:
Using the Expression Builder