Hi Everyone,
I have CTQuery that limits the data to 12 months. I need to be able view 3 years data by month (36 month. Is there a way i can do this.
TRANSFORM Sum([qryGeberal ii].Cost) AS SumOfCost
SELECT [qryGeberal ii].FltDesc, [qryGeberal ii].Axle, [qryGeberal ii].Event, Sum([qryGeberal ii].Cost) AS [Total Of Cost]
FROM [qryGeberal ii]
GROUP BY [qryGeberal ii].FltDesc, [qryGeberal ii].Axle, [qryGeberal ii].Event
PIVOT Format([Date],"mmm") In ("Jan","Feb ","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
Hayton McGregor
I have CTQuery that limits the data to 12 months. I need to be able view 3 years data by month (36 month. Is there a way i can do this.
TRANSFORM Sum([qryGeberal ii].Cost) AS SumOfCost
SELECT [qryGeberal ii].FltDesc, [qryGeberal ii].Axle, [qryGeberal ii].Event, Sum([qryGeberal ii].Cost) AS [Total Of Cost]
FROM [qryGeberal ii]
GROUP BY [qryGeberal ii].FltDesc, [qryGeberal ii].Axle, [qryGeberal ii].Event
PIVOT Format([Date],"mmm") In ("Jan","Feb ","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
Hayton McGregor