Data: Calculate expression

Evaluate mathematical expressions and update state variables.

Help Centre › Functions & Formulas

Evaluate mathematical expressions and update state variables.

Add it to a process

In the process designer, open the Add step tab. Find Calculate expression under Data, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
KeysNoRows of the repeating band. Persisted as the sibling arrays app.keys, app.operators, app.values.

See all Data steps.

Errors

ErrorDescription
Formula errorThe formula contains a syntax error or invalid reference.

Tips

  • Supports all CALC functions (e.g. SUM, IF, ROUND, CONCAT). See the calculation functions help article.
  • Use {variable_name} syntax to reference other variables in formulas.

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.