JOURNAL OF BASIC SCIENCE AND ENGINEERING

Optimizing Forecast Accuracy through Dynamic Calendar Modeling and Advanced DAX Calculations in Power BI

DOI: https://doi.org/10.10399/JBSE.2026975134

Abstract:

Operational forecasts embedded in Business Intelligence (BI) platforms are increasingly produced in the semantic layer itself rather than in a separate statistical environment, yet the accuracy of such forecasts is frequently limited not by the sophistication of the extrapolation method but by the impoverished representation of the calendar against which the history is measured. Microsoft Power BI supplies native time-intelligence functions that presuppose a static Gregorian calendar of equal periods, whereas demand history is shaped by trading-day variation, moving holidays, leap days, the fifty-third retail week, promotional overlays and fiscal-period boundaries that shift from year to year. This paper develops and evaluates a Dynamic Calendar Modeling (DCM) framework in which the calendar dimension is treated as an active, feature-bearing regressor set and the forecast itself is expressed through advanced DAX calculations operating over that dimension. The framework is specified in five layers - a dynamic, event-aware calendar dimension; trading-day and holiday normalisation of the history; surrogate-key lag and seasonal-index construction; a damped-trend exponential-smoothing forecast engine implemented as a calculation group; and a vintage-snapshot accuracy feedback loop.

The framework was evaluated on 4,860 item-location series drawn from a multi-sector enterprise group over five annual model generations from 2022 to 2026, using rolling-origin evaluation with 24 origins per series and a six-period horizon. Weighted MAPE at the one-period horizon fell from 21.4 % under the baseline model to 9.7 % under the complete framework, a reduction of 54.7 %; MASE fell from 1.28 to 0.68 and forecast bias from +6.4 % to +0.7 %. Forecast value added relative to a seasonal naive benchmark improved from -2.1 to +9.1 percentage points. The largest gains occurred precisely in the calendar-disturbed segments: error in fifty-third-week periods fell by 66.5 % and in moving-holiday periods by 64.3 %. Forecast recalculation latency fell from 14.6 s to 2.3 s, the planning cycle contracted from 47.0 to 12.5 hours, and the manual override rate fell from 38.4 % to 11.2 %. Five design principles and a staged implementation roadmap are formalised.

PDF