ALL SOFTWARE EXERCISES
- EXERCISES HOME PAGE (776)
- Access 2010 (66)
- Access VBA Macros (17)
- Advanced VBA (29)
- ASP.NET MVC (0)
- ASP.NET webforms - C# (25)
- ASP.NET webforms - VB (27)
- Excel 2010 (83)
- Excel 2013 (10)
- Excel VBA Macros (37)
- Power BI - Excel 2013 (25)
- Power BI Desktop (26)
- PowerPivot 2010 (26)
- Report Builder 3.0 (42)
- SQL (115)
- SSAS - multidimensional (21)
- SSAS - tabular (29)
- SSIS Integration Services (18)
- SSRS Reporting Services (53)
- Visual Basic 2010 (42)
- Visual C Sharp 2010 (65)
- WPF - Visual C# (20)
POWER BI DESKTOP EXERCISES
Exercise: Create a couple of measures to show average Brexit votes
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 Wise Owl 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.
Create a new Power BI file, and load the Excel workbook from the above folder (you can go to the original Electoral Commission source data from a link here).
Create a measure to show for any filter context the total remain vote divided by the total electorate. Here's what this should show:
The first few rows of a table showing our measure by area (note that we've formatted it as a percentage).
The measure should be a simple calculation of the form SUM(X) / SUM(Y).
Too easy? Create another measure to show the total value for any filter context of the difference between the leave and remain votes, to get something like this:
Although it was only the 5th highest in the remain votes table by proportion of electorate, City of Edinburgh contributed by far the most votes to the remain cause.
Use the SUMX function to sum the expression X - Y over the Voting table, where X = the number of remain votes and Y = the number of leave votes.
Save this as Water under the bridge, then close down the Power BI instance you're using.