Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
551 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
Software ==> | PowerPivot (72 exercises) |
Topic ==> | PowerPivot data models (7 exercises) |
Level ==> | Relatively easy |
Subject ==> | Power BI training |
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.
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.
In a new workbook, in PowerPivot import from this MAM database the following tables:
The aim of this exercise is to create the following pivot table:
This pivot table shows that Sutton Coldfield and Burnley are the towns with the highest average quantity purchased.
To help you do this, create the following data model:
The data model should contain well-named tables, and no unnecessary details. See if you can also import only the bare minimum of fields that you need to get the pivot table to work.
Whoops! We've forgotten to add in the tblProduct table. Go back into PowerPivot and add this table, but only importing products where the full price is £15 or more.
You'll also need to create a relationship between the product and transaction tables, and may also need to change the properties of the transaction table to add in the ProductId column so that you can link to it.
Amend your data model and pivot table so that they look like this:
The revised data model, with the product name field.
Amend your pivot table so that it shows the number of transactions, sorted by town name:
The (blank) column shows all of the transactions which don't have a matching product (because we didn't import it).
Save this workbook as Data models are fun, and close it down.
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2024. All Rights Reserved.