Previous and subsequent periods

If we want to carry out calculations in previous or the next period in relation to the current date, should use “PREVIOUS” and “NEXT” Time Intelligence function. They allow aggregation of data, usually the column that contains the quantity or amount of sales, compared to the previous year, quarter, month or day, as well as in relation to the next year, quarter, month or day. In the example below you will see how to utilize this class of DAX functions.

Time Intelligence DAX functions

DAX has a variety of functions for working with date and time which do not differ much from similar traditional Excel functions. Time Intelligence functions, on the other hand, are a special group of DAX functions that enable calculations in accordance with time periods: years, quarters, months and days. These periods are used as special filters that allow achieving of the results that we quite hardly get by using traditional calculation methods.

Calendar

There are several ways to create Excel calendar. Also there are multiple templates that you can use for that purpose. The goal of this „recipe“ is helping you to understand practical application of some important date&time functions, and creating a calendar is an ideal opportunity to do so. When you learn how to generate dates and positions they should fit in you can use calendar for planning activities or tracking project realization.