calculate weekly average

Hi
I am trying to calculate weekly averages of hours worked per employee

My data structure is as following

employee Table

empId
empName


service table
serviceId
empId
DateComplete
BillableHours

Report structure should be like this:

GH1 - Employee name     Average Weekly Hours
   GH2 - Week of (based on DateComplete )  - Total hours (sum of BillableHours)
      D - suppressed - no drill down


I have all done except  Average Weekly Hours

Can anybody point me to the right direction?
LVL 13
Michael_DAsked:
Who is Participating?
 
mlmccConnect With a Mentor Commented:
One way to try is a formula like

Sum({BillableHours},{EmployeeId}) / DistinctCount({DateCpmplete},{EmployeeName})

mlmcc
0
 
Michael_DAuthor Commented:
Brilliant!!!
Working perfect!
Just out of curiosity you said the this is "One Way to try ..."
What are the other possibilities?
0
 
mlmccCommented:
You could use running totals or formulas but those methods wouldn't give you the ability to put it in the group header.

mlmcc
0
 
Michael_DAuthor Commented:
Exactly - that what i was struggling with ...
I tried to use Running totals with no luck.

Thank you again!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.