I have another query as well.
My project file contains multiple tasks and multiple resources assigned to these tasks for a complete year. I need to calculate work done by each resource in each month of the year. Please provide some sample code which can sum up individual work in each month and whole sum in all the months.