The intent of the attached query is to provide an alternative reporting mechanism for Year by Month aggregate Ticket activity.
The Column legend is as follows:
Year: Derived from ReportProcess.ProcessStarted
Month: Derived from ReportProcess.ProcessStarted
Started: Total count of ProcessStarted entries for the given Year/Month.
Ended: Total count of ProcessEnded entries for the given Year/Month.
NOTE: The query accounts for broken tickets by inferring that the ticket has ended when PercentComplete = 100.
On Hold: Total count of Result = 'Hold' entries for the given Year/Month
Open: Total count of ProcessStarted entries that are still open at the Year/Month cutoff.