ALL SOFTWARE EXERCISES
- EXERCISES HOME PAGE (862)
- Access 2010 (66)
- Access VBA Macros (17)
- Advanced VBA (29)
- ASP.NET MVC (0)
- ASP.NET webforms - C# (25)
- ASP.NET webforms - VB (27)
- Excel 2010 (83)
- Excel 2013 (10)
- Excel 2016 (0)
- Excel VBA Macros (37)
- Power BI - Excel 2013 (25)
- Power BI - Excel 2016 (23)
- Power BI Desktop (26)
- PowerPivot 2010 (26)
- Report Builder 3.0 (42)
- SQL (156)
- SSAS - multidimensional (21)
- SSAS - tabular (29)
- SSIS Integration Services (40)
- SSRS Reporting Services (53)
- Visual Basic 2010 (42)
- Visual C Sharp 2010 (65)
- WPF - Visual C# (20)
SSAS - TABULAR EXERCISES
Exercise: Create, deploy, browse and slice a data model in SSAS Tabular
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 course listed below!
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.
If you haven't already done so, run the SQL script in the above folder in SQL Server Management Studio to generate a database (not for commercial use or copying) called MAM.
The aim of this exercise (the steps for which are described in the following pages) is to create the following pivot table:
This shows, for example, that total sales for Mammal products in London for Shopping Centre centre types were 664.
Start by importing the tables that you'll need into your new model: tblSpecies, tblAnimal, tblProduct, tblTransaction, tblPos, tblStore, tblCentre, tblCentreType, tblTown and tblRegion.
Create a good data model, hiding all the tables and columns that a user wouldn't want to see, and also create a measure giving the total quantity sold for the transactions table.
Now deploy your cube to the production server on your computer (which may be remarkably similar to the workspace server). Connect to this Analysis Services database in Management Studio, and browse your model:
If you include the CentreTypeName, RegionName and SpeciesName attributes and the Sum of Quantity measure, this is what you should see.
While still browsing your cube in Management Studio, choose to analyse it in Excel and create the final pivot table:
The final pivot table, complete with slicer.
Finally, go back to the original model and add in the tblQuadrant table to your model, creating the necessary relationship between this and the Region table. Redeploy your model and refresh in SSMS and Excel to display the above pivot table, but by quadrant, not region:
You'll need to redeploy your model and refresh your pivot table before you can see these results.
Close any open Excel workbooks down without saving any changes (unless you want to save them for posterity/future reference).