Task
A table contains qty and price. The final file needs a per-row amount in line_total.
Short Answer
Create line_total from price and add a Multiply transformation with value {qty}.
How to Do It in Eofferix
- Create the final
line_totalcolumn, usepriceas the source, and open the settings of this column.
The settings button is highlighted under the final line_total column. - In Transformations, add a rule: condition Current value — Any, action Multiply, value
{qty}.
In line_total settings, the price value is multiplied by the qty column through {qty}. - Save the column settings.
Before / After
Before
source data| sku | qty | price |
|---|---|---|
| SKU-1001 | 3 | 250 |
After
result| sku | qty | price | line_total |
|---|---|---|---|
| SKU-1001 | 3 | 250 | 750 |