[]

The Add Columns transformation command is used to add one or more columns with a formula that uses the values of the input columns. The formula gets evaluated to create a new column in the output of the command. You can also use the command to add a column with constant values for example to identify the source of the data.

After you add an Add Column ETL command to the ETL designer and connect an input to it, you need to provide:
A name for the new column.
A formula.
Click the Expand icon (two arrow-headed icon) to open the Expression editor and enter the formula. The expression editor shows all the functions you can use in the formula and you can drag and drop columns to build the formula.
Click Add Calculated Column to add a column with a formula or Add Constant value to the output of the command. You can remove a field by clicking the Recycle Bin icon to the right of each field.

This data flow uses two instance of the Add Calculated Column command. The first one adds an ExtendedPrice column which multiples the unit price with quantity columns. The second instance uses the ExtendedPrice column to add two more columns for the discount and PaymentDue columns.