Add like this --
TRANSFORM Count(ExamErrorTracking.[CivilPenalty]) AS CountOfCivilPenalty
SELECT Format([NoticeofHearing],"mmmm") AS Occurence
FROM ExamErrorTracking
GROUP BY Format([NoticeofHearing],"mmmm"), Format([NoticeofHearing],"mm")
ORDER BY Format([NoticeofHearing],"mm")
PIVOT ExamErrorTracking.[LegalDisp];
This adds a second formatted date in the GROUP BY but it is not selected.
It uses it in the ORDER BY but not the displayed format.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.