0
Does Calendar-Based Time-Intelligence Change Custom Logic?
https://towardsdatascience.com/does-calendar-based-time-intelligence-change-custom-logic/(towardsdatascience.com)Calculating a moving average in DAX is explored by comparing classic time intelligence with newer calendar-based methods. While standard Gregorian calendars work well with functions like DATESINPERIOD, custom calendars require different logic and custom code. The process involves creating measures to handle non-standard time structures, such as a year with 15 months. Several performance optimization techniques are demonstrated, including using the TOPN function or adding a pre-calculated row rank column to the calendar table. Ultimately, the choice between optimization methods involves a trade-off between marginal speed improvements and increased memory consumption.
0 points•by chrisf•9 days ago