tags:

views:

2649

answers:

6
+9  Q: 

How to learn MDX

I am currently learning OLAP & MDX after many years of relational database development.

Any tips on getting started in MDX? What are the best books and resources to learn MDX?

+1  A: 

If you are using SQL Server, Microsoft offers free online training here

vzczc
Can you post the URL to the free training?
Raj More
+8  A: 

A classic, albeit a bit dated, book is Fast Track to MDX. It's a great overview and a quick read, though it doesn't cover the new MDX features of SQL Server 2005.

The Spofford book MDX Solutions is more up date and a little deeper, but a bit harder to get through.

I also highly recommend the blogs of Mosha Pasumansky, Chris Webb, and Darren Gosbell.

Kevin Dente
I've just picked up a book co-authored by Chris Webb. It's called Expert Cube Development with MS SQL Server 2008. While it's no good as a first book there are some excellent tips and tricks in there once the basics are in place
Craig
+1 for MDX Solutions. Great book.
Christian Vik
+2  A: 

I found the Spoffard book not very helpful. MDX is such an oddity compared to other languages you'll learn, it's so hard to grasp from a dry book. I really would recommend a training course, otherwise you will flounder for ages. A course will really jump-start you, and it provides access to an expert when you have questions which don't seem to have online answers.

The worst trap to fall into, is to continually compare it with SQL! It uses some of the same keywords, but they mean something totally different, which makes the mental jump annoyingly harder.

I think the most efficient way to learn either OLAP or MDX would be to find someone who knows it, and get them to show you around, begin with some small changes, or some very simple queries.

Magnus Smith
Can you recommend a specific training course?
Raj More
I took the Microsoft course (since we use SQL Server Analsis Services) and whilst it wasn't perfect, it did help a lot. I expect many companies run this course, so have a look in the area near you. I think it is "Implementing Business Logic with MDX in Microsoft SQL Server 2000", but the most important thing is that the trainer has had real experience of using MDX, not just teaching it!
Magnus Smith
+2  A: 

I just answered a similar question and went to a bit of trouble to build a list with some AS resources. It can be found Here.

ConcernedOfTunbridgeWells
A: 

If you create a Pivot Table that uses a cube (in Excel), you can see the query that is being sent using this (towards the bottom of the page)

http://www.codeplex.com/OlapPivotTableExtend

That might be a good way of getting a feel for the simpler stuff.

N.B. This is only in Excel2007, not sure about earlier versions

adolf garlic
+1  A: 

You should also try and get hold of MDX Studio, a free MDX query tool written by Mosha Pasumansky (one of the original creators of MDX). It has similar MDX functionality to SQL Management Studio, but also allows you to parse and format queries, which can be very handy when trying to decipher them.

Nathan