Power BI | Analytics exercise | Show trendlines for sleep statistics using analytics

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.

Software ==> Power BI  (111 exercises)
Version ==> Latest update
Topic ==> Analytics  (2 exercises)
Level ==> Average difficulty
Subject ==> Power BI training
Before you can do this exercise, you'll need to download and unzip this file (if you have any problems doing this, click here for help).

You need a minimum screen resolution of about 700 pixels width to see our exercises. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.

Create a new Power BI report, and load data from the CSV file in the above folder:

Sleep statistics

A log of how long a reasonably imaginary Wise Owl trainer slept in 2021.

 

Show the hours slept by week (you'll need to remove the date hierarchy to do this):

Sleep by date

REM These figures seem reasonable (this is a joke for old programmers only).

 

Add a minimum and maximum line, making sure you show the label for each:

Max and min line

You may want to change your scaling, so that the minimum isn't on the bottom axis.

Now add a trend line showing what this person can expect:

Adding trendline

The trend is up: this person is gradually getting more sleep!

If you still have the energy, add a two-month forecast period:

Two-month forecast

There are only 12 months of data, so the forecast is ... uncertain.

Save this report as Greeting the sleep monster, then close it down.

You can unzip this file to see the answers to this exercise, although please remember this is for your personal use only.
This page has 0 threads Add post