Your sales team’s freaking out over mismatched quarterly totals. That’s the hit real people take from custom calendars in tabular models—the hot new Power BI feature that’s more prank than progress.
Blame leap years. Or Microsoft’s half-baked DAX tweaks. Either way, your PY measures? They’re lying.
Why Previous Year Calc’s Suddenly Hate Leap Years
Look. You fire up DATEADD on a Gregorian calendar, shift back a year. Should be simple, right? Wrong.
For March 2025 versus 2024, values shift by one day. Totals? They match anyway, fooling you into thinking it’s fine. But drill down—chaos.
Online Sales (PY Gregorian) = CALCULATE([Online Sales] ,DATEADD(‘Gregorian Calendar’, -1, YEAR) )
That’s the code. Straight from the trenches. And it bombs because DAX measures “distance from parent”—the year’s start. 2024’s leap day stretches the tape measure. Boom, misalignment.
Classic time intel? Holds steady, even if months vary. New calendars? They “fix” unequal lengths but unleash this demon. Better for ragged periods, sure—but at what cost?
Here’s my take: it’s distance from parent gone rogue, echoing those 18th-century British calendar riots—skip 11 days in 1752, watch the pitchforks fly. Microsoft just skipped logic.
Workaround? Pad every month to 31 days. Custom table, fake dates. Works. But good luck with real-date calcs—they gap out.
Or hack it: slide back 12 months, not one year.
Online Sales (-12 M Gregorian) = CALCULATE([Online Sales] ,DATEADD(‘Gregorian Calendar’, -12, MONTH) )
Green fields align. Sums check out. I’ll bet my keyboard this sticks.
But wait.
Does This Wreck Weeks Too?
Weekly calendars. ISO weeks, Monday starts, YearOfWeek column. Sounds tidy.
Nope. Collapse 2022 in your table—2023 rows identical. Expand? Correct values appear. Head-scratch city.
It’s the hierarchy flexing weirdly again. Parent-child distances warping under collapse. DAX’s brain fart, basically.
No quick fix here. Test obsessively. Or stick to classic dates ‘til Microsoft patches—my bold call: they’ll roll a normalization toggle by summer, PR spin be damned.
And previous months? February blanks January’s tail end. Calendar version shines on sums, though. Trade-off city.
Is Custom Calendar Hype Just Corporate Smoke?
Power BI faithful lapped up calendar-based time intelligence like free coffee. SQLBI articles gush. References pile up.
Reality check: interference between tables nukes it all. Dual dates? Isolate ‘em, or watch crossfire.
This isn’t evolution. It’s a beta begging for tweaks. Your BI consultant’s billing hours just skyrocketed—thanks, Redmond.
Real people? Finance VPs staring at skewed forecasts. Marketers chasing ghost trends. Data analysts pulling hair.
So, yeah. Shiny toy. Dull knife.
Push the month-length awareness everywhere—quarters, whatever. Unequals trigger it.
My unique jab: this reeks of Excel’s pivot table growing pains in the ’90s. Microsoft iterates on user pain. Eventually.
Will This Break Your Existing Reports?
Short answer: if you’re all-in on new calendars, yes. Migrate carefully.
Test PY across leap years. Scrub weekly hierarchies. Isolate calendars.
Prediction: forums explode by Q2. Workarounds spread like memes.
Don’t panic. But don’t ignore. Your dashboard’s clock is ticking funny.
🧬 Related Insights
- Read more: Meta’s Muse Spark: Zuckerberg’s $Billion Push for Closed AI Supremacy
- Read more: $12.5M Pledge: Big Tech’s Bet on AI to Secure Open Source
Frequently Asked Questions
What causes day shifts in Power BI custom calendars?
DAX’s “distance from parent” mismatches leap-year lengths. Use 12-month shifts instead.
Are weekly calendars safe in tabular models?
No—collapsing hierarchies duplicates rows. Test expansions religiously.
How to fix previous year errors in Power BI?
Custom 31-day calendars or DATEADD(-12, MONTH). Avoid real-date gaps.