Hi!
I’m trying to calculate the average time for certain bug tickets to move to status ‘planned’
(tickets start from status ‘open’, and travel trough bunch of other statuses until they go to ‘planned’)
We want the report to include tickets that have a certain label, and whose resolution is not ‘cannot reproduce, duplicate, won’t fix, obsolete or future update’.
I wrote a custom formula to measures, to measure the average time. Then I defined calculated members for certain labels and resolutions. Labels work well. Unfortunately the results don’t filter correctly when it comes to excluding the above resolutions.
Could you please help me out on what’s wrong?
Thanks in advance!
The formula used in measures:
NonZero(Avg(
Filter(
Descendants([Issue].CurrentHierarchyMember,[Issue].[Issue]),
DateInPeriod(
([Measures].[Transition to status last date],
[Transition Status].[Planned],
[Time].CurrentHierarchy.DefaultMember),
[Time].CurrentHierarchyMember )
),
Datediffdays(
([Measures].[Transition to status first date],
[Transition Status].[Open],
[Time].CurrentHierarchy.DefaultMember),
([Measures].[Transition to status last date],
[Transition Status].[Planned],
[Time].CurrentHierarchy.DefaultMember)
)
))
The calculated member formula used for resolutions:
Aggregate(
Except(
[Resolution].[Resolution].Members,
{[Resolution].[Cannot Reproduce],
[Resolution].[Won't Fix],
[Resolution].[Duplicate],
[Resolution].[Future Update],
[Resolution].[Obsolete]}
)
)