Fact table - activity(time and attendance)
2 posters
Page 1 of 1
Fact table - activity(time and attendance)
Hi everyone,
I am creating a fact table off a transaction table that records employee activity(punch-in time, punch-out time etc). Business wants to track the hours each employee works. The transaction table has a start time and end time for each employee per day. Should I calculate hours each days and store in the fact table or should I bring the time stamps and date into the fact table? What factors decide the approach we need to take? I am assuming there are pros and cons of both the approaches.
Thanks in advance for the advice.
I am creating a fact table off a transaction table that records employee activity(punch-in time, punch-out time etc). Business wants to track the hours each employee works. The transaction table has a start time and end time for each employee per day. Should I calculate hours each days and store in the fact table or should I bring the time stamps and date into the fact table? What factors decide the approach we need to take? I am assuming there are pros and cons of both the approaches.
Thanks in advance for the advice.
SnowShine429- Posts : 36
Join date : 2013-02-16
Re: Fact table - activity(time and attendance)
I would do both. Having the timestamps is useful and doing the elapsed time calculation and storing the value makes life easier for users and reduces chance of error.
Similar topics
» Transaction Hour in Fact table or Separate Time Dimension?
» 'Routing' the grain of the fact table to multpile members of multiple dimensions causes the fact table to 'explode'
» Integrating new fact table which has one to many relationship with the main fact table in existing star schema
» How to create fact table with measures derived from comparing two fact table rows
» Healthcare Hospital Stay fact table - transaction fact table - a row for In and a row for Out?
» 'Routing' the grain of the fact table to multpile members of multiple dimensions causes the fact table to 'explode'
» Integrating new fact table which has one to many relationship with the main fact table in existing star schema
» How to create fact table with measures derived from comparing two fact table rows
» Healthcare Hospital Stay fact table - transaction fact table - a row for In and a row for Out?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum