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.

The answer to the exercise will be included and explained if you attend the relevant Wise Owl course (sadly, only in the UK for now).

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.

This page has 0 threads Add post