|
Report: Incident History for all in one department
Hi.
I am trying to make a report that lists all incidents from a particular department. But I am not succeeding 100 %. I am not able to get the whole history (comments) for each incident.
Can anyone point me in the right direction???
This is what I have so far:
SELECT T0.[workitem_number] AS 'Incident number',
T0.[workitem_created_on] AS 'Created on',
T0.[assigned_to_worker_name] AS 'Assigned worker' ,
T0.[contact_name] AS 'Contact name',
T0.[workitem_title] AS 'TITLE',
T0.[workitem_comment] AS 'Comment'
FROM [HD_workitem_current_view] T0
WHERE T0.[contact_department] LIKE '%Asset Management%'
ORDER BY T0.[workitem_number] ASC
|