Jump to content

QEHNick

Hornbill Users
  • Posts

    402
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by QEHNick

  1. Hello everyone, I must be having a bit of a brain fart as I cannot work out why my measures for Priorities Met/Missed are so wildly different.

    For example (based on h_dateresolved), Missed priorities (h_withinfix =0) percentage for a particular team last month was 13.43%; looks great, but if I do one for met priorities (h_withinfix=1) I get 41.79%.

    Where's the other 44 odd percent gone?

    This is the same for all such measures. What am I missing here?

    Cheers.

  2. I've based the query on one featured on the HB Demo Widget "Average Days Between Major Incidents"

    image.png.e0af22111e1102bd2d13b9f57bcdd77a.png

    (SELECT h_pk_reference,  h_ownerid, h_datelogged, (SELECT Min(h_datelogged) FROM h_itsm_requests T2 WHERE T2.h_datelogged > T1.h_datelogged AND h_fk_priorityname= 'Major'  AND h_requesttype = 'Incident' ) AS NextDate FROM h_itsm_requests T1 WHERE h_fk_priorityname= 'Major' AND h_requesttype = 'Incident' ) AS AllDays

     

  3. Thanks @SamS

    I'm trying to extrapolate owner names of calls logged under the service "Out of Hours" and count how many were logged.

    There are a mixture of disciplines who do out of hours work (and are all in the one team for that duty, their day job is under a different team), I'm separating those team members so we can see which discipline is handling the most calls out of hours.

  4. Good day everyone.

    Can anyone please assist with where I am going wrong with this statement?

    (SELECT h_fk_team_name, h_ownername, h_fk_servicename,
    (SELECT h_ownername FROM h_itsm_requests T2 WHERE T2.h_ownername IN ('names of team', 'more names of team', etc'))
    AS 'Third Line' FROM h_itsm_requests T3 WHERE T3.h_fk_servicename= "Out of Hours")

    image.png.ce50b6e7718d96bd498f5ec48ec6742e.png

    I get the error "MySQL Error 1248: Every derived table must have its own alias" despite my belief that it should work.

  5. This seems like an eminently positive step towards making the Live Chat even more useful.

    Hmm, how about this, if the existing call reference is in the chat itself, it automatically appends the chat session dialogue to that call ref.

    • Like 1
×
×
  • Create New...