Exercise: Create simple perspectives to restrict what different users see

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 Wise Owl course listed below!

Category ==> SSAS - tabular  (29 exercises)
Topic ==> Perspectives  (1 exercise)
Level ==> Average difficulty
Course ==> SSAS - Tabular Model
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.

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

Again if you haven't already done so, create a new project called BaseModel, and import the following tables: tblAnimal, tblCentre, tblCentreType, tblPos, tblProduct, tblQuadrant, tblRegion, tblSpecies, tblStore, tblTown, tblTransaction.  Delete any measures already created apart from one to give the total quantity sold.

Your model might well look something like this now: 

The original model

The original model (what the world sees).

You know that the centre type managers are only interested in total sales by centre.  Create a perspective called Self-centred whose users will see the following pivot table field list in Excel when they analyse your model:

Pivot table field list Pivot table
The pivot table field list A pivot table it might produce

Create another perspective called Zoo, which restricts users to seeing the following animal data:

Pivot table field list Pivot table itself
The pivot table field list The start of a typical pivot table

Save this workbook (optionally) as Keeping proper perspective, then close it and your model down. 

This page has 0 threads Add post