Calculated fields
A calculated field is a column candl works out for each record, from the record’s own columns, from another dataset, or both. It is a merge tag like any other column. Open the dataset’s settings, tab Columns, and choose New calculated field.
Start from a ready-made one (Balance owed, Number of records, Most recent answer, Days since a date, Combine text) or Blank. You can also describe it in words and let AI write the formula; check what it writes.
The formula language
[Fee]- A column of this record, in square brackets.
"Paid"- Text, in quotes.
+ - * /- Arithmetic.
&- Joins text:
[First Name] & " " & [Last Name]. = <> < <= > >=- Comparisons, with
AND,ORandNOT. - Functions
- More than 50, in five groups: Logic (
IF,IFS,SWITCH,ISBLANK), Numbers (ROUND,SUM,CURRENCY), Text (UPPER,LEFT,CONTAINS) Dates (TODAY,ADDDAYS,YEARS,FORMATDATE) and Many rows (MATCHING). The formula reference lists every function with what it does and an example, and has worked recipes.
Example: what each family still owes for the bus
BusPasses has a Fee for each student. Payments are in a second dataset, BusPayments, with many rows per student and an Amount column. You want one merge tag that says what is left.
- In
BusPasses, New calculated field, Balance owed. Name it Balance owed, Shows as Price. - The card a value from another dataset is named Total paid. Set it to The sum of Amount from BusPayments.
- Rows that belong to this record: where Record ID is this record’s Record ID, so only Levi’s payments count toward Levi’s fee.
- To count only this year, choose Only some rows, for example Date is after
2026-09-01. - The formula:
Formula
[Fee] - [Total paid]
- Pick a student under Result for to see his result, then Done and save the tab.
Now {{BusPasses:Balance owed}} fills in each family’s balance. For a friendlier line, make a second field with this formula:
IF([Balance owed] > 0, "You still owe " & CURRENCY([Balance owed]), "Paid in full, thank you")
candl works calculated fields out again when rows arrive (an import, a sync or a form answer) and when the dataset’s settings are saved. A formula with a mistake shows Needs fixing in the list, with what is wrong.
[Status] = "paid" matches Paid.[Due] - TODAY().