EXERCISE TOPIC▼
- Access exercises (91)
- C# exercises (79)
- Excel exercises (278)
- Power Apps exercises (13)
- Power Automate exercises (18)
- Power BI exercises (139)
- Power Platform exercises (157)
- Python exercises (28)
- Report Builder exercises (141)
- SQL exercises (198)
- SSAS exercises (51)
- SSIS exercises (46)
- SSRS exercises (99)
- VBA exercises (85)
- Visual Basic exercises (46)
POWER BI EXERCISES▼
DAX EXERCISES▼
DAX | Calendars and dates 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.
Software ==> | DAX (28 exercises) |
Version ==> | |
Topic ==> | Calendars and dates (5 exercises) |
Level ==> | Average difficulty |
Subject ==> | Power BI training |
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!

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:

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:

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.
Is the attached answer is belong to this exercise ? I see 4 files and it has completely different data