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
547 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 ==> | DAX (59 exercises) |
Topic ==> | The CALCULATE function (16 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 - Replace Filters.pbix file in the folder shown above. The report contains a matrix showing a list of countries and the average height of buildings.
Create a measure called Avg height US which calculates the average height of buildings where the Country[Country] column equals United States. Display this measure in the matrix.
The figure for United States should appear next to each country.
Create a measure called Avg height vs. US which subtracts Avg height US from Avg height. Display this measure in the matrix and apply some conditional formatting to it.
It should be easier to see which countries have taller or shorter buildings compared to the United States.
Create a measure called Avg floors which uses the AVERAGEX function to calculate the average of Floors above ground plus Floors below ground.
Create another measure called Avg floors US which calculates the same value for buildings in the United States.
Create another measure called Avg floors vs. US which works out the difference between the previous two measures. Display the Avg floors and Avg floors vs. US measures in the matrix and apply conditional formatting to the latter.
Each country should be compared with the value for United States.
Create a measure called Total floors which uses the SUMX function to calculate the sum of Floors above ground plus Floors below ground.
Create another measure called Total floors US which calculates the same value for buildings in the United States.
Create another measure called Total floors as % of US which divides Total floors by Total floors US. Display the Total floors and Total floors as % of US measures in the matrix.
A sample of the results you should see.
Save and close the report.
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.