Functions in Salesforce Spiff

Salesforce Spiff Designer provides a library of functions for calculating values and handling different data types.

Required Editions

Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience
Available in: Enterprise, Unlimited, and Developer Editions
Available for an additional cost in: Professional Edition with Web Services API Enabled

Access the function library from the top middle panel in Designer by clicking the functions icon in the formula bar.

Function library opened from a worksheet in Designer

When you select a datasheet, worksheet, table, or filter in Designer, the right panel shows the functions tab.

Functions tab opened from a worksheet in Designer

Selecting a function shows its description, syntax, examples, and arguments.

Function tab, showing details for the quota function

When you enter the name of a function in the formula bar, the function name turns yellow if the function is recognized and a tooltip shows the expected syntax and arguments. To show more details about the function without searching for it, click the dropdown menu. Selecting the function in the formula bar opens the function library in the right panel.

Formula bar in a worksheet, showing a tooltip with details for the date_between function
Tip
Tip When you enter the name of a function, move the cursor to the start of the function name by selecting the first few letters of the function and pressing the left arrow key.