Skip to main content
A comprehensive reference for every operator and function you can use to build formulas in Invoca’s Formula Assistant.
Invoca lets you create derived columns in Interaction Details using formulas, built with the Formula Assistant. An individual formula consists of any number of combinations of operators and functions. This reference lists the operators and functions you can use, grouped by type.

Aggregate functions (group aggregate)

Important: median isn’t supported when the resulting query is a complex query (chasm/fan trap) with a non-shared attribute (an attribution query); has group-by-group_aggregate; has a reusable set; has a query with an IN-filter query; is displayed as a pivot table; or is a table aggregate summary over a median column.

Conversion functions

Convert data from one data type to another. Invoca doesn’t support date data type conversion.

Date functions

See About date formulas for the full list with descriptions and examples, including which functions accept an optional 'fiscal' / 'calendar' parameter.

Mixed functions

Work with both text and numeric data types: =, >=, >, greatest, least, <=, <, !=.

Number functions

Operators

Text functions

Variables

Note: You can’t use ts_groups or ts_username inside another expression. For example, ts_groups = substr(rls_group_name, 0, 3) is valid, but substr(ts_groups,0,3) = rls_group_name is not.

Embrace passthrough functions

The following passthrough SQL functions are supported in connections for all cloud data warehouses:
Each passthrough function’s first argument is the signature of the external function to execute against the data source; subsequent arguments pass values to it. For example:
Each variant (bool, date, date_time, double, int, string, time; aggregate and non-aggregate) returns the corresponding data type.

Where to go next

Last modified on September 23, 2026