One row for every day for which you expect to have data for the fact table3
Usually use a meaningful integer surrogate key (such as yyyymmdd 20060926 for Sep. 26, 2006). Note: this order sorts correctly.4
Include rows for missing or future dates to be added later.5
Fiscal Year Calendar Year Calendar Fiscal Quarter Quarter Calendar Fiscal Month Month Fiscal Week Calendar Type of Day Week Day of Week Day Holiday6
Attribute Nam e Attribute Description Sam ple ValuesDay The specific day that an activity took place. 06/04/1998; 06/05/1998Day of Week The specific name of the day. Monday; TuesdayHoliday Identifies that this day is a holiday. Easter; ThanksgivingType of Day Indicates w hether or not this day is a Weekend; Weekday w eekday or a w eekend day.Calendar Week The w eek ending date, alw ays a Saturday. WE 06/06/1998; Note that WE denotes w eek ending. WE 06/13/1998Calendar Month The calendar month. January,1998; February, 1998Calendar Quarter The calendar quarter. 1998Q1; 1998Q4Calendar Year The calendar year. 1998Fiscal Week The w eek that represents the corporate F Week 1 1998; calendar. Note that the F in the data value F Week 46 1998Fiscal Month indicates that thiscomprised time period. The fiscal period is a fiscal of 4 or 5 F January, 1998; w eeks. Note that the F in the data value F February, 1998Fiscal Quarter indicates that of 3 is a fiscal time period. The grouping this fiscal months. F 1998Q1; F1998Q2Fiscal Year The grouping of 52 fiscal w eeks / 12 fiscal F 1998; F 1999 months that comprise the financial year.
The Data Warehouse Toolkit.Second Edition.The Complete Guide to Dimensional Modeling.Ralph Kimball.Margy Ross