Exercise: Import skyscrapers, tidy the data and create a slicer/chart

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 ==> Filtering data  (3 exercises)
Level ==> Average difficulty
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 file, and import tables from the Wikipedia list of skyscrapers (you can find the link you need at this page).

List of buildings

At the time of writing, this is the table you need to import.

 

If you haven't got Internet access or the data above has changed, you can instead load the CSV file from the above folder.

Using Query Editor, tidy up the data to look something like this:

Tidied data

The list of buildings after tidying up. You'll need to do a fair amount of column renaming and data type changing, among other things!

Now go back to Query Editor and add a custom column called Floor Height which divides the height in metres of each building by the number of floors.  Use this to create the following table:

Floor height order

The buildings in floor height order. Qatar may have only one building in the list, but it has mighty high floors.

 

Finally (!), create on a separate page of your report a slicer and chart so that you can see for any country the number of buildings per city:

United States buildings

What you should see if you choose United States. Your slicer should not allow multiple selections.

Save your file as Size is not everything, then close down the instance of Power BI Desktop. 

This page has 0 threads Add post