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 history] >=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 history] > 0,
  DateDiffDays(
     [Measures].[Issue status updated date],
     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.

Hi @Daina Tupule,

I tried to apply the given formula. But, its throwing some syntax error. Screenshots are given below. 

Could you please have a look?

 

Thanks in advance,

Vijeesh

 

Erorr_1.PNGErorr_2.PNG

Hi Vijeesh,

It seems the formula was broken and symbols > replaced > operator. I updated the formula above. I also changed the measure name Issues in transitions status was updated to Issues history since eazyBI version 4.1.0 released in Oct'2016. I also used Issue propety Issue status updated date instead of measure Transition to status last date in the formula. 

 

 

Daina / support@eazybi.com

Thanks a lot @Daina Tupule

It worked! Thank you!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,055 views 2 7
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