R
Razor
Dale,
I have written a crosstab query, where the Date is the
column heading. So my resultset has 12 columns (Jan
through Dec), with the first 9 populated (since data
exists for Jan through Sep currently).
I need one column that returns a 9 - this is the max month
value of the current data. I tried Max(Month([Date])) in
the crosstab but it didn't work.
AND
I need another column that is the sum of the months
divided by 9 - i.e. Average. I tried using Avg() function
on the sum of the 12 months but I couldn't understand what
calculation this function did.
Thanks!
Razor
I have written a crosstab query, where the Date is the
column heading. So my resultset has 12 columns (Jan
through Dec), with the first 9 populated (since data
exists for Jan through Sep currently).
I need one column that returns a 9 - this is the max month
value of the current data. I tried Max(Month([Date])) in
the crosstab but it didn't work.
AND
I need another column that is the sum of the months
divided by 9 - i.e. Average. I tried using Avg() function
on the sum of the 12 months but I couldn't understand what
calculation this function did.
Thanks!
Razor