dbTalk Databases Forums  

How to create a time hiearchy from the following

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss How to create a time hiearchy from the following in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Karen Middleton
 
Posts: n/a

Default How to create a time hiearchy from the following - 09-08-2004 , 05:29 AM






I get my fiscal periods from a legacy financial system.

The fiscal period is like 0052004 which is 005.2004. I would like to
construct a time hierarchy from this but time hiearchy needs a
datetime field of type date please advice how I can use the above kind
of time periods and build a calendar hierarchy.

Thanks
Karen

Reply With Quote
  #2  
Old   
Jéjé
 
Posts: n/a

Default Re: How to create a time hiearchy from the following - 09-08-2004 , 11:24 PM






you can create a time dimension without having a date time information.
in your case, cut your string in 2 string (right 4 characters and the 3
left)
put the 4 last as the year level in your dimension (optionaly: set the
level type (in the advanced tab) to years)
put the 3 first characters as a second level called "period", and setup the
entire "0052004" characters as the key of the period dimension.

Now you have a time dimension with years and periods.
2004--> 005
Quote:
-> 006
-> 007
....


"Karen Middleton" <karenmiddleol (AT) yahoo (DOT) com> a écrit dans le message de news:
a5fd468a.0409080229.4044a945 (AT) po...OT) google.com...
Quote:
I get my fiscal periods from a legacy financial system.

The fiscal period is like 0052004 which is 005.2004. I would like to
construct a time hierarchy from this but time hiearchy needs a
datetime field of type date please advice how I can use the above kind
of time periods and build a calendar hierarchy.

Thanks
Karen



Reply With Quote
  #3  
Old   
Brian Altmann
 
Posts: n/a

Default RE: How to create a time hiearchy from the following - 09-09-2004 , 07:53 AM



For a good overwiew of Time dimensions take a look at Tom Chester'a article
at www.tomchester.net

HTH,
Brian
www.geocities.com/brianaltmann/olap.html

"Karen Middleton" wrote:

Quote:
I get my fiscal periods from a legacy financial system.

The fiscal period is like 0052004 which is 005.2004. I would like to
construct a time hierarchy from this but time hiearchy needs a
datetime field of type date please advice how I can use the above kind
of time periods and build a calendar hierarchy.

Thanks
Karen


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.