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
545 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 ==> | Power BI (160 exercises) |
Topic ==> | Calculated columns (12 exercises) |
Level ==> | Average difficulty |
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 Power BI Desktop file, and load the Buildings worksheet from the Excel workbook in the above folder (you can view the original Skyscraper Center data via a link here).
There are 3 columns giving the uses to which each building is put:
The last 3 columns tell you how each building is used.
Use the IF function to create a new column to show for each office its use type, following these rules:
Rule | Use type |
---|---|
If any of the 3 Use columns is office | Office, etc |
Otherwise | Other |
Show the number of buildings per use type and country code in a matrix - you should get these results:
AE - the United Arab Emirates - seems to be the place to go if you want to see skyscrapers without offices in them.
Create a column giving the floor height per building (the height in metres divided by the number of floors), and use this to show the average floor height per country:
It seems hard to believe British buildings are infinitely high; easier to believe that Wise Owl have added a rogue office to the list with nothing filled in for the number of floors, and this is giving a divide by zero error.
Amend your floor height formula so that it gives a blank if there is no value in the Floors column.
To do this you can either use the DIVIDE function, or use the IFERROR function to test for an error.
After correcting your formula, your table should now look like this:
For Britain there are two buildings, but in calculating the average the one which returns a blank floor height is (correctly) ignored.
Save this file as Kingsmoor, and close down the Power BI instance you're using.
You can find other training resources for the subject of this exercise here:
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.