This hands-on guide shows you how to use Multi-Dimensional Expressions (MDX) to extract business intelligence from multi-dimensional cubes. Practical MDX Queries contains more than 300 downloadable MDX queries that can be applied across a wide variety of business intelligence-related problems. The use, syntax, and results of each query are described in detail. The book emphasizes MDX for use with SSAS within SSMS, but the techniques and queries also apply to SSRS, SSIS, MDX in SQL, MDX in DMX, MDX in XMLA, WinForms, WebForms, PerformancePoint Server, ProClarity, and many third-party applications. You can: work with dimensions, hierarchies, levels, and members; navigate both horizontally and vertically across dimensions and hierarchies; sort the results of your queries Access subsets of dimension members and measure values using the Where clause and Filter function Use MDX query calculations; extract and manipulate dates and times; produce totals, subtotals, and changes across time using aggregate and other functions; create, visualize, and manipulate sets; work with perspectives, subselects, and subcubes; display and hide empty cells; use, modify, format, and create Key Performance Indicators (KPIs); and deliver MDX query results to end users.
Art Tennick has worked in relational database design and SQL queries for over 20 years, and in MDX queries for 10 years. He has been involved in multi-dimensional database design, cubes, data mining, DMX, and MDX for 10 years. Recently, Art worked with several major retail and banking corporations to implement BI solutions using Microsoft SQL Server, SSAS, SSIS, SSRS, and Excel 20072010. His website is www.MrCube.net.