Home > Articles > Databases > SQL Server

Introduction to MDX: Basic Concepts and Navigation

  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
Get up to speed quickly on how to create MDX expressions based on single and multiple values. This tutorial helps beginners jump right into creating expressions for use with multidimensional data sources.

Introduction to the Series

This is the first tutorial of a series, "Introduction to MDX," that I hope will help new users get up to speed quickly on multidimensional expressions. The series is designed to provide hands-on application of the fundamentals of MDX as it is delivered within Microsoft SQL Server 2000 Analysis Services (to which I will refer in most cases as simply Analysis Services to save time and space). The primary focus of the series will be the creation of MDX expressions based on single and multiple values, the objective of which will be to create queries for use with multidimensional data sources. Each installment in the series will progressively add more features, allowing us to create and apply MDX queries in a variety of scenarios designed to meet specific real-world needs.

In the "Introduction to MDX" series, we'll focus on building a practical foundation, based on a pragmatic approach that "exercises" each newly explored concept in a way that I hope will give it practical meaning. We'll move through a discussion of the fundamental components of basic MDX queries, and perform steps to use MDX enough to gain a good understanding of how it allows us to retrieve information from OLAP cubes. The tutorials will rely heavily on the samples provided when installing Microsoft SQL 2000 Analysis Services, allowing us to focus on grasping MDX as our primary objective without being distracted by the rather vast subject matter surrounding cube design and building, Analysis Services in general, and other equally fascinating (but voluminous) domains that lie outside the scope of our introduction to MDX.

The "Introduction to MDX" series will do the following:

  • Introduce basic MDX concepts, focusing on the calculation of single values with MDX expressions

  • Progress to advanced MDX features, demonstrating some of their practical applications

  • Explore the creation of MDX queries through the use of MDX sets, where we'll expand our understanding of MDX to include the creation of multiple value expressions

  • Focus on the creation of calculated members

  • Explore the creation and uses of calculated cells

  • Examine the value and flexibility of user-defined functions

Introduce performance-tuning procedures and other efficiency tips for using MDX

This session, "Basic Concepts and Navigation," is intended to provide a broad understanding of the components and capabilities of an MDX expression. We will do the following:

  • Use MDX to navigate the structure of an OLAP data source (our cube)

  • Obtain information about the dimension hierarchy and its members with MDX expressions

  • Create a calculated member via an MDX expression, focusing our initial efforts on using constant values

  • Use MDX to perform conditional tests and comparisons within expressions

Query the multidimensional data source (our cube) and return values

  • Share ThisShare This
  • Save To Your Account

Discussions

comments powered by Disqus

Related Resources

There are currently no related podcasts. Please check back later.

Careful with those NULLs
By on October 13, 2010Comments

Many folks (including me) use NULL values in their databases. There's actually a bit of controversy on even having them - but I don't fall on the side of never using the. But you do need to exercise some care...

The true value of conferences
By on October 5, 2010Comments

I recently returned from the "SQLBits" conference in York, England. I met a lot of folks that I've seen before at other conferences, but I also met a fair amount that had not been to a SQL Server conference before.

Finding Big Data
By on September 16, 2010Comments

I get asked from time to time about locating "Big Data" - or large sets of data for an application.

See All Related Blogs