Hi:
I have a report which is grouped by region, program,
activity and project. Each project has multiple detail lines spanning multiple years. The cash flow budget amount is a fixed amount for a given year. I want to sum the total cash flow amount for the current year for each project over the region, program, and activity. I am also calculating the previous years expenditures so I have to include all of the records for previous years as well.
I can do an average for the project by the number of records that are included for the year. Is there any way to do a conditional running total to get the other group totals.
i.e
Region Central for fy 03/04
Activity Some
Program -- A program
spent cash flow fy
Project 123 200 30000 02/03
Project 123 300 30000 02/03
Project 123 200 40000 03/04
Project 123 200 40000 03/04
Project 123 400 80000 04/05
above data suppressed
Project prev exp current exp cashflow
proj 123 500 400 40000
proj 124 100 3000 30000
I want
Program A 600 3400 70000
I have a report which is grouped by region, program,
activity and project. Each project has multiple detail lines spanning multiple years. The cash flow budget amount is a fixed amount for a given year. I want to sum the total cash flow amount for the current year for each project over the region, program, and activity. I am also calculating the previous years expenditures so I have to include all of the records for previous years as well.
I can do an average for the project by the number of records that are included for the year. Is there any way to do a conditional running total to get the other group totals.
i.e
Region Central for fy 03/04
Activity Some
Program -- A program
spent cash flow fy
Project 123 200 30000 02/03
Project 123 300 30000 02/03
Project 123 200 40000 03/04
Project 123 200 40000 03/04
Project 123 400 80000 04/05
above data suppressed
Project prev exp current exp cashflow
proj 123 500 400 40000
proj 124 100 3000 30000
I want
Program A 600 3400 70000