Module 2 ยท DAX and the numbers that matter Lesson 5 of 15
CALCULATE and time intelligence
CALCULATE changes the filters a measure is evaluated under, which is how "this month", "same month last year" and "share of total" all become one line each.
Worked example
Total sales and sales for the same period last year are the same measure with one extra filter argument. Writing them as two disconnected formulas works until the fiscal year changes.
Your practice task
Add four measures: total, previous month, month-over-month growth percentage and share of the total.
Do this before moving on. Reading a solution teaches the shape of it; typing it teaches you.
Key takeaway
CALCULATE changes the filters a measure is evaluated under, which is how "this month", "same month last year" and "share of total" all become one line each.
Keep your place in this course
A free account saves which lessons you have finished and unlocks the certificate. The lesson itself stays free to read.
Create free account or sign inCourse complete
You finished every lesson.
Your certificate is ready, and the projects you built are the proof to attach to an application.
Almost there
15 lessons left of 15
Finish every lesson to unlock the certificate. Each one ends in a practice task โ do them and the final project brief writes itself.