Parts of an MDX Statement

To specify a dataset, the MDX statement must contain information about:

A typical MDX statement takes the following form:

SELECT <axis_specification> [, <axis_specification>...]
FROM <cube_specification>
WHERE <slicer_specification>

The following sections explain each part of this statement.

Note   The full syntax of the expression that defines a dataset contains significantly more features than the above example. This example conveys the broad outlines of the query process. For more information, see Chapter 3, “Advanced MDX.” For a complete syntax, see Appendix B, “MDX Grammar.”