|
Date & Time Dimension
Date Dimension
Dimension of date is one of the most common dimension on which
you analyze your data. All time trending , historical and period
comparison analysis etc use date. With reference to the “Dimensional
Modeling”, typically the unique key of this dimension is the
date. Against each date, there are attributes.
*All examples here are in US date format
| Attribute
Name |
Attribute
Description |
Sample
Values |
|
Date |
The specific day that an activity took place. |
06/06/2005; |
|
Day of Week |
Day of the week to which this date belong |
Monday; Tuesday |
|
Holiday |
Identifies that this day is a holiday. |
Easter; Thanksgiving |
|
Type of Day |
Indicates whether or not this day is a weekday or a weekend
day. |
Weekend; Weekday |
|
End of Week |
The week ending date, always a Saturday. Note that WE denotes week ending. |
WE 06/11/2005;
|
|
End of Month |
End date of the month to which this date belong |
6/30/2005 |
|
End of Quarter |
End date of the quarter to which this date belong |
6/30/2005 |
|
End of the Year |
End date of the year to which this date belong |
12/31/2005 |
|
Calendar day |
Number of the day in the week, month and year. |
6 (for month), 2(for week) |
|
Calendar Week |
Number of week to which this date belongs |
23 |
|
Calendar Month |
Number, Name of month to which this date belongs |
June, 2005 |
|
Calendar Quarter |
Number of quarter to which this date belongs |
Q2, 2005 |
|
Calendar Year |
Year to which this date belongs |
2005 |
Usage Comments:
There can be many other attributes like
Time Dimension
Many people feel that analyzing
on time dimension is over-perfecting the art. However it is core
to many companies and is as important as date dimension. ALL (perhaps
without exception) retail companies, service companies (like call
centers, telecommunication providers) and mass communication companies
(media, entertainment) want to analyze the customer traffic, employee
productivity trends across a day, to manage the strength of their
staff, and promoting methods to smoothen the traffic. The principle
of staff management and traffic management across dates will also
apply across the day. Apart from across the day trends, the data
on TAT etc (which for few transaction runs into few minutes) helps
in fine tuning the methods through operation-research tricks.
The attributes of time dimension are:
- Hour of the day
- Minute of the hour
- AM/PM
- Part of the Day (Day Split into slots)
- Peak/Non Peak /Medium
|