Calculated Columns

The Calculated Columns node enables users to manipulate columns during the data flow. Once the node has been connected to the relevant table, provide a PQL script in order to create or manipulate column values, or perform calculations on existing column values, and add these manipulations as an additional column.

There are two ways to provide a script:

  • Write your script in the Calculated Column window
  • Write your script in the PQL Editor

To add multiple calculated columns to the same table, add another calculated column node and connect it to the existing one. functions.

Calculated Columns Script Window

Write a PQL expression in the script window (red highlight below):

  • Use square brackets to select a column
  • PQL scripts are case-sensitive - make sure that column headings are written in the correct case

Under Calculated Column Name provide a name for the new column, and under Calculate Column Type select the relevant column type (green highlight)

PQL Editor

The PQL Editor is a script-writing interface with drag and drop functionality. Click here to learn more.

Users can open the PQL Editor by clicking the Advanced Script button (blue arrow above) in the Calculated Column window.

Add a Calculated Column


Add the Calculated Column node to the canvas and connect it to the relevant table.


In the Script window, write your PQL script. Open the PQL editor (red arrow) to write your PQL expression by selecting the required functions, columns, variables, and elements. For details about PQL, click here.

Name your calculated column, and select the column type (green highlight).


Click the to preview.