The date dimension is a dimension that cannot be missing from any model. The general rule says that it should come from the source, but if it is not there, it should arise as close to the source as possible.
In the Date dimensions in Power Query article, I showed that Date dimensions can be produced in different ways in Power Query. At the same time, I stated there that there is one using “#table”, which is the most suitable from the point of view of speed. You can find a built-in function to generate this calendar with additional dimensions here.
This function can also work with holidays, but you must pass them. If the public holiday has a fixed date in the year, it can be entered without a year and used within the template. This is how you should pass those holidays to the function:
The date dimension is a dimension that cannot be missing from any model. The general rule says that it should come from the source, but if it is not there, it should arise as close to the source as possible.
The date dimension is a dimension that cannot be missing from any model. The general rule says that it should come from the source, but if it is not there, it should arise as close to the source as possible.