I am trying to create a calculated member that will show the average number of workdays certain groups of issues take to first achieve a given status. My MDX is below. However, this doesn't return any values. The cells of the table are blank.
CASE WHEN [Measures].[Transitions to status] > 0 THEN
DateDiffWorkdays([Measures].[Issue created date], [Measures].[Transition to status first date]) /
[Measures].[Transitions to status]
END
Additionally, I would also like to measure the average workdays these issues take between achieving this status and being closed.
Any help is greatly appreciated