Good Day Scott,
Thank you for your inquiry. Below are some custom fields added via the CUSTOMAHD.TXT. The Hour of Ticket fields will return the hour the ticket was opened as a number between 1 and 24. The MonthDay field will return the month and day the ticket was opened.
These fields can be used together or seperately to achieve the results your looking for. In testing these fields, I applied count formula to Incident #, added Hour of Ticket field, Added OpenDate with criteria of "Today", and toggled visibility on the OpenDate field (It must not be visible). This will give the count by hour for tickets opened today.
If you use larger time spans with open date, you can include "Month Day of Ticket" - there will be groupings by day.
The file is located in the C:\Program Files\OakTree Solutions\ON2008 directory on Report Builder machines, and C:\Program Files\OakTree Solutions\ON2008\www directory on Web Generator machines.
The CUSTOMAHD.TXT file can be edited with the entries listed below:
[Field]
CR
Hour of Ticket (DST)
datepart(hh,dateadd(ss, CR.open_date - (4*3600), '1/1/1970'))
num
CR
Daytime Groupings
[Field]
INC
Hour of Ticket (DST)
datepart(hh,dateadd(ss, INC.open_date - (4*3600), '1/1/1970'))
num
INC
Daytime Groupings
[Field]
INC
Month Day of Ticket (DST)
convert(varchar, datepart(mm,dateadd(ss, INC.open_date - (4*3600), '1/1/1970'))) + '/' + convert(varchar, datepart(dd,dateadd(ss, INC.open_date - (4*3600), '1/1/1970')))
for
INC
Daytime Groupings
[Field]
CR
Month Day of Ticket (DST)
convert(varchar, datepart(mm,dateadd(ss, CR.open_date - (4*3600), '1/1/1970'))) + '/' + convert(varchar, datepart(dd,dateadd(ss, CR.open_date - (4*3600), '1/1/1970')))
for
CR
Daytime Groupings
[Field]
CR
Hour of Ticket (EST)
datepart(hh,dateadd(ss, CR.open_date - (5*3600), '1/1/1970'))
num
CR
Daytime Groupings
[Field]
INC
Hour of Ticket (EST)
datepart(hh,dateadd(ss, INC.open_date - (5*3600), '1/1/1970'))
num
INC
Daytime Groupings
[Field]
INC
Month Day of Ticket (EST)
convert(varchar, datepart(mm,dateadd(ss, INC.open_date - (5*3600), '1/1/1970'))) + '/' + convert(varchar, datepart(dd,dateadd(ss, INC.open_date - (5*3600), '1/1/1970')))
for
INC
Daytime Groupings
[Field]
CR
Month Day of Ticket (EST)
convert(varchar, datepart(mm,dateadd(ss, CR.open_date - (5*3600), '1/1/1970'))) + '/' + convert(varchar, datepart(dd,dateadd(ss, CR.open_date - (5*3600), '1/1/1970')))
for
CR
Daytime Groupings