Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Data Warehousing / March 2006

Tip: Looking for answers? Try searching our database.

general question about handling times and calendars

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Immy - 10 Mar 2006 16:53 GMT
Hi all,

Looking for some suggestions to implement time and calendar data within a
DWH.

I've done a fair bit of investigating best practices for implementing time
as a dimension within a DWH, but none of them talk about breaking time down
by calendar types and i'm wondering if there is a reason for it.

I mean, of course we can easily implemtn the standard calendar into a time
dimension, but when it comes to hosting more than 1, i.e. Fiscal, Financial
and other Calendars that business may use, isn't there a need here to hold
daily information broken down into different calendars? I mean, there will
be different start and end dates, different groupings within these, i.e.
Qtrs, Months and Weeks that may start and end on different dates to the
normal calendar.

So my question is, is the best way to implement TIME as a dimension by
having an ID and then many attributes about this date, which means having
many columns to perform different calculations OR is it best to introduce a
calendar type system, for example, StandardCalendar, FiscalCalendar,
FinanicalCalendar etc... where each holds its own information that can be
joined back to a TimeID+CalendarID?

I have a sneaky suspicion i've just rambled on and made no sense to anyone ?
:)

Many thanks
Immy
Jéjé - 11 Mar 2006 12:28 GMT
there is many ways to answer this requirement.

first, if you have only new way to group your dates then adding attributes
to an existing time dimension is enough. (and creating all required
hierarchies)
default are year, quarter, month, week, fiscal year, reporting year...
AS2005 has a good time dimension generator, there is more then 50 attributes
available in 1 click.

if you want to create a complete new calendar which use the same group name
but for different dates and if you have AS2005, the many-many feature will
help you.
For example, the company had a fiscal calendar from january to december, but
in 2001 the company decide to change to a new fiscal calendar starting in
june and the users want to view aggregated data using the old or the new
fiscal periods, a many-many is good for you.

> Hi all,
>
[quoted text clipped - 25 lines]
> Many thanks
> Immy
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.