Exercise: Produce a map analysing Brexit voting patterns

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!

Category ==> Power BI Desktop  (26 exercises)
Topic ==> Maps  (3 exercises)
Level ==> Harder than average
Course ==> Power BI Desktop
Before you can do this exercise, you'll need to download and unzip this file (if you have any problems doing this, click here for help).

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 Desktop, and load data from the Electoral Commission's website.  You can find the link you need at this page, or use the Excel workbook in the above folder instead.  Remove a few columns in Query Editor, and create a new one showing the percentage leave vote to give:

Percent leave

The PercentLeave column should equal Leave / Valid_Votes.

Create a table showing the 10 areas with the highest percentage of votes to leave:

10 highest areas

This hasn't got much to do with maps, but it's fun showing how you can analyse real data so easily!

 

Create as good a map as you can of the percentage leave voters by area:

UK map of leave voters

The best that Wise Owl can do. This included enabling the Shape Map Visual in Power BI Desktop options, loading the Regions workbook from the above folder to associate each region of the country with England, Wales, Scotland or Northern Ireland, and designating the country column to be of data type Country.

 

It would be nice to be able to produce a map of leave voters by region or even area, but maps don't seem to support this.  Unless you can prove differently (quite possible), in which case your trainer would love to hear from you!

Save this file as Red stains, then close down the instance of Power BI Desktop containing it. 

This page has 0 threads Add post