/build/static/layout/Breadcrumb_cap_w.png

Miscellaneous Question


Report showing tickets closed by user, year to date.

06/01/2018 1009 views
So I currently was able to generate a report that breaks down tickets closed by owner by month, and it is great, buy my VP wants it much more high level, and only show year to date, with no monthly breakdown. I am not skilled when it comes to SQL so I was hoping someone here has experience with a similar report.
Answer Summary:
0 Comments   [ + ] Show comments

Comments


Answer Chosen by the Author

0
Try this:- 

SELECT O.FULL_NAME as Engineer,
count(HD_TICKET.ID) AS Count_of_Tickets
FROM HD_TICKET
JOIN HD_STATUS ON (HD_STATUS.ID = HD_TICKET.HD_STATUS_ID)
LEFT JOIN USER O ON (O.ID = HD_TICKET.OWNER_ID) 
WHERE (YEAR(HD_TICKET.CREATED) = YEAR(NOW()))
AND (HD_STATUS.NAME = 'Closed')
GROUP BY Engineer

Answered 06/01/2018 by: Druis
Third Degree Green Belt

  • This is exactly what I needed, thank you for the quick response!

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ