The DAX DATESINPERIOD function is very useful where you want to perform a calculation within a fixed time period, for example, a quarter, a month a year, but always relative to the current period. We