I'm trying to create a manual crosstab where it counts the number of apps submitted per month. I want to use a zero as my placeholder where no applications have been submitted.
Desired Results:
Jan Feb Mar Apr May June
20 10 20 30 0 0
In my select statement I've indicated that I want the months between january and decemeber of 2004
I created the following formula for each of the 12 months.
//Jan
If month ({VRPT_TABAPP.APPDATE}) = 1 then COUNT({VRPT_TABAPP.APPNO}) else 0
Current Results:
Jan Feb Mar Apr May June
80 0 0 0 0 0
It's giving me the total for the entire date range in the month Jan. It's not separating the number of apps submitted for the appropriate month.
What am I doing wrong? Thanks.
Desired Results:
Jan Feb Mar Apr May June
20 10 20 30 0 0
In my select statement I've indicated that I want the months between january and decemeber of 2004
I created the following formula for each of the 12 months.
//Jan
If month ({VRPT_TABAPP.APPDATE}) = 1 then COUNT({VRPT_TABAPP.APPNO}) else 0
Current Results:
Jan Feb Mar Apr May June
80 0 0 0 0 0
It's giving me the total for the entire date range in the month Jan. It's not separating the number of apps submitted for the appropriate month.
What am I doing wrong? Thanks.