Share via


MDX Grammar

This section contains the syntax for expressions and formulas and the syntax for the MDX statements that OLE DB for OLAP uses to specify a dataset. The grammar is divided into several subclauses, each of which contains the Backus-Normal Form (BNF) for a set of syntax elements. For specific information about MDX statements, see Advanced MDX. The parts of an MDX statement are described in Parts of an MDX Statement.

The complete construct of the MDX statement and the leveling rules for the statement are presented in MDX Statement Construction.

At the end of each subclause is a section called "Leveling Rules." This section enumerates the optional productions. A provider that is compliant with OLE DB for OLAP must support all productions other than the productions mentioned in these rules.

This topic is a part of: