Skip to content

Create a formula field

A Formula field shows a calculated value. Nobody types into it on a contact, session, or group. Use it for a balance due, a fee plus tax, or any other number you can write with plus, minus, multiply, and divide. A formula built on Date + N days shows a date instead, such as a follow-up date one week after a deadline.

Training video · 5:36Fields: organization and eventThe two levels of fields, organization fields every event shares and event fields for one event, where each lives under Settings, Library, Fields, the Contact, Group and Submission tabs with their Profile, Communication, Attribute, Custom and Hidden Fields sub-tabs, standard fields with the lock against custom fields, Add Field with the full type list, Field Level and Contains Personal Data, Copy from another event, the edit sidebar with rename, options, colours and Language variants, the row menu with Edit, Archive and Delete and the Hidden Fields tab, the organization Fields page with Field Rules and the Formatting, Calculation and Assignment rule types, and a custom field turning up as a column in the Contacts directory.

A formula keeps a derived number correct without anyone retyping it: days until a visa expires, a fee minus what is paid, tax on a speaker honorarium. The field is read-only on the record, so the math cannot drift from the sources.

A Calculation rule uses the same expression language, but writes the result into a normal number or currency field. Admins can still edit that field; the next source-field save overwrites it.

Open Fields

Open Organization Settings, then Library > Fields — or Library > Fields inside an event. Choose the Contact, Session (labelled Submission inside an event), or Group tab that should own the field.

Add or edit a field

Click Add Field, or open an existing field. Set Field Type to Formula. You cannot change the type after the field is saved.

Build the expression

The Builder is the default: pick a field, an operator, and the next field. Click Add term for each extra field, or choose Number… in place of a field to type a constant. Switch to Write when you need parentheses or a different order of operations.

Create Contact Field with Field Type set to Formula and the Builder showing Speaker Fee minus a typed number

You cannot save until the expression is valid and every field in it still exists.

Click Save Changes.

Use a calculation when the result should live in an ordinary currency or number field that people can still override.

Open Field Rules

Open Organization Settings, then Library > Fields, and click Field Rules beside Add Field. In an event, Library > Fields shows the same button when Field Rules is on for that event.

Add a Calculation

Name the rule and choose Calculation. Build the expression the same way as a formula field. You cannot save the rule until the expression is valid and every field in it still exists. Under Write result to, pick a number, currency, percent, or quantity field. A formula field cannot be the target.

See Create a field rule for Formatting and Assignment rules.

ViewWhat it is for
BuilderA left-to-right list of fields and operators. Sessionboard evaluates it in that order, so Fee + Paid × 2 means (Fee + Paid) × 2.
WriteA formula bar. Multiplication and division run before addition and subtraction, and parentheses change the order. Fee + Paid * 2 means Fee + (Paid * 2).

Switching from Builder to Write shows the same math, with parentheses added when they matter. If you write grouping the builder cannot show, Sessionboard keeps you in Write so the parentheses are not flattened.

In Write, wrap every field in braces and use Insert field if you do not want to type the name:

{Speaker Fee} - {Paid}
({Speaker Fee} + {Paid}) * {Tax Rate}
{Speaker Fee} * 1.1

Names match the field label, ignoring extra spaces and capitalization. Two fields can share a label; each has a unique Internal Name in the field metadata. If {Fee} is ambiguous, write that instead — {speaker_fee} or {travel_fee}. Insert field writes the right token for you, and the builder shows the Internal Name in parentheses when labels collide.

  • Operators: + - * / (the builder shows − × ÷; both spellings work in Write)
  • Parentheses in Write
  • Whole numbers and decimals (1000, 12.5). Do not use thousands separators.
  • Fields whose type is Number, Currency, Percent, or Quantity, from the same module as the formula (or, for a calculation rule, the same module as the target field)
  • Date helpers:
    • days_until({Visa Expiry}) (Days until in the builder) is a number: signed whole days from today to that date. Use it for days remaining.
    • add_days({Visa Expiry}, 7) (Date + N days in the builder) is a date: the date 7 days after the source date. The whole formula is then a date formula, so add_days cannot be added to, subtracted from, or multiplied with anything else; the builder shows an error and you cannot save.

A formula cannot reference itself, another formula field, or a text, dropdown, or checkbox field. A date field is allowed only inside days_until or add_days.

  • Today is the calendar day in the event’s timezone, not UTC. For an event in Auckland, today turns over at midnight Auckland time.
  • A date field counts as its calendar day. A date-and-time field counts as the day it falls on in the event’s timezone.
  • Results that depend on today, such as days_until, are recalculated every day, shortly after midnight in the event’s timezone. Nobody has to save the record. When the result changes, the record’s last-updated time moves forward and its History shows the change as Date formula recalculation; a result that stays the same leaves the record and its History alone. The recalculation does not start automations or send webhooks.
  • A contact in several events gets one value, so it is computed in one timezone: that of the event it was added to last (among events that are live or ended in the last 30 days). Saving the contact from any of its events and the daily recalculation both use that event’s day.
  • Clearing the source date clears the result. A blank date does not leave the old count or date behind.

Sessionboard uses the stored number as-is. A percent stored as 12.5 times a currency of 1000 is 12500, not 125. If you want a percentage of a fee, divide by 100 in the expression: {Speaker Fee} * {Tax Rate} / 100.

Currency, percent, and formula results store two decimal places.

LimitValue
Distinct fields in one expression8
Terms (fields, numbers, and operators together)20
Parentheses nesting8 levels
Builder rows8

For number sources, Sessionboard leaves the previous value in place when:

  • A source field is blank (blank is not treated as zero)
  • A source field has been deleted
  • The expression divides by zero
  • The result is not a finite number

The next time every source has a usable number, the result writes again.

If you delete a source field, open the formula. The missing field shows as Unknown field, and you cannot save until you replace it.

Open an existing field. If other formulas or Field Rules use it, the sidebar shows:

  • Used in formulas — formula fields on the same module that read this field
  • Field Rules — Formatting, Calculation, or Assignment rules this field is part of

These sections appear only when the field is involved. A formula field does not list itself here; its expression is already on the sidebar.

On a view, a number formula column filters and sorts like a number. A Date + N days formula shows and sorts like a date.

Get release notes by email

A short digest on the days something new goes live — each change with a link to its note in the release notes. No marketing, and one click to stop.

Company email addresses only. We’ll send one email to confirm it’s you. Already use Sessionboard? You can also turn this on under Community → What’s new.