POWER BI EXERCISES▼
- PowerPivot data models (7)
- Pivot tables using PowerPivot (2)
- Using Excel tables (3)
- Using other data sources (1)
- Transforming data (Power Query) (7)
- Calculated columns (7)
- Measures (2)
- The CALCULATE function (15)
- More advanced DAX functions (5)
- Calendars (1)
- Date functions (10)
- Hierarchies (2)
- KPIs (5)
- Power View (4)
- Power BI Desktop overview (3)
- Power BI Desktop maps (1)
PowerPivot | Date functions exercise | Compare year-to-date for this year and previous year
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.
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.
Good luck! To start, if you haven't already done so run the script in the above folder to generate the MAM database (not for commercial use or copying).
Connect to tables as follows:
Most of the tables and relationships are as normal, but each region's RegionManagerId must tie in to the value of the StaffId field in the Staff table. You'll also need the store, point-of-sale, transaction and calendar tables.
The company manager wants to be able to compare year-to-date figures for 2010 for the various regional managers against the year-to-date figures for the corresponding previous period. Your task is to create these figures!
Here's what Wise Owl think the final answer should look like:
The figures for the first couple of regional managers ...
You should find the DATESYTD function useful, as shown in the manual.
Save this workbook as The full Monty, and close it down.