Expression Editor

When calculating stored values, or concatenating values from other fields, use the Expression Editor.

Commonly used arithmetic, comparison, and Boolean (AND, OR, NOT) operators are available for quick selection on a toolbar below the Expression Editor window. You can also use the menu options in the left-hand pane to select the components you want to use to build an expression:

Functions

When the Functions option is selected in the left-hand pane, you can select from a list of statistical, arithmetic, string and date functions. Note: A description of each function, when selected, is shown in the right-hand pane.

Operators

When the Operators option is selected in the left-hand pane, you can select from an extended list of arithmetic, comparison, and Boolean (AND, OR, NOT) operators. Note: A description of any operator you select is shown in the right-hand pane.

Fields

When the Fields option is selected in the left-hand pane, you can select from a list of field operands. Note: In the case of file format definitions for sample result files, these are the Lower Detection Limit and Upper Detection Limit fields. A description of the selected field is shown in the right-hand pane.

Constants

When the Constants option is selected in the left-hand pane, you can select from a list of constant values. Note: A description of the selected constant is shown in the right-hand pane.

Detailed information on expressions can be found at Expression Language in the documentation provided for the third-party DevExpress tool used.

Syntax

For detailed information on the syntax required for functions, see Functions in Expressions from the link to the documentation provided for the third-party DevExpress tool used.

Note Syntax was updated in April 2023, and the syntax for some functions has been simplified. Instead of nested IiF statements for multiple conditions there is a simplified syntax which can be used instead of nested functions. The new syntax is

Iif(Expression1, True_Value1, …, ExpressionN, True_ValueN, False_Value)

Older syntax is still supported by Micromine Geobank For Field Teams but will be auto-changed to the newer syntax.

See Calculated Columns for information on defining Calculated columns using the Expression Editor.

OK

Finally click OK to apply the expression (or click Cancel).

Calculated Columns