Formula Columns & Summary Table¶
Two table-level helpers live in the Tables and Cols menus: Formula Column (Ctrl+Alt+L / Formulas & Summary, Ctrl+Alt+S) and the Summary Table.

Formula Column¶
Open the Formula Column dialog (Tables → "Formula Column", Ctrl+Alt+L) and enter a Column name and a Formula (e.g. x * 2). The dialog exposes Create and Cancel.
- Formulas are evaluated row-wise over existing numeric columns via
leap-data::formula(typedFormulaSet::build+evaluate). - Rules: the name must be non-empty, must not be the reserved
idcolumn, and must not already exist; the expression is parsed at build time (unknown columns or syntax errors are rejected with aFormulaError); each referenced column must exist in the active table. - Evaluation failures surface as
CellValue::Null(non-finite or missing values resolve to null); the column is created asContinuouswith no units and flaggednullable. - Formula columns are excluded from the
.leapwbase column count when recording expected dimensions — they are re-evaluated on open.
The dialog is also driven programmatically via add_formula_column (harness step add_formula) and is listed in the Quick Search palette.
Summary Table¶
Open Summary Table (Cols → "Summary Table", Ctrl+Alt+S) to get a "Columns — summary statistics" window listing, per column:
n=<count> mean=<mean> sd=<sd> min=<min> max=<max>for numeric columns, or(non-numeric)for columns without numeric cells.
Statistics are computed over the raw cell values (numeric cells parsed to f64); nothing is hidden or excluded — it is a flat per-column dump. Close with the Close button (or Esc).
Saved scripts¶
The sidebar's Scripts pane (under the Table note) holds TableScript entries (id, label, kind, payload_json) produced by Save Script to Table from report windows and the Graph Builder (see SVG Scripts). Each entry has a Run button that emits RunScript(<id>).
Related pages: