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
542 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 ==> | Basic measures (5 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 file in the above folder in Power BI Desktop. It's missing a certain je ne sais quoi:
Measureless despair!
Create a table called Film measures to hold your measures:
As a reminder, in Power BI you can click on this tool to start creating a new table.
Create a measure called Average Box Office to show the average box office takings (dividing by 1,000,000 to make the figures more readable):
You can right-click on the measure in the field well to apply conditional formatting by this measure (in this case to show that 12A Fantasy films have the highest average box office takings - although if you scroll down you'll find 12 certificate Romance films do even better).
Create another measure called Average Profit, to show the average difference between the box office takings and budget for each film:
Once more, 12A Fantasy films rule (although again, scrolling will reveal that 12 certificate Romance films do even better).
Because you're averaging an expression, you won't be able to use the standard AVERAGE function.
Create one more measure called Number of films to count the number of films for the filter context (use COUNTROWS). Create a table on a separate page to show your measures:
Inside information: depressingly, the two films which propel 12 certificate romantic films to the top of the list are Ghost and Titanic.
You can click on the Average profit column heading to sort the genres in descending average profit order (although you probably knew that already ...).
Save this as Just let go, then close it down.
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.