Hello,
I am trying to create a report with % of tickets resolved within an hour. I tried creating a calculated measure as following, however, it does not help. To be honest, I referred to similar topic and tried to arrive at the following.
CASE WHEN
[Issue].CurrentHierarchyMember.Level.Name = 'Issue'
THEN
CASE
WHEN [Measures].[Hours spent] <= 1
THEN 1
END
ELSE
Sum(
Filter(
-- iterate through Issue dimension "Issue" level
Descendants([Issue].CurrentMember,[Issue].[Issue]),
-- return a set of issues matching condition
[Measures].[Hours spent] <= 1
),
-- evaluate the set of issues over the measure below
[Measures].[Issues with hours spent]
)
END
I know this would only give the number of issues and not the percentage but it doesn’t work.
Could you please let me know the issue with above logic. Any help here would be appreciated.