# Exercise: Import a table of tallest buildings, and tidy it up

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!

 Category ==> Power BI - Excel 2016  (24 exercises) Topic ==> Transforming data (Power Query)  (4 exercises) Level ==> Harder than average Course ==> PowerPivot / Excel Power BI
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 Excel workbook, and create a query based on the Tallest buildings worksheet in the Tables workbook in the above folder.

Apply transforms and create a new Metres per floor column to get this:

Use the pinnacle height to get the height in metres and feet, and remove the roof height column.

Warning: the character before the m and ft at the end of the height in metres and feet doesn't seem to be a space.  Your best bet is to remove the m and ft, and then apply the Trim transform (if you can find it, that is).

Now get rid of all but these 3 columns:

You'll also need to remove any buildings with null completion years, and sort by the completion year.

Create a pivot transform to show the number of buildings by country and completion year:

The first few countries and years that you should see.

Show this data in a PowerPivot data model.

Save your workbook as But why, and close it down.