weekly/monthly report calculate average