Skip to main content
The core declaration of the field definition. Best practice dictates using field references over raw database columns when calling other fields/dimensions. Note that dimensions can only be derived from other dimensions, unlike measures.

Syntax

Properties

dimension_name
object
The name of the dimension. Dimension names must:
  • Be unique within the view
  • Start with a letter
  • Contain only alphanumeric characters and underscores

DO NOT PARSE (special argument)

DO NOT PARSE is a special argument used to stop Omni’s parser from interpreting and validating the SQL. This should be used in the rare circumstance that Omni is not saving valid SQL in the model, which can happen when obscure, dialect-specific SQL is used.
DO NOT PARSE usage

Examples

Concatenated fields
Calculated margin
Case statement
DO NOT PARSE usage
Type casting