Ask a dashboard a simple business question — how does this month compare with last month, and where does the quarter stand so far? — and you are asking about a period against time, not a period alone. In Power BI, the DAX family that answers such questions is called time intelligence. Its full library is deep, but working professionals rely weekly on three patterns: prior-period comparison, running totals, and period-to-date totals. All three stand or fall on something that is not a function at all. They stand or fall on the calendar underneath them.
First requirement: a real date table
Time intelligence works on a dedicated date table: one row per date, continuous, with no gaps, marked as the model's date table and related to the facts on the date column. This requirement holds even at small scale. Builders who run time functions directly off a text month column in the fact table get formulas that appear to work on demonstration data and collapse on the first real calendar, because "prior month" has no meaning to a text label.
Ordering makes the same point. Months must sort by month number — January first, February second, March third — never alphabetically. Alphabetical order puts February before January and March before February, quietly scrambling every trend built on top of it. The calendar is not decoration around the time logic. The calendar is the time logic.
Pattern one: prior period, honestly blank
The foundations form of a prior-period measure uses CALCULATE with a date-shifting function over the calendar: evaluate total revenue in the same context, shifted one month back. Work it against three checkable months — January $820, February $950, March $1,520 — and every result can be verified by eye. Evaluated at February, the prior-month measure returns $820, January's figure. At March, it returns $950. At January, it returns blank, because there is no December in the data. Blank is the honest answer — not zero, and not an error.
The comparison measures compose from there. Revenue change against the prior month is the current total minus the prior total: +$130 at February and +$570 at March. The growth rate divides that change by the prior month: +15.9% at February ($130 ÷ $820) and +60.0% at March ($570 ÷ $950). Note January again: its growth rate is blank, because a percentage against a nonexistent base is fiction. The formulas, built this way, refuse to invent one — and that refusal is a feature to protect, not a gap to patch.
Patterns two and three: totals that must reconcile
A quarter-to-date total, evaluated month by month on the same figures, returns $820 at January, $1,770 at February ($820 + $950), and $3,290 at March — the full quarter, as it must. A running total follows the same accumulation across a sorted category, bounded at the period's edge so nothing from before the start leaks in.
Both patterns share one discipline: a cumulative figure is only as trustworthy as its ordering and its boundary. So verify it the plain way. The final point of the running total must equal the grand total — $3,290, the same figure the quarter's three months produce by simple addition. If the last point is not the grand total, that is not a chart problem. It is a context problem, and this check is exactly how you find it before anyone else does.
Why three small months teach the whole pattern
There is a reason to learn this on a calendar small enough to print. With three months and three figures, every formula's result can be checked by hand in seconds, and a wrong result cannot hide inside a large dataset. If the prior-month measure returns anything other than $820 at February, the context is wrong and you know it immediately. If the running total's February point is anything other than $1,770, the ordering or the boundary is wrong, and you know that immediately too. That habit — state the expected answer before you trust the computed one — scales to real calendars of years and thousands of rows, where nobody can check every cell but anybody can check the points that must reconcile: the first period, the last period, and the grand total. Builders who learned on checkable data keep checking. Builders who started on data too large to verify tend to ship whatever the visual shows, and the first person to find the error is usually the one the dashboard was built to persuade.
What the functions cannot do
Close with the honesty clause. Time intelligence compares periods; it does not make them comparable. In the quarter behind these figures, March had 8 orders and February 6, and the quarter's two $400 orders — the largest in the data — fell one to a month. No function knows or cares how uneven the months underneath a clean growth rate may be. The functions shift context. The builder supplies judgment about what the comparison means, and care about how it will be presented.
That is why foundations level, fully understood, beats the full library half-understood. The misconception to retire is that time intelligence is just chart sorting — put Month on the axis and the tool handles the time part. An axis label is not a calendar. Without a continuous date table in true time order, prior-period and to-date functions have nothing sound to shift across: text months sort alphabetically, gaps break accumulation, and "last month" cannot be computed from a label. The chart is the last step. Build the calendar first — three patterns, sorted months, blank where the past does not exist, and every figure reconciled before it is shown to anyone.
Experience it, don’t just read about it
Time intelligence rests on a proper date table, not on chart sorting, is Concept 9 of Power BI: Dashboards That Drive Decisions (Course No. 113), from Cognosco Learning, a learning company powered by AI. The course builds the wider builder's craft beyond this distinction — The Star Schema, Measures vs. Calculated Columns, and Core DAX II — CALCULATE and Filter Context — each worked through with an Agentic Socratic AI coach, one learner at a time. Try a Free Preview at cognoscolearning.com.
Navigate your own course.
© 2026 Cognosco Learning. All rights reserved.