EasyBI filter only issues that have passed through a specific status

Taylor Huston April 26, 2017

I want to run some reports/get some information on issues that, at some point in their history, were in a certain status.

IE I want to get the average resolution days of any issues that, at some point, were in the 'Escalated' status. Find out how long it takes to resolve tickets that needed to be escalated.

I thought something like this would work:

CASE WHEN ([Measures].[Transitions to status], [Transition Status].[Escalated]) > 0 THEN
  [Measures].[Total resolution days] / [Measures].[Issues resolved]
END

But all that does is show me the average resolution time of ALL tickets for any period where at least one ticket was in Escalated status.

Is this possible?

1 answer

0 votes
Kat Jansen September 11, 2019

Taylor, 

You'll have to use the Avg function around a filter. Something like this:

Avg(Filter([Issue].[Issue].Members,
([Measures].[Transitions to status], [Transition Status].[Escalated]) > 0),
[Measures].[Total resolution days])

This is filtering for issues that have transitioned to Escalated and averaging the Total resolution days of those issues.

Depending on the size of your cube, any calculation that filters on all issues like this one is doing has the risk of timing out.

I hope this helps!

-Kat Jansen

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events