Dashboard Functions Reference

About the Dashboard Functions Reference

This topic describes all the functions you can use in Sisense's dashboard formula editor.

Note:

For information about the functions for custom tables and fields, see Data Functions for Custom Tables and Fields.

Functions in this reference are organized in to sections as follows:

Most of the functions have one or more of the following properties and are so marked:

  • Aggregative functions:

    Aggregative functions operate on a table column and typically return a numeric value. They are marked with (A) next to their names. Most of the statistical functions are aggregative.

  • Multipass compatible functions:

    Multipass compatible functions are marked with (M) next to their names. The Multipass Declaration - ([Dimension], Aggregation) is a group by statement that is used with aggregative functions to group the result set by one column and return a list. For example, the formula AVG([Brand], SUM([Cost])) calculates the average of total cost per brand.

  • Functions only supported for ElastiCubes:

    These functions are marked with (EC) next to their names. All other functions are supported for both ElastiCube and Live models.

Convention:

Function names are not case sensitive. For example, the average function can be entered as Avg, avg etc. The function selector in the dashboard editor always supplies function names in upper case for example, AVG. The upper case convention will be followed below.

Important note:

The Analytical Engine requires that every measure defined in the formula editor be aggregative. For example, instead of DDiff([Discharge Time], [Admission Time]), use AVG(DDIFF([Discharge Time], [Admission Time])).

The examples here do not always include a wrapping aggregation function, even though one will be required by the formula editor. (The example screen shots do include a wrapping aggregation function - because otherwise, they wouldn't work.)

Statistical Functions

Statistical Functions Supported by ElastiCube and Live Models

Aggregative Functions

Non-aggregative Functions

Statistical Functions Supported by ElastiCube Only

Aggregative Functions

Non-aggregative Functions

Mathematical Functions

Mathematical Functions Supported by ElastiCube and Live Models

Aggregative Functions

Non-aggregative Functions

Note:

Most of the following functions takes a single argument that is either a numeric constant or a numeric aggregative field function result such as SUM(), AVG() etc. Compositions of mathematical functions also work when they are well defined, such as LN(COSH(<numeric field>)). However, compositions like LN(COS(<numeric field>)) will fail when COS(<numeric field>) is less than or equal to zero.

The dashboard functions all have the same syntactic form:

<function_name>(<numeric field>)

or

<function_name>(<numeric field>, <number>)

<function_name> is typically like ABS, SIN, LOG10 and more as shown in the list of functions below.

The argument, <numeric field> is a numeric value or an aggregative function of a database column such as SUM, AVG, STDEV and so on. You can also pick aggregation functions from the function editor:

The shown functions, Sum ... Standard Deviation are all aggregative.

The <number> argument appears MOD, POWER, QUOTIENT and ROUND.

In the following list, functions labeled (EC) are for ElastiCube only.

Non-aggregative Functions

Mathematical Functions Supported by ElastiCube Only

Time and Calendar Functions

Measured Value Functions

These functions only work as part of a measured value, not by themselves. See Measured Values for more information.

Logical and Conditional Functions

Other Functions Supported by ElastiCube and Live Models

These functions are supported for both ElastiCube and Live models.

Other Functions Supported by ElastiCube Only

These functions are only supported for ElastiCubes.

String Functions

These string functions (calculated dimensions) are introduced in Sisense version 2026.1.1 and are currently in Beta. They allow the creation of formulas within the dimension axis, with some limitations during its Beta stage:

  • “Concat”, “Left”, and “Right” are the only functions currently supported, with future plans for further expansion.

  • Calculated dimensions only work when executed over the Analytical Engine.

  • The Left and Right functions only support positive integers. Providing negative values may result in unexpected behavior.

  • When viewing a widget’s SQL (via “Analyze SQL Query”) - If the source is an ElastiCube, Oracle, or Athena, the Left and Right functions are replaced natively with SUBSTR, as these providers do not natively support Left and Right functions.

  • ElastiCubes may result in unexpected behavior when the index value for Left/Right is larger than the string length.

  • String constants are limited to a maximum of 50 characters.

  • The Concat function is limited to a maximum of 10 parameters.

  • Calculated dimension formulas must reference at least one column from the model. For example: CONCAT(‘abc’, ‘def’) or LEFT(‘abc’, 2) are not supported.

  • In order to use single or double quotes in a string constant, you must wrap the text with the other quotes (single for double; double for single). For example: “haven’t” or ‘Dwayne "The Rock" Johnson’.

  • Widget filters for Live providers are supported only when the calculated dimension fields are using the same source table.

  • Widget filters for ElastiCubes, B2D, and ElastiCube Cloud are not currently supported by calculated dimensions at all.

  • When using the Left and Right functions on columns of type FLOAT, REAL, and DECIMAL containing long numbers (with many digits), the results may sometimes lose accuracy. In such cases (when handling long numbers), it is recommended to use the functions on TEXT, INT, and BIGINT columns.

  • When using a model field inside string constants (for example: “Concat([SSI],’[SSI]’)“ ), hash codes may sometimes be returned for the model fields instead of the provided text (e.g., “[1E039-0AD]” instead of “[SSI]”).