We have several statuses - lets say "discovery", "in execution". And I would like to compute average time which issues stays in both statuses.
Example:
Issue1: Discovery 5, in execution 10 = in total 15 days
Issue2: Discovery 10, in execution 15 = in total 25 days
Average I am looking for should be 20 days.
But I so far I have been able to compute using "Average working days in transition status" measure is average in Discovery (7.5) and In Execution (12.5). And if I use aggregate on those two statuses, I get average of all the time spent in statuses (which is 10).
Can you help me please? Many thanks!
Hi Martin,
Measure "Average working days in transition status" returns average value of all data set - for each issue time spent in each transition status.
In your case, you may define a new calculated measure based on the measure "Average days in transition status." You may get aggregated time in both transition statues for each issue and then calculate the average from aggregated transition time.
Your formula may look like this:
Avg( Filter( -- iterates through all issues which has spent time in any of both statuses Descendants([Issue].CurrentMember, [Issue].[Issue]), Aggregate({ [Transition Status].[discovery], [Transition Status].[in execution]}, [Measures].[Days in transition status]) > 0), --calculates average from time in both statuses Aggregate({ [Transition Status].[discovery], [Transition Status].[in execution]}, [Measures].[Days in transition status]) )
This is a general approach to get average days in several transition statuses and could be time-consuming as it iterates through all issues. You may optimize this formula by adding additional criteria to the Filter() to reduce data set. Feel free to contact eazyBI support for more detailed assistance then.
Regards,
Zane / support@eazybi.com
@Zane eazyBI Support, How do I sum a total of two statues transition time? I have created a calculated member of status.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.