Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
417 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
You can find other training resources for the subject of this exercise here:
You can also book hourly online consultancy for your time zone with one of our 7 expert trainers!
| Software ==> | Power Pivot (43 exercises) |
| Topic ==> | Transforming data with Power Query (2 exercises) |
| Level ==> | Relatively easy |
| Subject ==> | Power Pivot training |
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.
Create a blank Excel workbook and from the ribbon choose Data | Get Data | From File | From Excel Workbook
Choose the Excel file called Tallest Buildings.xlsx in the folder shown above. Select the Buildings worksheet and choose Transform Data.

The data is a bit too messy to use at the moment - we need to transform it to make it usable.
In the Power Query editor, choose to remove the Image and Ref columns.

You can right-click a column header and choose to remove it.
Select the Floors column and choose to split the column using a delimiter.

Use this option in the Home tab of the ribbon.
Use a space as the delimiter and split the column once at the leftmost space.

This will create two columns.
Rename the Floors.1 column as Floors above ground.

Double-click a column header to rename it.
Split the Floors.2 column by Digit to Non-Digit and then split it again by Non-Digit to Digit. Remove the columns either side of the numbers you have extracted

After splitting the column twice, you should be left with three columns - we want only the one containing numbers.
Apply a Replace Values transform to the remaining column of numbers to fill in the blanks with zeros.

Replace the null values with 0.
Rename the column as Floors below ground and change its data type to Whole Number.

Click the icon next to the column name to choose a new data type.
Choose Home | Close & Load | Close & Load To in the Power Query ribbon and choose to create a connection only, adding the data to the Power Pivot data model.

Choose these options to add the data to Power Pivot.
Open Power Pivot and make sure that the data appears in the data model.

The data as it should appear in Power Pivot.
Use the Power Pivot data model to create a pivot table as shown below:

The final pivot table.
Save and close the file.
You can find other training resources for the subject of this exercise here:
You can also book hourly online consultancy for your time zone with one of our 7 expert trainers!
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2025. All Rights Reserved.