Hi @zane.baranovska,
Took a long break from this report, getting back to it now and would really appreciate some input/assistance. Right now I’m trying to create a measure of velocity that is an aggregate of:
- Points moved from In Progress → Dev Complete
- Points moved from In Progress → Lead Review (skipped dev complete)
- Points moved from To Do/In Progress → Closed (skipped other steps)
I’ve mostly got this working, but I’m running into some double counting issues.
- If a ticket goes through more than one of these transitions in a time period (e.g. In Progress → Dev Complete multiple times in a sprint) the story points are double counted for that sprint.
- If a ticket goes through more than one of these transitions in multiple time periods (e.g. goes from In Progress → Dev Complete in Sprint 1 and Sprint 2) the points are similarly double counted
I only want the points for each ticket to be recognized once total, not each time one of these transitions occurs. Is there any way to accomplish this?
Here is the report definition:
{
"cube_name": "Issues",
"cube_reports": [ {
"name": "Dev Velocity Tracking",
"folder_name": "Ryan WIP",
"result_view": "table",
"definition": {"columns":{"dimensions":[{"name":"Measures","selected_set":["[Measures].[Dev Sprint Velocity]"],"members":[{"depth":0,"full_name":"[Measures].[Dev Sprint Velocity]","format_string":"#,##0","report_specific":true,"name":"Dev Sprint Velocity","calculated":true}]}]},"rows":{"dimensions":[{"name":"Time","selected_set":["[Time].[DW Sprint 8]","[Time].[DW Sprint 9]","[Time].[DW Sprint 10]"],"members":[],"bookmarked_members":[]}]},"pages":{"dimensions":[]},"options":{"nonempty":"rows"},"view":{"current":"table","maximized":false,"table":{}},"calculated_members":[{"dimension":"Measures","name":"Dev Sprint Velocity","formula":"[Measures].[Story Points to Dev Complete] + [Measures].[Story Points to Lead Review] + [Measures].[Story Points to Closed]","format_string":"#,##0"}]}
} ],
"calculated_members": [{"name":"DW Sprint 10","dimension":"Time","formula":"Aggregate(\n[Time].[Day].DateMembersBetween('Jun 27 2022', 'Jul 10 2022')\n)","format_string":""},{"name":"DW Sprint 9","dimension":"Time","formula":"Aggregate(\n[Time].[Day].DateMembersBetween('Jun 13 2022', 'Jun 26 2022')\n)","format_string":""},{"name":"DW Sprint 8","dimension":"Time","formula":"Aggregate(\n[Time].[Day].DateMembersBetween('May 30 2022', 'Jun 12 2022')\n)","format_string":""},{"name":"Story Points to Dev Complete","dimension":"Measures","formula":"([Measures].[Story Points (Jira) added], [Transition].[In Progress =\u003e Dev Complete])","format_string":"#,##0"},{"name":"Story Points to Lead Review","dimension":"Measures","formula":"([Measures].[Story Points (Jira) added], [Transition].[To Do =\u003e Ready for QA]) + ([Measures].[Story Points (Jira) added], [Transition].[In Progress =\u003e Ready for QA]) + ([Measures].[Story Points (Jira) added], [Transition].[In Progress =\u003e Ready for Lead Review])","format_string":"#,##0"},{"name":"Story Points to Closed","dimension":"Measures","formula":"([Measures].[Story Points (Jira) added], [Transition].[To Do =\u003e Closed], [Resolution].[Done]) + ([Measures].[Story Points (Jira) added], [Transition].[To Do =\u003e Closed], [Resolution].[Fixed]) + ([Measures].[Story Points (Jira) added], [Transition].[In Progress =\u003e Closed], [Resolution].[Done]) + ([Measures].[Story Points (Jira) added], [Transition].[In Progress =\u003e Closed], [Resolution].[Fixed])","format_string":"#,##0"}]
}