eazyBI - Number of days in status (including current status and status cycles)

Hi,

a colleague of mine needs sort of a hard/crazy report with eazyBI. The fact aside that eazyBI already gives you the option to check for days in transition status and days in status as separate reports, he needs them both combined... with a twist.

To cover all his needs, the report should 

  1. List the days in transition status
  2. days in status for the current status the single issues are in - except the final status.
  3. cover status cycles (let's say an issue was closed and is then reopened to status Open)

I'm totally new to eazyBI and - sadly - find little help within the eazyBI documentation. Either I'm missing the very essentials of the documentation or it has none. Sadly most of the examples within the eazyBI test environment are not self explanatory and very hard (if at all) understandable to me without any comments in the calculated members code. 

To (maybe) clarify the needs of my colleague, I've tried to put them into one single table:

WhatWeWant.PNG

  • Issue-123 is in status Closed - no need for any further days in status updates.
  • Issue-234 is currently in status Validation for 4 days - all following entries need to be 0 or empty.
  • Issue-345 is the bad guy... it's gone through the whole workflow, was in closed for 2 days and then reopened.

So, my dear friends and eazyBI nerds. Who out there can help me create this beast of a report or at least point me into the right direction for it?

 

1 answer

1 accepted

Here is the formula for Days any transition status - days when issue was in this statuses before and current status as well. The formula will aggregate results (sums) for all issues.

NonZero(Sum(
  Filter(
    Descendants([Issue].CurrentHierarchyMember, [Issue].[Issue]),
    [Measures].[Issues in transition status] >=0),
  -- for previous periods when issues was in particular status
  [Measures].[Days in transition status]
  +
  -- time how long (til now) issue is in this status currently
  IIF([Measures].[Issues in transition status] > 0,
  DateDiffDays(
   ([Measures].[Transition to status last date],
    [Time].CurrentHierarchy.DefaultMember),
     Now()), 0)
))

 

You need to use Transition status dimension in a report. The formula will retrieve Sum of days for selected Transition status/-es from all issues currently in this Transition status or has been in this Transition status. You could select only open Transition statuses in a report. 

Thank you Daina. My colleague was very happy, so it seems to fit his needs.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

229 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you