Expressions (DMX)

THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

In Data Mining Extensions (DMX), an expression is a combination of identifiers, values, and operators that Microsoft SQL Server Analysis Services can evaluate to obtain a result.

A DMX expression can be simple or complex. A simple expression can be one of the following:

A constant is symbol that represents a single, specific value. A constant can be a string, or a numeric or date value. You must use single quotation marks (') to delimit string and date constants.

Scalar Function
A scalar function returns a single value.

Non-Scalar Function
A non-scalar function returns a table.

Object Identifier
Object identifiers are considered to be simple expressions in DMX.

To build complex expressions, you can use operators to combine these expressions. For more information about operators, see Data Mining Extensions (DMX) Operator Reference.

See Also

Data Mining Extensions (DMX) Reference
Data Mining Extensions (DMX) Function Reference
Data Mining Extensions (DMX) Statement Reference
Data Mining Extensions (DMX) Syntax Conventions
Data Mining Extensions (DMX) Syntax Elements
General Prediction Functions (DMX)
Structure and Usage of DMX Prediction Queries
Understanding the DMX Select Statement