It's frustrating me, and I've been on google for hours and still no closer.
I need to work out sums of departments and group by year, but the year falls between 01/08 - 31/07 and not 01/01 - 31/12.
I know how to work it out by year, but I'm trying to make it dynamic, so as more data enters the database it works it out accordingly without having to patch up the query every new year.
I hope this is possible... I just reached the end of the third year, so I should see 3 rows of totals when I'm done, 1 for each Financial year.
I need to work out sums of departments and group by year, but the year falls between 01/08 - 31/07 and not 01/01 - 31/12.
I know how to work it out by year, but I'm trying to make it dynamic, so as more data enters the database it works it out accordingly without having to patch up the query every new year.
I hope this is possible... I just reached the end of the third year, so I should see 3 rows of totals when I'm done, 1 for each Financial year.