I found this in a prev thread and it did warn of the query size. Hoping someone can figure out a way to reduce the depth of the query.
NonZero(Sum(
--set of issues committed AND completed in a sprint
Filter(
Descendants([Issue].CurrentMember,[Issue].[Issue]),
--filter conditions for issues
[Measures].[Sprint issues committed] > 0
AND [Measures].[Sprint issues completed] > 0
AND [Measures].[Sprint Story Points committed] > 0
),
--sum up original estimate
([Measures].[Original story points resolved],
[Sprint].DefaultMember)
))
Here is the definition of the report as well:
{
"cube_name": "Platform Delivery Data",
"cube_reports": [ {
"name": "Platform Commit Reliability (Combined by Sprint)",
"result_view": "bar_chart",
"definition": {"columns":{"dimensions":[{"name":"Measures","selected_set":["[Measures].[Sprint Story Points Committed -Cached]","[Measures].[Story Commit Reliability %]"],"members":[]}]},"rows":{"dimensions":[{"name":"Sprint","selected_set":["[Sprint].[Last 6 closed platform sprints]"],"selected_set_expression":"DescendantsSet({{selected_set}}, [Sprint].[Sprint])","members":[],"bookmarked_members":[]}],"order_by":{"expression":["[Measures].[Sprint start date]"],"order":"ASC"},"nonempty_crossjoin":true},"pages":{"dimensions":[{"name":"Project","selected_set":["[Project].[Platform Projects]"],"members":[{"depth":0,"name":"Platform Projects","full_name":"[Project].[Platform Projects]","calculated":true,"drillable":true}],"bookmarked_members":[],"current_page_members":["[Project].[Platform Projects]"]},{"name":"Sprint","duplicate":true,"selected_set":["[Sprint].[2020 closed sprints]","[Sprint].[Plat Sprints]","[Sprint].[Last 6 closed platform sprints]"],"members":[{"depth":0,"name":"2020 closed sprints","full_name":"[Sprint].[2020 closed sprints]","calculated":true,"drillable":true,"expanded":true,"drilled_into":false,"removed":true},{"depth":0,"name":"Plat Sprints","full_name":"[Sprint].[Plat Sprints]","calculated":true,"drillable":true,"expanded":true,"drilled_into":false,"removed":true},{"depth":0,"name":"Last 6 closed platform sprints","full_name":"[Sprint].[Last 6 closed platform sprints]","calculated":true,"drillable":true}],"bookmarked_members":[],"current_page_members":["[Sprint].[Last 6 closed platform sprints]"]},{"name":"Team(TIR Official)","selected_set":["[Team(TIR Official)].[All Platform by tower (HWB/HWS)]"],"members":[{"depth":0,"name":"All Platform by tower (HWB/HWS)","full_name":"[Team(TIR Official)].[All Platform by tower (HWB/HWS)]","calculated":true,"drillable":true}],"bookmarked_members":[],"current_page_members":["[Team(TIR Official)].[All Platform by tower (HWB/HWS)]"]}]},"options":{"nonempty":true},"view":{"current":"bar_chart","maximized":false,"bar_chart":{"stacked":false,"vertical":true,"swap_axes":false,"data_labels":true,"series_options":{"Commit Reliability % (Completed/Committed)":{"type":"column","separateAxis":1,"symbol":"diamond","dataLabelType":"top horizontal","color":"#89A54E"},"Sprint commitment changes":{"type":"line","separateAxis":2,"dataLabelType":"top horizontal"},"Sprint Story Points committed":{"dataLabelType":false,"color":"#4572A7"},"Story Points resolved":{"dataLabelType":false,"color":"#AA4643"},"Commitment Reliability Trend":{"type":"line-Dash","separateAxis":3},"Sprint Issues remaining trend":{"type":"line"},"Running reliability last 6 sprints":{"type":"line-Dash","separateAxis":1,"color":"#89A54E"},"Reliability trend 6 sprints":{"type":"line","separateAxis":1,"dataLabelType":false},"Commit Reliability % (#Points)":{"separateAxis":1,"dataLabelType":"top horizontal"},"Story Commit Reliability %":{"separateAxis":1}},"y_axis":{"0":{"min":"0","max":"400"},"1":{"max":1.25},"2":{"max":350}},"font_size":"large"},"table":{"freeze_header":true}},"description":"## Platform Commitment Reliability\n\n**Calculated by sprint. Story points committed / Story Points completed**"}
} ],
"calculated_members": [{"name":"Issue Sprint","dimension":"Measures","formula":"[Issue].CurrentHierarchyMember.get('Sprint')","format_string":"","annotations":{"group":"Issue properties","predefined":true}},{"name":"Sprint start date","dimension":"Measures","format_string":"mmm dd yyyy","annotations":{"group":"Agile","predefined":true},"formula":"[Sprint].CurrentMember.get('Start date')"},{"name":"Sprint issues committed","dimension":"Measures","format_string":"#,##0","annotations":{"group":"Agile","predefined":true},"formula":"( [Measures].[Transitions to],\n [Transition Field].[Sprint status],\n [Sprint Status].[Active],\n -- An issue was in a sprint at a sprint start time\n [Issue Sprint Status Change].[Future =\u003e Active],\n [Time].CurrentHierarchy.Levels('Day').DateMember(\n [Sprint].CurrentMember.get('Start date')\n )\n)"},{"name":"Plat Sprints","dimension":"Sprint","formula":"Aggregate(\n Filter(\n [Sprint].[Sprint].Members,\n [Sprint].CurrentMember.Name MATCHES \"^EPSS Sprint.*\" OR\n [Sprint].CurrentMember.Name MATCHES \"^EPC Sprint.*\"\n )\n)","format_string":""},{"name":"2020 closed sprints","dimension":"Sprint","formula":"Aggregate(\n Filter([Sprint].[Sprint].Members,\n NOT IsEmpty([Sprint].CurrentMember.get('Start date')) AND \n DateBetween(\n [Sprint].CurrentMember.get('End date'),\n 'Jan 1 2020',\n 'Today') AND\n ([Sprint].CurrentMember.Name MATCHES '^EPSS Sprint.*' OR\n [Sprint].CurrentMember.Name MATCHES '^EPC Sprint.*')\n )\n))","format_string":""},{"name":"Last 6 closed platform sprints","dimension":"Sprint","formula":"Aggregate({\n[Sprint].[EPSS Last 6 Closed],\n[Sprint].[EPC Last 6 Closed]\n})","format_string":""},{"name":"How We Build - ALL","dimension":"Team(TIR Official)","formula":"Aggregate(\n {\n [Team(TIR Official)].[How We Build - Scrum]\n }\n)","format_string":""},{"name":"How We Ship - ALL","dimension":"Team(TIR Official)","formula":"Aggregate({\n [Team(TIR Official)].[How We Ship - Scrum],\n [Team(TIR Official)].[How We Ship - Kanban]\n})","format_string":""},{"name":"All Platform by tower (HWB/HWS)","dimension":"Team(TIR Official)","formula":"Aggregate({\n [Team(TIR Official)].[How We Build - ALL] ,\n [Team(TIR Official)].[How We Ship - ALL] \n })","format_string":""},{"name":"How We Build - Scrum","dimension":"Team(TIR Official)","formula":"Aggregate(\n {\n [Team(TIR Official)].[Silverbolt],\n [Team(TIR Official)].[Skydive],\n [Team(TIR Official)].[X-wing],\n [Team(TIR Official)].[Panama],\n [Team(TIR Official)].[Enki],\n [Team(TIR Official)].[Athena],\n [Team(TIR Official)].[Labyrinth]\n }\n)","format_string":""},{"name":"How We Ship - Scrum","dimension":"Team(TIR Official)","formula":"Aggregate({\n [Team(TIR Official)].[Blitzwing],\n [Team(TIR Official)].[Cadence],\n [Team(TIR Official)].[EASE TechX],\n [Team(TIR Official)].[FireWatch],\n [Team(TIR Official)].[SpyderCo]\n})","format_string":""},{"name":"How We Ship - Kanban","dimension":"Team(TIR Official)","formula":"Aggregate({\n [Team(TIR Official)].[Caffeine],\n [Team(TIR Official)].[Ghost],\n [Team(TIR Official)].[Meeseeks],\n [Team(TIR Official)].[Blackjack],\n [Team(TIR Official)].[Mobius]\n})","format_string":""},{"name":"Platform Projects","dimension":"Project","formula":"Aggregate({\n[Project].[EASE Platform CORE],\n[Project].[EASE Platform Shared Services],\n[Project].[Caffeine - Mobile CICD Platform (iOS and Android)]\n}\n)","format_string":""},{"name":"EPSS Last 6 Closed","dimension":"Sprint","formula":"Aggregate(\n Filter([Sprint].[Sprint].Members,\n NOT IsEmpty([Sprint].CurrentMember.get('Start date')) AND \n DateBetween(\n [Sprint].CurrentMember.get('End date'),\n '12 weeks ago',\n 'Now') AND\n [Sprint].CurrentMember.Name MATCHES '^EPSS Sprint.*'\n )\n))","format_string":""},{"name":"EPC Last 6 Closed","dimension":"Sprint","formula":"Aggregate(\n Order(\n Filter([Sprint].[Sprint].Members,\n NOT IsEmpty([Sprint].CurrentMember.get('Start date')) AND \n DateBetween(\n [Sprint].CurrentMember.get('End date'),\n '12 weeks ago',\n 'Now') AND\n [Sprint].CurrentMember.Name MATCHES '^EPC Sprint.*'\n ),\n [Sprint].CurrentMember.get('Start Date'),\nBASC\n))","format_string":""},{"name":"Sprint issues completed of committed","dimension":"Measures","formula":"-- this measure will calculate the resolved issues in the last sprint where an issue was commited and finally resolved\n-- this measure excludes committed and completed issues if they were reopened after sprint completion and were resolved in later sprint or outside of sprint\nCASE WHEN\n [Sprint].Currentmember.Level.name = \"Sprint\"\nTHEN\n NonZero(SUM(\n Filter(\n Descendants([Issue].Currentmember, [Issue].[Issue]),\n [Sprint].CurrentMember.Name = [Measures].[Issue Sprint] \n ),\n CASE WHEN\n [Measures].[Sprint issues committed] \u003e 0\n THEN\n [Measures].[Issues resolved]\n END\n ))\nEND","format_string":""},{"name":"Story Commit Reliability %","dimension":"Measures","formula":"CASE WHEN\n[Measures].[Sprint issues committed] \u003e 0\nTHEN\n[Measures].[Sprint issues completed of committed]/\n[Measures].[Sprint issues committed]\nELSE\n0\nEND","format_string":"#0%"},{"name":"Sprint Story Points Committed -Cached","dimension":"Measures","formula":"Cache(\n ( [Measures].[Story Points added],\n [Transition Field].[Sprint status],\n [Sprint Status].[Active],\n -- An issue was in a sprint at a sprint start time\n [Issue Sprint Status Change].[Future =\u003e Active],\n [Time].CurrentHierarchy.Levels('Day').DateMember(\n [Sprint].CurrentMember.get('Start date')\n )\n)\n)","format_string":""}]
}