6. Intro to MDX Query
• MDX is a language-based data analysis mechanism to
Essbase databases. MDX exhibits all of the following
characteristics:
• Provides advanced data extraction capability
• Provides advanced reporting capability
• Includes functions for identifying and manipulating
very specific subsets of data
• Is a data-manipulation language, complementing MaxL
DDL (the data-definition language for Essbase)
• Utilizes the platform-independent XML for Analysis
specification
8. Key terms related to the Syntax
• Axis
• Slice
• Cube
• Member
• Tuple
• Set
9. Examples on MDX Query
Simple Select Statement
SELECT {[Information].[EQUITY.].children} on columns, [Time].[16-SEP-2008] ON ROWS
FROM GPC where ([Countries].[CHINA]);
Snap Shot:
10. Examples on MDX Query
Specific case in Join Operation
SELECT {Crossjoin([Information].[EQUITY.].children,[Countries].[EMERGING
MARKETS].children)} on columns, [Time].[16-SEP-2008] ON ROWS
FROM GPC ;
Snap Shot:
11. Examples on MDX Query
Simple Select Statement
SELECT {Crossjoin([Information].[EQUITY.].children,[Countries].[EEMEA])} on columns, [Time].[16-
SEP-2008] ON ROWS FROM GPC ;
Snap Shot: