Chapter 4. Time Calculations and Date Functions
Often, our models need to display data within the context of time relationships. Therefore, in this chapter, we'll be covering:
- Calculating running totals–totals to date
- Month, quarter, and year to date aggregations
- 445 dates and irregularities
- Last year and prior period values
- Relative Time–pivoting around measures
- Moving averages and last n averages