SSAS - multidimensional | Writing MDX Queries exercise | MDX query using set of Mayan months

This exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

You can learn how to do this exercise on the relevant Wise Owl classroom training course (sadly for the moment only in the UK).

Software ==> SSAS - multidimensional  (21 exercises)
Version ==> SSAS 2008 R2 and later
Topic ==> Writing MDX Queries  (3 exercises)
Level ==> Average difficulty
Before you can do this exercise, you'll need to download and unzip this file (if you have any problems doing this, click here for help).

You need a minimum screen resolution of about 700 pixels width to see our exercises. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.

You suspect that the Mayan month of Kayeb has deep significance for your product sales.  Create a query investigating sales for the Kayeb months for 2009 and 2010 across shopping centres:

SSAS Analysis Services exercise - Writing MDX Queries (image 1)

You'll need to use a set to get the two months as column headers

Save this query as Mayan Minefield.

Too easy?  Try amending your query so that it shows total sales by centre type and species, but only for the two months shown above:

SSAS Analysis Services exercise - Writing MDX Queries (image 2)

The figures should add up to the same amount as for the first query

Save this query as Mayan Minefield 2, then close it down.

You can unzip this file to see the answers to this exercise, although please remember this is for your personal use only.
This page has 0 threads Add post