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
549 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 VALUES function (7 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 - you should see this table:
Average box office takings, budget and profit by film certificate.
Use the following menu option to import the Units worksheet from the above folder:
Choose to import data from Excel.
Create a slicer allowing you to choose which unit you want to use:
A basic slicer - feel free to pimp yours, should you so wish.
Use the HASONEVALUE function (among others!) to create 3 measures showing the average box office takings, budget and profit for the unit chosen:
Here we've chosen $m as our unit, so all of the figures are divided by 1000000. If you don't choose a unit in your slicer your measures should all return blank, since you don't know what divisor to use.
Still got time? Add a measure called Title (and a card to display it) to show different titles according to whether or not you have chosen a unit:
Unit chosen | No unit chosen |
Save this file as Whew, then close it down.
You can find other training resources for the subject of this exercise here:
From: | Raouf_jems |
When: | 14 Sep 23 at 10:38 |
Units =
CONCATENATE (
"Units: ",
IF ( HASONEVALUE ( Units[Unit] ), VALUES ( 'Units'[unit] ), "Not selected" )
)
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.