ALL SOFTWARE EXERCISES
- EXERCISES HOME PAGE (813)
- Access 2010 (66)
- Access VBA Macros (17)
- Advanced VBA (29)
- Excel 2010 (83)
- Excel 2013 (10)
- Excel 2016 (0)
- Excel VBA Macros (37)
- Power BI - Excel 2013 (25)
- Power BI - Excel 2016 (23)
- Power BI Desktop (26)
- PowerPivot 2010 (26)
- Report Builder 3.0 (42)
- SQL (156)
- SSAS - multidimensional (21)
- SSAS - tabular (29)
- SSIS Integration Services (40)
- SSRS Reporting Services (53)
- Visual Basic (45)
- Visual C Sharp (65)
- WPF - Visual C# (20)
POWER BI - EXCEL 2013 EXERCISES
- PowerPivot data models (1)
- Pivot tables using PowerPivot (2)
- Using Excel tables (1)
- Transforming data in Power Query (3)
- Calculated columns (2)
- The CALCULATE function (4)
- More advanced DAX functions (3)
- Date functions (3)
- KPIs (2)
- Power View basics (1)
- Power View Filters (1)
- Power View maps (1)
- Power Map (GeoFlow) (1)
Exercise: Use the EARLIER function to group sales into category bands
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 course listed below!
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 workbook and PowerPivot data model, and import the following tables: tblCentre, tblCentreType, tblPos, tblStore, tblTransaction.
Open the Word document in the above folder, and paste the data into your model to create the following new table:
Call your new table Categories.
Resist the temptation, however, to link this to any other table - it should stand alone!
Now create a calculated column in the Centre table using the EARLIER function to give a size band for each centre. Here's what this should look like:
The column should show for each centre the name of the category where the centre's number of units is less than the upper threshold for the cateogry, but also greater than or equal to the lower.
This must be a calculated column, not a calculated field!
You should now be able to use this calculated column to create the following pivot table:
The biggest sales take place in So-so sized shopping centres.
Save your workbook as Rename that function, and close it down.