Hello
I am receiving timeout when trying to execute this measure (there is also a filter by board)
– days in transition status when issue was in this status in previous times
[Measures].[Days in transition status]
+
-- days since last transition to this status
NonZero(SUM(Filter(
Descendants([Time].CurrentMember,[Time].[Day]),
-- for unresovled issues only
IsEmpty([Issue].CurrentHierarchyMember.Get("Closed at"))
AND
[Measures].[Issue status] = "Blocked"
),
CASE WHEN
[Measures].[Issues history] > 0
THEN
DateDiffDays(
[Measures].[Issue status updated date],
Now()
)
END
))
is there any way to optimize it?
thanks a lot