Time of Day Dimension
3 posters
Page 1 of 1
Time of Day Dimension
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!
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
Re: Time of Day Dimension
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
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
Re: Time of Day Dimension
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.
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.
Similar topics
» Combined Date Time dimension vs. Separate Day and Time dimensions and timezones
» Time dimension design for cross time zone and custom calendar warehouse, 1min granularity
» Time Dimension, NULLs and Time datatype
» time dimension
» Time Dimension Vs FACT
» Time dimension design for cross time zone and custom calendar warehouse, 1min granularity
» Time Dimension, NULLs and Time datatype
» time dimension
» Time Dimension Vs FACT
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum