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
542 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 ==> | Date functions (10 exercises) |
Level ==> | Harder than average |
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 (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.
See how many of the following calculated fields you can create (here we're showing figures for 2014, using a year filter):
See below for hints!
Here are some notes on how to create each of the 5 columns in the pivot table shown on the previous page:
Calculated field | Notes |
---|---|
This period | This is just the sum of the quantity sold (you can just use an implicit calculated field). |
Last year total | Use the PARALLELPERIOD function to show total quantity sold for the whole of the previous year. |
PercentLastYear | Divide the first column by the second. You should wrap this in an IFERROR function to return BLANK if there's a problem, otherwise this will give an error for 2013. |
YearToDate | A simple (!) TOTALYTD function. |
LastYearYTD | Use a combination of the SAMEPERIODLASTYEAR and DATESYTD functions (you may need to refer to the example in the course manual for help). |
Save this workbook as Impressive stuff, 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.