Hi!
i have a problem:
i have issue status (name HOLD)
and i want to see days in this status between two specified dates in formula
or
i have formula that shows days between two statuses (status1, status2) and i need to exclude days in HOLD status from this formula
(HOLD can be transitioned from any status, many times, so i need to count hold time only in time between status 1 and status 2)
Cache(
NonZero(
Avg(
Filter(
Descendants([Issue].CurrentHierarchyMember,[Issue].[Issue]),
(
[Measures].[Transitions to status],
[Transition Status].[status2]
) > 0
AND
DateInPeriod(
(
[Measures].[Transition to status first date],
[Transition Status].[status2],
[Time].CurrentHierarchy.DefaultMember
),
[Time].CurrentHierarchyMember
)
),
DateDiffWorkdays(
(
[Measures].[Transition to status first date],
[Transition Status].[status1],
[Time].CurrentHierarchy.DefaultMember
),
(
[Measures].[Transition to status last date],
[Transition Status].[status2],
[Time].CurrentHierarchy.DefaultMember
)
)
)
)
)
thx for helping.