what is mdx language
MDX is the query language for cubes. Behind the scenes, Excel uses MDX to retrieve fields and data values when you choose items from a PivotTable Fields list. You can also build MDX queries manually when importing data from an Analysis Services cube.