/build/static/layout/Breadcrumb_cap_w.png

Report showing tickets closed by user, year to date.

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.

0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: Druis 2 years ago
Third Degree Green Belt
0

Top Answer

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


Comments:
  • This is exactly what I needed, thank you for the quick response! - rjsmith480 2 years ago

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