I have several Sprint on different projects and I want to show them together on my report.
Example:
Project1 has ‘Sprint 1 P1’, Project2 has ‘Sprint 1 P2’ and so on… I want to show all the issues on Sprint 1 no matter what project it is.
I was thinking on some like:
Aggregate({
CASE WHEN [Measures].[Issue Sprint] MATCHES ‘Sprint 1*’
THEN
‘Sprint One’
END
})
But I have the error 'No Function matches signature ‘{}’
You can also check our documentation for examples of other regular expressions if you need to make a regular expression that checks if this word is only at the beginning of the Sprint.
Is it possible to make this dynamic based on the last 6 characters of the sprint name? We’re running parallel sprints for one of our dev teams. I need to aggregate hours spent for the last five sprints to determine the whole team’s velocity.
Hi @Shel_Price ,
Can you share an example?
One of the options would be to check if the sprint ends with your required expression, for example, this formula
would check if the Sprint members ends with “Sprint 1”.
If this is not what you mean, can you share an example on how you would like to aggregate sprints based on last 6 characters?
I want to aggregate [Sprint].[Sprint].[PMWeb-G.2021.13] and [Sprint].[Sprint].[PMWeb-R.2021.13] as PMWeb2021.13, then [Sprint].[Sprint].[PMWeb-G.2021.14] and [Sprint].[Sprint].[PMWeb-R.2021.14] as PMWeb2021.14 and so on, preferably not by manually creating separate measures for each set. When displayed, the data should show by the grouped sprints .13, .14 and so on. Then I need to be able to sum the hours spent during the first 2 weeks of our 3 week sprints.
For my previous calculation to work for your naming pattern, this would be the formula for “Sprint 13” (the same should be repeated for the next sprints):