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 ==> | Understanding EARLIER (2 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.
Open the Power BI file in the above folder. As well as a list of films, it contains a table giving how many times the author would need to pop out for a comfort break during each film's screening:
From this table you should be able to make a reasonable guess at the author's age ...
Note that the two tables are not joined together - nor should they be for this exercise.
In the Films table create a calculated column called NumberBreaks which shows for each film the number of breaks needed. To do this you want to pick out the value of the Breaks column where:
To refer to this film you can either use the EARLIER function or create a variable.
Because you're not using an aggregation function, you'll need to use the VALUES function within CALCULATE to pick out what you can be confident is the only Breaks column value returned.
When you've finished, you should be able to create the following matrix:
You're going to be popping out more to see multiple-Oscar films like Titanic and The Return of the King than for less successful films, because they last longer on average.
If you still have time, try creating a second calculated column to do the same thing, but this time using the method you didn't use the first time.
Save this file as Wee report, 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.