Auto boutiques-francophones Simple and secure cloud storage giftguide Kitchen Kindle Music Deals Store SGG Tools
Practical MDX Queries and over one million other books are available for Amazon Kindle. Learn more
CDN$ 53.35
  • List Price: CDN$ 71.58
  • You Save: CDN$ 18.23 (25%)
Temporarily out of stock.
Order now and we'll deliver when available. We'll e-mail you with an estimated delivery date as soon as we have more information. Your account will only be charged when we ship the item.
Ships from and sold by Gift-wrap available.
Practical MDX Queries: Fo... has been added to your Cart
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Practical MDX Queries: For Microsoft SQL Server Analysis Services 2008 Paperback – Jun 14 2010

See all 2 formats and editions Hide other formats and editions
Amazon Price
New from Used from
Kindle Edition
"Please retry"
"Please retry"
CDN$ 53.35
CDN$ 34.60 CDN$ 58.17 Books Gift Guide

No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your e-mail address or mobile phone number.

Product Details

  • Paperback: 304 pages
  • Publisher: McGraw-Hill Education; 1 edition (June 14 2010)
  • Language: English
  • ISBN-10: 0071713360
  • ISBN-13: 978-0071713368
  • Product Dimensions: 18.8 x 1.5 x 23.1 cm
  • Shipping Weight: 499 g
  • Amazon Bestsellers Rank: #243,252 in Books (See Top 100 in Books)
  •  Would you like to update product info, give feedback on images, or tell us about a lower price?

  • See Complete Table of Contents

Product Description

About the Author

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 2007/2010. His website is

Inside This Book

(Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

Customer Reviews

There are no customer reviews yet on
5 star
4 star
3 star
2 star
1 star

Most Helpful Customer Reviews on (beta) 14 reviews
16 of 16 people found the following review helpful
It's the best entry book to a difficult subject Jan. 13 2011
By Jiang Tang - Published on
Format: Kindle Edition
I am strongly against judging a book by its sample queries only. It's unfair!

If you are trying to learn MDX from the MDX solutions book, you will get lost and frustrated and curse all the time.

Now save yourself from those uncivil moment and enter the wonderful land of "practical mdx queries", which gently guides you through the treacherous land of MDX.

FastTrack MDX is another good book for beginners, but that book is awfully outdated.

The most important thing about learning MDX is that you must get firm understanding of the basics of dimensions, hierarchies, levels and members, which are causally covered by the other books, assuming you have already mastered those concepts.

The other books also use the shorthand notation of members without elaborating it, assuming that you are a genius or magician or someone with a lot of knowledge about MDX already.

Sure, you can't master MDX by just reading one book. But this book will get you to a concrete start without pulling off all your remaining hairs or beating yourself to a pulp.

The best part compared with other MDX book is that it sticks with the AdventureWorks sample while other books invent and re-invent the wheel by their own half-baked database.

Here is a summary of the content:

Chapter 1: Hello World: Easy Yet Effective Queries
This is a short chapter to get you started. It has a few queries so you get a flavor of
the power and elegance of the MDX language.

Chapter 2: Astrophysical: Playing with Dimensions
This chapter shows you how to work with dimensions, hierarchies, levels, and
members. It's quite possibly the most difficult chapter in the whole book--especially
if you are not familiar yet with the concepts of dimensions and hierarchies.
Understanding them is vital if you want to write meaningful and powerful MDX.
Chapter 3: Families and Friends:
Navigating Dimensions
Here we explore moving up, down, and across dimensions and hierarchies. The
general term for doing this is navigation. MDX allows you to navigate both
horizontally and vertically. MDX (unlike SQL) is positionally aware--it knows
where you are in the cube and can help you in your navigation.
Chapter 4: Bringing Order: Sorting Results
This chapter introduces various ways of sorting the results of your queries.
Business intelligence reports often have a requirement to put the information in
some kind of order--whether numeric or alphabetic. This chapter shows you how
to do this.
Chapter 5: Slice, Dice, and Filter:
Using Where and Filter
Often, you will want only a subset of your dimension members and measure
values. This can be achieved by slicing and dicing with a Where clause. An
alternative approach involves using criteria with a Filter function. The MDX Where
clause is not the same as an SQL one--hopefully, by the end of the chapter you will
be proficient at using it in MDX.

Chapter 6: Using the Abacus:
Introduction to Calculations
In general, the measures in your cube are based directly or indirectly on the
columns in your fact table in your star schema. However, it's likely your reports
will need further metrics. These are often based on the existing measures in some
way. One way to devise these new measures is to use MDX query calculations.
Here we explore how to do this. In addition, we take a look at creating nonmeasure
members and creating our own sets of data.
Chapter 7: Is Time a Dimension? Working with
Dates and Times
Nearly every cube in the world has a date or time dimension. MDX provides
many rich features that help you to analyze your data across history. In this
chapter, you are introduced to lots of functions for manipulating dates and times.
These will help you produce brilliant business intelligence reports!
Chapter 8: Clockwork: Calculations Using
Dates and Times
The previous chapter introduces the MDX to extract and manipulate dates. This
chapter combines the MDX you learn there with aggregate and other functions.
Here you get to use these aggregate and other functions to produce totals, subtotals,
and changes across time. This is a big part of business intelligence reporting.
Chapter 9: Venn Diagrams: Visualizing and
Manipulating Sets
Here's a wide-ranging chapter on working with sets and members of sets. By the
end of the chapter, you'll be able to create, visualize, and manipulate sets.

Chapter 10: Views on Cubes: Working with Subcubes
If you are familiar with SQL, you may use views. One use of a view on a relational
table is to present only a part of the table. Often, you will want to work on only a
part of a cube. The SSAS versions of SQL views are called perspectives, subselects,
and subcubes. Here we get to exploit those perspectives, subselects, and subcubes.
Chapter 11: Not All There: Dealing with Empty Cells
Cubes are often pretty big. They contain lots and lots of data. However, there will
also be many gaps. For example, it's unlikely that every customer bought every
product on every single day. There will be missing or null data. Sometimes, you
want to see null values--maybe zero sales are of interest. Sometimes, the null
values are a distraction and you will want to hide them. This chapter concentrates
on displaying and hiding empty cells.
Chapter 12: Smiley Faces: Working with Key
Performance Indicators (KPIs)
Key performance indicators (KPIs) are a vital part of business intelligence. At a
glance, you can see how well you are doing without having to dig down and analyze
individual metrics. They are a high-level overview of results--and of results against
targets. Here we explore using, modifying, formatting, and creating KPIs in MDX.
Chapter 13: Hodgepodge: A Chapter
of Miscellaneous Techniques
This is a catchall chapter for topics that do not fit easily into earlier chapters.
Formatting and conditional formatting are investigated. There are also queries to
drill through and drill down on the cube.
5 of 5 people found the following review helpful
By Griller - Published on
Format: Paperback
I learned more practical MDX in an hour with this book than I did struggling for weeks several with other texts and MS BOL. If you need results now, start here. You won't regret it.

Tennick presents concise, clear, usable examples that not only give you a leg up on coding, but also lucidly illustrate some of the more difficult to grasp aspects of MDX queries. Yes, by all means, get a comprehensive text to look up arcane syntax rules, function classes, etc.. However, when it comes to writing queries, this hands down the most useful text I've found, and I searched long and hard. It had examples for almost everything I needed. Relative date ranges? Check. Percent of parent? Check. Hierarchy navigaton? Check. Cumulative sums? Check. Custom sets? Check. Calculated members? Check. Rolling averages? Check. Complex filtering? Check.

When I first opened the box, I was concerned because compared to other texts, this one seemed pretty thin. However, I only had to skim a page or two to develop an appreciation for the author's lean, "cut to the chase" analyses and explanations of functions. His economical presentations are one of the key strengths of the book.

My only minor quibble is his somewhat informal query formatting style, which can make the query text a bit harder to grasp immediately. Still, a perfect starting point for anyone who needs to start writing MDX queries right now. Great work!
2 of 2 people found the following review helpful
Outstanding Book for Connecting the Dots Feb. 21 2012
By banton - Published on
Format: Paperback
If you are an "MDX-Hacker"...

someone familiar with SSAS/cubes but relies heavily on google/stackoverflow/SQLforums when it comes to writing custom MDX

...and you wish to become proficient, this book is the perfect FIRST STEP. The clear example/explanation format used by this book to cover all the topics listed in the table of contents allows the reader to zip through at an amazing pace. For me personally, it helped to connect the dots on a few concepts which I had previously struggled with.
1 of 1 people found the following review helpful
Excellent book to cut your MDX teeth on Nov. 27 2012
By E. Hudzik - Published on
Format: Kindle Edition Verified Purchase
I am a Database/BI Developer by trade and have spent 5+ years designing and building data warehouses with SQL Server. Although I have experience building cubes in SSAS, I never had much reason to go beyond the 'drag and drop' building of MDX queries in the cube browser and SSRS. Finally I wanted to add more MDX to my skill set so I looked at a number of books on Amazon and this one looked like the level I was interested in.

It's probably not for anyone with a year+ of MDX writing experience (though you might pick up a few things), but it is a great start if you only have minimal exposure to the MDX language itself. I started with an understanding of Data Warehousing and how to design cubes, and felt this book wasted no time jumping right into actual MDX syntax that I wanted. If you don't have a knowledge of DWes and cubes, you might be a bit lost.

Within the first several dozen pages I felt I had a better understanding of MDX than many hours of perusing articles on the internet. Though the book is a bit 'short' compared to many other IT books, it gets right to the important stuff. It very concisely lays out Concept > Query > Results > Analysis, which is a very effective way to teach this topic. I would have liked if had been a bit longer and went into some more complex real world applications (it has real world applications, I just would have liked even more) - but its only billed as an intermediate book anyway.

Very happy with the purchase.
Makes MDX attractive and easy March 12 2013
By Amr - Published on
Format: Paperback
The book is written in a very nice and simple way , short example then results then explanation . You can keep this book on your desk while you work , you will sure find answers to your problem using it . This is 2008 book but totally usable with ssas 2012 .
All examples are based on Adventure works 2008 , so you will feel at home here .
This book assumes knowledge of SSAS for sure , so if you dont know SSAS try to read on the subject first before you read this book.
Also i wish you include chapter summary in future ,i find it very useful .
Definitely 5 stars from me .