I received some help on construction a cross tab query. The query is
PARAMETERS [forms].[frmDateRangeOA].[txtDateStartOA] DateTime, [forms].[frmDateRangeOA].[txtDateEndOA] DateTime;
TRANSFORM Count(tblOldAbes.RawData) AS CountOfRawData
SELECT tblOldAbes.Time
FROM tblOldAbes
WHERE (((tblOldAbes.FullDate) Between [forms].[frmDateRangeOA].[txtDateStartOA] And [forms].[frmDateRangeOA].[txtDateEndOA]))
GROUP BY tblOldAbes.Time
PIVOT Format([FullDate],"dddd") In ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
And it works great. Unfortunately I do not completely understand it. I would like to create a similar query that will give an Avg for the CountOfRawData from the above query.
PARAMETERS [forms].[frmDateRangeOA].[txtDateStartOA] DateTime, [forms].[frmDateRangeOA].[txtDateEndOA] DateTime;
TRANSFORM Count(tblOldAbes.RawData) AS CountOfRawData
SELECT tblOldAbes.Time
FROM tblOldAbes
WHERE (((tblOldAbes.FullDate) Between [forms].[frmDateRangeOA].[txtDateStartOA] And [forms].[frmDateRangeOA].[txtDateEndOA]))
GROUP BY tblOldAbes.Time
PIVOT Format([FullDate],"dddd") In ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
And it works great. Unfortunately I do not completely understand it. I would like to create a similar query that will give an Avg for the CountOfRawData from the above query.