Use these when you want to add a new column whose value is derived from existing columns.
Calculate — DF_CALCULATE
Create a new column by performing a calculation on existing columns.
Use this when: you want to compute something that isn't directly in your data, like cost from kWh and a tariff rate, or the difference between two readings.
Available operations: add, subtract, multiply, divide, percentage, difference (change from previous row), expression (write your own formula).
Add a running total, running average, or moving average as a new column.
Use this when: you want to track how a value accumulates over time — for example, total energy consumed so far this month, or a smoothed rolling average to reduce noise.
Available types: sum (running total), average (running average), movingAverage (average of last N rows).