Kimball Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Time of Day Dimension

3 posters

Go down

Time of Day Dimension Empty Time of Day Dimension

Post  hunain Wed Nov 20, 2013 8:47 am

Dear All,

I have a fact table which contains a foreign key to a date dimension however I would like to report usage by times of day e.g. Working Hours, Non Working Hours. Could you please suggest a design for a time of the day dimension table with one sample row. I need to report only by hours and minutes, not seconds which means i get 1440 rows. Thanks Guys!

hunain

Posts : 19
Join date : 2013-09-15

Back to top Go down

Time of Day Dimension Empty Re: Time of Day Dimension

Post  hkandpal Wed Nov 20, 2013 11:29 am

Hi ,

one way could be is you just create a a seperate time dimension which just contains the time ( hour and minute) and use that with your date, this way your date dim dose not contains 1440 entries for each day.

thanks

Himanshu

hkandpal

Posts : 113
Join date : 2010-08-16

Back to top Go down

Time of Day Dimension Empty Re: Time of Day Dimension

Post  ngalemmo Wed Nov 20, 2013 3:41 pm

Are you asking use what attributes the dimension should have?  I don't think anyone is qualified to do that.  Ask your users.

And you are probably not going to get a simple answer.  Even the notion of 'working hours' is not exactly a stable concept then lends itself to a simple 1440 row table.  It all depends on what the requirements are for the business.
ngalemmo
ngalemmo

Posts : 3000
Join date : 2009-05-15
Location : Los Angeles

http://aginity.com

Back to top Go down

Time of Day Dimension Empty Re: Time of Day Dimension

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum