Help analysing a timesheet database

Copper Contributor

Hello community!

 

I am having trouble analysing a set of timesheet data made of the following columns:

 

User

Activity Type

Date the activity was performed

Date that the activity was reported

Activity duration

 

The data work as follows:

If user "X" spent 2 hours in a meeting with a client in 01/01/2021, and included this information on his timesheet only in 01/03/2021, the row regarding this activity would show, respectively:

 

X

Meeting

01/01/2021

01/03/2021

2

 

I want to summarize this data in a 3 column table:

 

The first one, is "Date";

The second is "Ammount of hours worked on said date"; and

The third is "Ammount of hours reported on said date".

 

To illustrate this, consider a user that works 8 hours per day, monday to friday, and reports 8 hours per day. His timesheet and his summarized data should look like this:

 

UserActivity TypeActivity DateReport DateDuration
X

example

day 1day 18
Xexampleday 2day 28
Xexampleday 3day 38
Xexampleday 4day 48
Xexampleday 5day 58

 

DateHours WorkedHours Reported

Day 1 (mon)

88
Day 2 (tue)88
Day 3 (wed)88
Day 4 (thu)88
Day 5 (fri)88

 

Now consider a user that works the same 8 hours per day, but reports them all only on friday. His timesheet and his summarized data should look like this:

 

UserActivity TypeDate ActivityDate ReportedDuration
X

example

day 1day 58
Xexampleday 2day 58
Xexampleday 3day 58
Xexampleday 4day 58
Xexampleday 5day 58

 

DateHours WorkedHours Reported

Day 1 (mon)

80
Day 2 (tue)80
Day 3 (wed)80
Day 4 (thu)80
Day 5 (fri)840

 

The problem is that i cant seem to create a pivot table summarizing the data in this way. As i need to be able to use the columns "User" and "Activity Type" as filters, I assume that the pivot table is the best option to achieve this.

 

Am I correct in my assumption? If so, how can I achieve my objective?

Or am I wrong anf the pivot table cant summarize the data in such a way?

 

Thanks in advance!

0 Replies