Just as having a date table can be extremely useful for various data models and DAX calculations, timetables can be equally useful. However, while DAX has various functions for easily creating date tables such as CALENDAR and CALENDARAUTO, no such equivalent exists for timetables. This recipe fixes that enables you to create timetables with ease!
Constructing timetables
Getting ready
Just open Power BI Desktop and you are all set.
How to do it...
To implement this recipe, do the following:
- Create a new table with the following formula:
R01_12-Hour_Clock =
VAR __hours...