Almost all data models need to analyze data over time. The first step for handling date calculation is to create a Date table, which simplifies any date-related calculation. Because of its importance, you should be careful when you create a Date table.
In this module, you will see how to use functions such as CALENDAR and CALENDARAUTO to create a new date table in case your data source does not include one.
You will also see how to crete a Date table with the right metadata, marking the table as a Date table and applying the correct sort order to text columns containing day and month names. Finally, you will see considerations about handling multiple dates in the same table.
Log in or purchase access below to the premium version of this content.