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 ==> | Quick measures (5 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.
Open the Power BI file called Movie Data.pbix from the folder above.
Add a table visual with Oscar Wins and Box Office Dollars.
Set the Oscar Wins column to not summarise.
You can stop a column from summarising data by clicking its dropdown in the columns bucket of the field well and choosing the Don't summarize option.
Now we'd like to divide each Sum of Box Office Dollars value by the total. To do this, create two quick measures in the Film table:
Create a quick measure giving the total Sum of Box Office Dollars with filters not applied.
This will be our denominator. Rename this measure as Total Box Office unfiltered.
Create a quick measure to divide the Sum of Box Office Dollars by the previously created quick measure.
Rename this measure as % of unfiltered total and format it as a percentage.
Add the % of unfiltered total measure to the table visual.
Unsurprisingly, the non Oscar winners have the highest percentage!
Add a slicer visual using Oscar Wins and set it to filter between 2 and 10 wins.
The data being shown makes up 10.44% of the total Box Office value.
Now create a quick measure to show each Sum of Box Office Dollars value as a percentage of the filtered total.
Create a quick measure for the denominator giving the total value with filters applied.
Create a quick measure to divide the Sum of Box Office Dollars by the previously created denominator.
Rename the left hand measure as Total Box Office filtered and the remaining measure as % of filtered total.
Format the % of filtered total as a percentage and add to the table visual.
Change the slicer values and observe each % of total measure.
This example shows the percentages for between 3 and 7 Oscar wins.
Save the file as Not so quick.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.