Real analyst problem
Your client wants profit margin as a column so they can filter by it in their Power BI report. In Excel: write the formula, check for divide-by-zero errors, copy down 5,000 rows, pray it doesn’t break. In Dotwave: type ‘profit margin as profit divided by revenue’. Done.
What kinds of fields can you create?
- Arithmetic: add, subtract, multiply, divide columns
- Date parts: extract year, month, day, quarter
- Bins: group numeric values into categories
- Rolling: moving averages, rolling sums
- Combine: arithmetic between two columns by name
- Concatenate: join text columns together
How it connects to the cleaning pipeline
Calculated fields live in Step 4 — Feature Engineering. Run after cleaning (Steps 1–3) so your new metrics are built on clean, validated data — not the original messy file.
Safe by design
All arithmetic is AST-validated — no arbitrary code execution. Division operations are checked for zero denominators before they run.