planetdrouin
Technical User
Hello,
I am relatively new to Access, so...
I have a transaction table, that has a date, description, transaction category and amount. I want to sum the transactions by fiscal quarter and year, where fiscal quaters are Nov-Jan, Feb-Apr, May-Jul, Aug-Oct. The resulting output would look like:
Description Category Yr 01 Qtr1 Qtr2 Qtr3 Qtr4 Yr 02
ABC Rent 56.23 29.56 ...
PG&E Utilities 7.89 5.63 ...
I was able to do this using a crosstab query, however my groupings were based on calendar quarters. My sql included:
Pivot "Qtr" & Format([Date],"q",1,0) In ("Qtr1","Qtr2","Qtr3","Qtr4"
How do I do the same thing but with my fiscal quarters and years? Is a crosstab query the best way to do this?
Thanks for the help.
Lawrence
I am relatively new to Access, so...
I have a transaction table, that has a date, description, transaction category and amount. I want to sum the transactions by fiscal quarter and year, where fiscal quaters are Nov-Jan, Feb-Apr, May-Jul, Aug-Oct. The resulting output would look like:
Description Category Yr 01 Qtr1 Qtr2 Qtr3 Qtr4 Yr 02
ABC Rent 56.23 29.56 ...
PG&E Utilities 7.89 5.63 ...
I was able to do this using a crosstab query, however my groupings were based on calendar quarters. My sql included:
Pivot "Qtr" & Format([Date],"q",1,0) In ("Qtr1","Qtr2","Qtr3","Qtr4"
How do I do the same thing but with my fiscal quarters and years? Is a crosstab query the best way to do this?
Thanks for the help.
Lawrence