Regroup Entities does not use this grammar — it offers a fixed list of aggregations instead.
@ followed by its name — @Close, @Date, @sales.
Function names are case-insensitive:
SUM, sum and Sum all resolve to the same function.Operators
Comparison
Logical
Shift and IF
Row functions
Calculated across all values of the column, using only the current row — unlike the group functions below.Group functions
Calculated within groups. Groups are defined by the columns passed as parameters; by default they are the entities of the dataset, excluding the date column.Rolling window functions
Calculated over a rolling window, within groups. Groups are defined the same way as above.Date and time functions
The same grammar is available to AI agents through the
get_pipeline_formula_reference tool on the Alphacast MCP server — see Pipeline tools.Next steps
Calculate variable
How to use these formulas in a pipeline step.
Filter rows
Use comparisons and logical functions as row conditions.