SLA count for tickets created in date range

Hi guys,

Please help to create measures to use for SLAs:
time to resolution (Met/Breached/%)
time of first reaction (Met/Breached/%)

Only for tickets created in/from a certain time frame.

Thanks.

Hi guys, any help here?

Hi @AlexN,

Usually, the SLA is measured by the period when the cycle ends to ensure the past data are not changing for completed cycles. Descritpion on Service Management metrics available in the documentation:

If you would like to change this logic to issue a creation date, you can create calculated measures. The calculation would iterate through individual issues and check their creation date, then sum up the resolution time, ignoring when the cycle was completed.

The expression might look like this:

Sum(
  --set of issues, filter issues created in the selected period
  Filter(
    DescendantsSet([Issue].CurrentMember, [Issue].[Issue]),
    DateInPeriod(
      [Issue].CurrentMember.Get('Created at'),
      [Time].CurrentHierarchyMember)
  ),
  --SLA ignoring the period when the cycle was completed
  ([Measures].[Time to resolution - Met], 
  [Time].CurrentHierarchy.DefaultMember)
)

You can use similar calculations for other SLA metrics. If you would like to get an averaged SLA value, then use the function Avg() instead of Sum(). More details in calculated measures and aggregate calculations are described in the documentation: Calculated measures

Check out also those two Community posts on SLA calculations by issue creation date:

Best,
Zane / support @eazybi.com

1 Like

Hi @zane.baranovska.

Thank you very much for the tip and code.
This is what we need.

Cheers

1 Like