I have previously explained about using Power Query for creating calendar tables, However, some people still love to do that in DAX. There are a couple of DAX functions which makes the process of creating a calendar table very simple and easy; Calendar() and CalendarAuto(). In this short video, I'll explain what are these functions, and how you can use them to create a calendar table in just a few seconds.
The dataset for this sample can be found in my article below: https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions