Hi,
I have report generated with sum of issues downtime between Open to Re-test transition status as per below queries
CoalesceEmpty(Sum(
Filter(
DescendantsSet(
[Issue].CurrentHierarchyMember, [Issue].[Issue]),
[Measures].[Issues created] > 0
),
DateDiffWorkHours(
[Measures].[Issue created date],
([Measures].[Transition to status last date], [Transition Status].[Re-Test]),
‘default’,
‘07:00 - 17:00’
)
),0)
Issues filter that I am doing in dimension as ‘Resolving Team’
Problem is that we can have multiple issues reported for day and that may be resolved by same Resolving Team in same time in a day(which means issues are due to same root cause), so I wanted to overlap/average the time between the tickets/Issues for the day based on resolving team.
Note: Above criteria(in script) for business hrs should be applicable still for my request.
Example: total five issues reported for a day
consider 3 issues resolved by same resolving team ‘ABC’
1st Issue start and end time - 07 AM to 12PM - 5hrs downtime
2nd Issue - 09:00 to 15:00 - 6hrs of downtime
3rd Issue - 8:00 to 14:00 - 6hrs of downtime
In total downtime should be 8hrs
And Other two resolved by 'DEF’Team
1st Issue start and end time - 08 AM to 12PM - 5hrs downtime
2nd Issue - 09:00 to 14:00 - 6hrs of downtime
In total downtime should be 6hrs
Let me know if we have solution for my request