I have been trying with the following one, but still no results:
CASE WHEN IsEmpty([Measures].[Issues resolved]) THEN
--[Measures].[Total resolution workdays] / [Measures].[Issues resolved]
Sum(
{
[Priority].[Priority].Members
},
DateDiffDays(
[Measures].[Issue created date],
CASE WHEN
DateInPeriod(Now(), [Time].CurrentHierarchyMember)
THEN
Now()
ELSE
[Time].CurrentHierarchyMember.NextStartDate
END
) )
ELSE
NULL
END
Sum(
Filter(
Descendants([Issue].CurrentMember, [Issue].[Issue]),
IsEmpty([Measures].[Issue resolution date])
),
CASE WHEN
(
[Measures].[Issues created],
[Issue Type].[Bug]
) > 0
THEN
DateDiffDays(
[Measures].[Issue created date],
Now()
)
/
CASE
[Measures].[Issue priority]
WHEN "P0" THEN 2
WHEN "P1" THEN 7
WHEN "P2" THEN 14
ELSE 1
END
* 31
END
)
Add additional conditions to the Issue priority to adjust the dividers. Be sure to set the Formatting to Numeric → Decimal for this measure.
This measure, for the selected Time period, will return the Sum of the measure for Bugs created in the selected period that don’t have a resolution date.
Super Thanks! It works
But I would just ask last help…
is there any way to have cumulative figures? Because if I put monthly report I don’t have the backlog of the previous month…
e.g an issue created in June and not yet fixed in September, then is not considered right now. However I would have each month the sum of all the issues still opened in backlog