MDAC 2.5 SDK - OLE DB Programmer's Reference
Chapter 24: Multidimensional Expressions


 

Empty Cells

Usually cubes have empty data points (cells). For example (using SalesCube from the SalesData Example), the SalesPerson Venkatrao sells products only in the USA, so the point corresponding to the coordinates (Venkatrao, Canada, Years.[All], Quarters.[All], Sales) has no data. In fact, no point has data whose coordinates are (Venkatrao, Geography.x, Years.<any>, Quarters.<any>, Sales), where x <> USA and <any> represents any member of a dimension.

Empty cells affect the evaluation of value expressions and search conditions. To understand why this is so, note that a value expression is composed of value expression primaries. One of the value expression primaries is <tuple>[.VALUE], which returns the value of a cell in the cube (some of whose coordinates are specified explicitly by <tuple> while others are available implicitly from the context of the MDX statement). This cell can be an empty cell. Empty cells affect expression evaluation in the following three cases:

A value expression will be made up of the value expression primary, and this will lead to the first two cases described above.

For further discussion relating to empty cells and value expressions, see the following topics in this section: