Week 17: Timesheet checks
Challenge by: Pat Lucas ( @PatForData ) This challenge came about from a challenge Pat received as his friends and family have begun to learn about his super data preparation skills. Pat has built out a detailed set of requirements so this might be an easier challenge for some. The Challenge My employees log their hours daily and are contracted to 8 hours per week so I want to check their average number of hours worked over the last 2 weeks. Also, I allow for 20% of their time (not including Chats) to work on their own special projects, meaning they should be spending at least 80% of their time on Client items of work, so I also want to check that they are sticking to instructions by calculating the % of total hours spent on Client work. The task has three sets of requirements as the stakeholder is quite specific. Input One file but three people's data: Requirements Remove the ‘Totals’ Rows Pivot Dates to rows and rename fields 'Date' and 'Hours' Split the ‘Name, A...