Go to primary content
Previous
Previous
 
Next
Next

Example

The PRICE_CUBE has the calculated measure DMLEXPR, which was created using the OLAP DML Expression template. The expression returns the specified value for any set of dimension members.

Calculation

Run OLAP DML Expression which returns a float of precision 3.

OLAP Expression Syntax

OLAP_DML_EXPRESSION ('5.5' , FLOAT (3)

Query Results

The DMLEXPR column shows the value returned by the OLAP DML expression.

TIME         PRODUCT         DMLEXPR        
----------   -------------   -------
Total Time   Total Product       5.5