Forum Discussion

niemis's avatar
niemis
Icon for Helper I rankHelper I
1 year ago
Solved

How many ServiceNow Incidents do not have a knowledge article attached?

I am trying to create two reports, one that counts the number of Incidents with knowledge article(s) attached, and one that counts the number of Incidents without knowledge attached.     I'm using ...
  • bhanu_gautam's avatar
    1 year ago

    niemis , Create two measure

    Measure for Incidents with Knowledge Articles:DAX
    Number of Incidents with Knowledge Articles =
    CALCULATE(
    DISTINCTCOUNT(incident[sys_id]),
    NOT(ISBLANK(m2m_kb_task[task]))
    )

     

    Measure for Incidents without Knowledge Articles:

    DAX
    Number of Incidents without Knowledge Articles =
    CALCULATE(
    DISTINCTCOUNT(incident[sys_id]),
    ISBLANK(m2m_kb_task[task])
    )