Semantics of Empty Cell Value
To precisely define the semantics of empty cells, MDX defines the concept of an empty cell value. This is a special value that is present in the empty cell. The following rules determine the semantics of the empty cell value:
The function ISEMPTY(<value_expression>) returns TRUE if and only if <value_expression> is the empty cell value. Otherwise it returns FALSE.
When the empty cell value is an operand for any of the numeric operators (+, -, *, /), it behaves like the number zero.
When the empty cell value is an operand for the string concatenation operator (||), it behaves like the empty string.
When the empty cell value is an operand for any of the comparison operators (=. <>, >=, <=, >, <), it behaves like the number zero or the empty string, depending on whether the data type of the other operand is numeric or string, respectively.
When collating numeric values, the empty cell value collates in the same place as zero. Between the empty cell value and zero, empty collates before zero.
When collating string values, the empty cell value collates in the same place as the empty string. Between the empty cell value and the empty string, empty collates before an empty string.