Power BI Calender Script

In order to have a global calendar, that can be shared between multiple datasets – I use the following m-script: