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
549 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 ==> | KPIs (5 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.
The aim of this exercise is to create the following pivot table:
We'll aim for each quarter's total quantity sold to be at least 99% - and ideally 100% - of the previous quarter's total quantity sold. Lots of help follows!
If you haven't already done so, first run the SQL script in the above folder (copying and commercial use prohibited) to generate a database called MAM. Also if you haven't already done so, run the spCreateCalendarTable stored procedure to create a calendar table.
Create a new workbook, and within this create a data model incorporating the tblCalendar, tblPos and tblTransaction tables.
Create the following two calculated fields:
Field | Notes |
---|---|
This quarter | The total of the Quantity column for any query context. |
Previous quarter | The total of the Quantity for the previous quarter (use CALCULATE and DATEADD to sum the figure for 1 quarter back in time). |
We need to create the first field as an explicit calculated field because you can't use an implicit calculated field as the basis for a KPI.
Now create your KPI to produce the pivot table shown at the start of this exercise, using 99% and 100% as the thresholds.
Save this workbook (slightly surreally) as Kittens Prefer Iceland, then 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.