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
549 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 ...
Software ==> | PowerPivot (72 exercises) |
Topic ==> | Transforming data (Power Query) (4 exercises) |
Level ==> | Harder than average |
Subject ==> | Power BI 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 new workbook, then use Power Query to query the workbook called Tables in the above folder:
Choose to query this table.
Before you do anything else, make sure you tell Power Query you want to use the first row as column headers.
Apply suitable query steps (the answer has about 20 in) to turn the data into this:
We've split the pinnacle height into metres and feet, and created a new metres-per-floor column (a few of the values for which will be null).
Getting rid of the m and ft suffices proved tricky, as the character before them doesn't appear to be a space; try removing the m and ft letters, then applying a trim transform (it's on the TRANSFORM tab).
Now get rid of all but these columns:
We're going to show the number of buildings by country and completion year.
Apply two more query steps:
Pivot the data using the TRANSFORM tab of the ribbon to get:
China dominates the list, not surprisingly.
Load this data into Excel.
Although the column and row headings come into Excel, the values don't appear to. Does anybody have any theories for why?
Save this workbook as Pivotal moment, then close it down.
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 2024. All Rights Reserved.