Currently using the below measure to calculate number of issues closed within 2 days of the creation date.
I want to exclude from that calculation the number of days an issue is in “On Hold” status
ie. Issue created Jan 7, moved to on hold Jan 8, then moved out of on hold Jan 9, and resolved on Jan 10.
With the current formula this ticket will count as being open for 4 days and not appear on my report.
I want to EXCLUDE the 2 days in “on hold” status from that count so that the issue is calculated to have been open for only 2 days and thus will appear on my report.
Any help is appreciated! Thanks
NonZero(
Count(
Filter(
Descendants([Issue].CurrentHierarchyMember,[Issue].[Issue]),
Not IsEmpty([Measures].[Issue resolution date])
AND
[Measures].[Issues created]>0
AND
Datediffdays(
DateWithoutTime([Measures].[Issue created date]),
DateWithoutTime([Measures].[Issue resolution date])
)<=2
)
)
)