I've got the following query:
The report I'm building from this will have a rolling previous three months data in three columns. I can't seem to get a static name for each (something like "Month-3, Month-2, Month-1"). I have tried using the column headings property but I always get a type mismatch error.
Any help would be appreciated.
Matt
"Nature forges everything on the anvil of time
Code:
TRANSFORM Sum(CSRVolume_2.TotVolume) AS TotalVolume
SELECT CSRVolume_2.ResponsibleCSR, CSRVolume_2.GroupCode, CSRVolume_2.Customer, Max(CSRVolume_2.CompanyName) AS CustomerName
FROM CSRVolume_2
GROUP BY CSRVolume_2.ResponsibleCSR, CSRVolume_2.GroupCode, CSRVolume_2.Customer
PIVOT CSRVolume_2.BillingMonth;
The report I'm building from this will have a rolling previous three months data in three columns. I can't seem to get a static name for each (something like "Month-3, Month-2, Month-1"). I have tried using the column headings property but I always get a type mismatch error.
Any help would be appreciated.
Matt
"Nature forges everything on the anvil of time