3. One row for every day for which you expect to have
data for the fact table
3
4. Usually use a meaningful integer surrogate key (such
as yyyymmdd 20060926 for Sep. 26, 2006).
Note: this order sorts correctly.
4
5. Include rows for missing or future dates to be added
later.
5
6. Fiscal Year Calendar Year
Calendar
Fiscal Quarter
Quarter
Calendar
Fiscal Month
Month
Fiscal Week
Calendar
Type of Day
Week
Day of Week Day Holiday
6
7. Attribute Nam e Attribute Description Sam ple Values
Day The specific day that an activity took place. 06/04/1998; 06/05/1998
Day of Week The specific name of the day. Monday; Tuesday
Holiday Identifies that this day is a holiday. Easter; Thanksgiving
Type 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/1998
Calendar Month The calendar month. January,1998; February, 1998
Calendar Quarter The calendar quarter. 1998Q1; 1998Q4
Calendar Year The calendar year. 1998
Fiscal Week The w eek that represents the corporate F Week 1 1998;
calendar. Note that the F in the data value F Week 46 1998
Fiscal 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, 1998
Fiscal Quarter indicates that of 3 is a fiscal time period.
The grouping this fiscal months. F 1998Q1; F1998Q2
Fiscal Year The grouping of 52 fiscal w eeks / 12 fiscal F 1998; F 1999
months that comprise the financial year.
8. The Data Warehouse Toolkit.Second
Edition.The Complete Guide to Dimensional
Modeling.Ralph Kimball.Margy Ross