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 ==> | Calendars and dates (8 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 Power BI file in the above folder:
The file contains sightings of certain marine animals in 2015-16. You can choose species in the slicer and see a summary of sightings, but we want to be able to analyse the sightings in more detail.
Load the calendar from the same folder into your model:
The Power BI option to load data from Excel.
To make this work:
Look on the Modeling of the Power BI ribbon tab for the last two options.
Now create a matrix summarising sightings by year and month:
The field well for your matrix should look like this. Be careful to tell Power BI not to sum the years, otherwise it will just add them together!
You can now expand this to show the months too:
Click on this tool to show the months too. The figures are for Harbour Porpoise sightings.
Use the PREVIOUSMONTH function to create a measure called Previous month to show sightings for the previous month:
This measure displays total Harbour porpoise sightings in the previous month.
Now use the DATEADD function to create a measure called Two months ago which shows sightings two months previously:
We're still looking at Harbour porpoise sightings. Not sure whether this reveals anything, apart from the fact that you have got the hang of time intelligence functions in DAX!
Save this file as Marine trends, 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.