Formula functions
Every function in the Emberblocks formula language, with its signature, what it returns and an example you can paste into a formula.
Formulas run in filters, visibility rules, workflow conditions and computed values; Expressions explains how they work. This page is the reference. It is built from the formula editor's own catalog, the one its assistant browses, so it lists exactly what the editor accepts today: 36 functions, grouped the way the editor groups them. Examples use placeholder names such as [Address] or [Related Table]; swap in your own columns and tables.
Bringing formulas over from AppSheet or Airtable? Search this page for the function name. Many will look familiar (IF, AND, CONCATENATE, LOOKUP, SELECT, ISBLANK), but check the signature, since the arguments can differ from the tool you know. A function that is not listed here is not available yet.
At a glance
Yes/No
a = ba <> bTests whether two values are equal; use <> for “not equal”. Comparisons don't chain.
ResultYes/NoExample
"Open" = "Closed"a < ba <= ba > ba >= bOrders two numbers or two dates. Comparisons don't chain.
ResultYes/NoExample
0 > 100TRUEFALSEThe literal true and false values.
ResultYes/No
AND
ResultYes/NoAND(condition1, condition2, …)True only when every condition inside it is true.
AND(TRUE, TRUE)OR
ResultYes/NoOR(condition1, condition2, …)True when at least one condition inside it is true.
OR(TRUE, FALSE)NOT
ResultYes/NoNOT(condition)Flips a true/false value to the other one.
NOT(TRUE)ISBLANK
ResultYes/NoISBLANK(value)True when a column is empty (has no value).
ISBLANK("text")CONTAINS
ResultYes/NoCONTAINS(text, search)True when the first text contains the second text somewhere inside it.
CONTAINS("text", "urgent")IN
ResultYes/NoIN(value, option1, option2, …)True when the value equals one of the listed options (references and true/false aren't allowed).
IN("Open", "Open", "Pending")ISVERIFIED
ResultYes/NoISVERIFIED(address)True when the address was picked from the suggestions or looked up, false when somebody just typed it.
ISVERIFIED([Address])Math
a + ba - ba * ba / bAdds, subtracts, multiplies, or divides numbers.
ResultNumberExample
10 + 203.14-5A plain number; write a leading minus for negatives.
ResultNumberExample
42
SUM
ResultNumberSUM([Related Table], value, condition?)Adds up a number column across related rows in a child table, optionally filtered. Also takes a list: SUM(SELECT(Table[Number Column], condition)) adds up matching values from any table.
SUM([Related Table], [Number Column])COUNT
ResultNumberCOUNT([Related Table], condition?)Counts related rows in a child table, optionally filtered by a condition.
COUNT([Related Table])DISTANCE
ResultNumberDISTANCE(place1, place2)Straight-line distance between two places, in metres. Costs nothing and needs no Google key; blank when either place has no coordinates.
DISTANCE([Address], [Other address])TRAVELDISTANCE(from, to, mode?)Metres along the route between two places, looked up with Google when the record is saved. Divide by 1000 for kilometres.
TRAVELDISTANCE([From], [To], "driving")Calls Google, so it needs the app's own Google Maps Platform key (Settings, Maps & addresses) and runs only in a field's Computed value, which is worked out and stored when the record is saved. Filters, visibility rules, defaults and Live formulas refuse it. With no key, a failed lookup or the app's maps limit reached, the field is left blank.
Text
a & bJoins two values into text; shorthand for CONCATENATE.
ResultTextExample
"Hello" & " " & "World""Hello"A text value in double quotes; write "" inside it for a literal quote character.
ResultText
CONCATENATE
ResultTextCONCATENATE(part1, part2, …)Joins values into one text string; reference columns must be traversed to a column first.
CONCATENATE("Hello", " ", "World")TEXT
ResultTextTEXT(value, "format")Formats a number or date as text using a format written directly, e.g. TEXT([Due], "DD/MM/YYYY").
TEXT(1234.5, "0.00")ENCODEURL
ResultTextENCODEURL(value)Percent-encodes a value so it can sit safely inside a URL; a blank value encodes as empty text.
"https://maps.example.com/?q=" & ENCODEURL("Athens")TOJSON
ResultTextTOJSON(value)Writes a value as a JSON literal: numbers and true/false stay bare, text gets quotes, blank becomes null. For webhook bodies.
TOJSON(42)JSONESCAPE
ResultTextJSONESCAPE(value)Escapes a value for use INSIDE a quoted JSON string (quotes and newlines become \" and \n). For webhook bodies.
JSONESCAPE("Hello")JSONGET
ResultTextJSONGET([JSON Column], "key.subkey")Reads one value out of a JSON column by path, e.g. JSONGET([Answers], "answers.q1"). Numbers and true/false come back as text, nested objects as JSON text, a missing key as blank. The only way to use a JSON column in a formula.
JSONGET([Answers], "answers.q1")DIRECTIONSURL
ResultTextDIRECTIONSURL(destination, mode?)A Google Maps directions link to a place, for a button or a link column. Costs nothing and needs no key. Mode is "driving", "walking", "cycling" or "transit".
DIRECTIONSURL([Address])Time
"YYYY-MM-DD"A date literal in quotes; compared with a date column it coerces automatically, and stands in for a date-time at midnight.
ResultDateExample
"2026-01-31""YYYY-MM-DD HH:MM"A date-time literal in quotes; see TEXT for display formats.
ResultDate & timeExample
"2026-01-31 09:00"
TODAY
ResultDateTODAY()Today's date, with no time part.
TODAY()NOW
ResultDate & timeNOW()The current date and time.
NOW()TRAVELTIME(from, to, mode?)Seconds to travel between two places, looked up with Google when the record is saved. Mode is "driving", "walking" or "cycling".
TRAVELTIME([From], [To], "driving")Calls Google, so it needs the app's own Google Maps Platform key (Settings, Maps & addresses) and runs only in a field's Computed value, which is worked out and stored when the record is saved. Filters, visibility rules, defaults and Live formulas refuse it. With no key, a failed lookup or the app's maps limit reached, the field is left blank.
Columns
[Column]The value of a column on the current row.
ResultSame as the column
[Reference].[Column]Follows a reference column to a column on the related row (up to 2 hops).
ResultSame as the target column
RECORD[Column]Only in record filters: a column on the record page's current record, instead of the row being filtered.
ResultSame as the column
Lists
THISROW[Column]Only inside a SELECT() condition: a column of the row the formula runs on (the outer row), instead of the selected table's row, e.g. SELECT(Appointments[Price], [Client] = THISROW[Client]).
ResultSame as the column
LOOKUP
ResultSame as the result columnLOOKUP(value, [Table].[Match Column], [Table].[Result Column])Finds the first row in another table whose match column equals the value, and returns its result column.
LOOKUP("value", [Table].[Match Column], [Table].[Result Column])SELECT
ResultTextSELECT(Table[Column], condition)A column's values across another table's rows, joined with commas (up to 100). The condition filters the rows and reads the selected table's columns; THISROW[Column] and THISROWID() reach back to the row the formula runs on. Add TRUE as a third argument to keep each value once. In notification audiences, use SELECT(USERS[Email], …) to target app users.
SELECT(Table[Column], [Status] = "Open")THISROWID()The id of the row the formula runs on. Match it against a reference column to pick this record's related rows, e.g. SUM(SELECT(Invoice Items[Amount], [Invoice] = THISROWID())).
THISROWID()REFROWS([Related Table], condition?)The related rows of a child table (the ones whose reference column points at this record), optionally filtered.
REFROWS([Related Table])COUNTSUMTo read across many related rows, use COUNT or SUM (under Math): they roll a child table up to a single number.Other
IF
ResultSame as inputsIF(condition, then, else)Returns one value when the condition is true and another when it's false; both results must share a type.
IF(TRUE, "Yes", "No")USEREMAIL
ResultTextUSEREMAIL()The signed-in user's email address.
USEREMAIL()USERROLE
ResultTextUSERROLE()The signed-in user's app role name.
USERROLE()RECORDID()The id of the record page's current record. Match it against a reference column, e.g. [Customer] = RECORDID().
[Reference] = RECORDID()APPNAME
ResultTextAPPNAME()The app's display name.
APPNAME()STEP("Step name", "count" | "rows" | "text" | "value")An earlier step's output. A Find records step exposes "count" and "rows", an Ask Ember step exposes "text", a Run code step exposes "value".
STEP("Find overdue", "count")STEPFIRST("Step name", "Column")A column of the FIRST row an earlier Find records step matched; blank when nothing matched.
STEPFIRST("Find overdue", "Amount")LATITUDE
ResultNumberLATITUDE(address)The latitude stored on an address, or blank if nobody ever looked it up.
LATITUDE([Address])LONGITUDE
ResultNumberLONGITUDE(address)The longitude stored on an address, or blank if nobody ever looked it up.
LONGITUDE([Address])ADDRESSPART
ResultTextADDRESSPART(address, part)One part of an address: "street", "streetNumber", "subpremise", "locality" (the city), "region", "postalCode", "country" or "countryCode".
ADDRESSPART([Address], "locality")LATLNG
ResultAddressLATLNG(latitude, longitude)Treats a pair of number columns as a place, so a table that already stores latitude and longitude can use DISTANCE() and travel time.
LATLNG([Latitude], [Longitude])// note/* note */Notes to yourself: everything after // (to the end of the line) or between /* and */ is skipped when the formula runs.