Power BI | Calendars exercise | Compare expense payment dates with dates incurred

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.

The answer to the exercise will be included and explained if you attend the course listed below!

Software ==> Power BI  (57 exercises)
Version ==> Latest update
Topic ==> Calendars  (2 exercises)
Level ==> Average difficulty
Course ==> Introduction to Power BI
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.

Import both tables from the above workbook.  Power BI Desktop will join them together by the wrong field!

Wrong field

The id field just numbers the rows in each table - it's unfortunate that it happens to have the same name and data type in each table.

Delete this relationship, then import another copy of the calendar table, rename both tables and create relationships to get:

Two calendar tables

One relationship should use the date an expense was incurred, the other the date an expense was paid.

Use this model to show that a few expenses were incurred in one year and paid in the next:

Matrix showing errors

You could apply a conditional formatting rule to highlight numbers less than 100, as here.

Save this file as Small fry, then close it down.

This page has 0 threads Add post