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
562 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 ==> | Relatively easy |
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.
Open the Tallest Buildings - Calculated Columns.pbix file in the folder shown above and switch to the Table view of the Building table.
You can see the data in the model by switching to the Table view.
From the ribbon choose Table tools | New column to create a new calculated column.
The formula bar will be activated, ready for you to type your formula.
Change the name of the column to Total floors.
Edit the text on the left of the = sign to give your column a name.
Write a formula to add together the values of the Floors above ground and Floors below ground columns and press Enter to complete the calculation.
The column of answers appears at the right hand side of the table.
Create a new calculated column called Average floor height which divides the Height m column by the Floors above ground column. You could do this using the division operator:
Column Name = Value to Divide / Value to Divide By
Or using the DIVIDE function:
Column Name = DIVIDE( Value to Divide, Value to Divide By )
Whichever technique you choose, you should end up with a new column of messy-looking numbers.
Perhaps a few too many decimal places!
Use the Column tools tab of the ribbon to display the answers with two decimal places.
Two decimal places should be enough.
Switch to the Report view of the report and add a table visual which displays the columns shown in the diagram below:
You can sort the table by clicking on a column header.
Save the file as The Floors the limit.pbix
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.