Formula Columns

In addition to table columns containing simple values, such as numeric or text types, TeamDesk allows users to create columns with formula values. The value for such columns is determined as a result of configuration or calculation by predefined formulas.

Formula-defined columns are created in the same way as columns of ordinary types (see the Creating New Columns section). For columns that contain formulas, you may use the following data types:

After a column of a required type has been created, it is necessary to specify the formula itself in the properties of a created column.

To set a new formula:

Click the Setup link at the top right corner of the window, select the table you need.

From the setup menu select Columns > Customize existing columns link. The system will display the Columns form, click the Edit button next to a newly created formula-defined column.

Formula Options blank

In the Formula field, set a new formula according to which the value of a column will be set.

Formula Listed Columns

Click '[' to list all columns of a table and insert column variables you need. Also, you can type the first letters of the column name after '[' sign, and the columns starting with these letters will be displayed in the dropdown.

Formula Options Functions

Click Ctrl+Space to list function names and select functions you need.

Formula example

If you need information about the Formula Language Reference, use the click here for help link under the formula area.

To learn more about working with formulas, see Working with Formulas.

To view a full list of functions used for formula generation, see Formula Language Reference.

User Properties Formula.png

Wherever you need information from User Properties related to a current user, you can simply refer to a column of the User Property table by its name. Just click '[' to list all columns of a table and choose a column from the User Properties section. Also, you can type the first letters of the column name after '[' sign, and the columns starting with these letters will be displayed in the dropdown.

Formula column advanced options

You can colorize values stored in the Formula-Text columns. Just use the Colorization checkbox displayed in the Advanced Options. Colorization is based on whether the value contains certain text. More details are described in the Column Value Colorization section.

Help field

The last option is the Help field.

Help message

When this Help text property is filled in, the question mark is displayed near the field name on the View/Edit form. Hovering over this question mark will display a pop-up with a tip or a help text message to a user.