“Estimated EndDate” is a custom field that contains an estimated completion time for when the story will end.
I want to compare the “Estimated EndDate” values entered in the story at the end of each sprint, but the table below only shows the most recently entered value.
I want to make it behave like the “Sprint Story Points at closing” value, but I can’t do that with the custom field “Estimated EndDate”?
I’ve read and followed the link below, but it’s still not working, please help!!!
Property “Issue Estimated EndDate” will return the current value of a date picker but you can import the history for date field timestamps and then return the last value at certain date.
Once the history is imported and the calculated measure is created, you can try creating the final calculated measure (with Month Day Year format) to retrieve the historical date picker field value at the sprint actual end date.
CASE WHEN
Not IsEMpty([Measures].[Sprint actual end date])
THEN
Sum((
[Time].[Day].DateMember(
[Measures].[Sprint actual end date]
),
[Measures].[Estimated Enddate history] --calculated measure from community example
))
END
Add User defined IssueTestDateHistory (Issue TestDateHistory)
[Measures].[Issue Test Date History]
Add User defined Calc (Guide MDX Code)
CASE WHEN
Not IsEMpty([Measures].[Sprint actual end date])
THEN
Sum((
[Time].[Day].DateMember(
[Measures].[Sprint actual end date]
),
[Measures].[Test Date History]
))
END
The Test Date History column and Calc column are only visible in Sprint 4.
The [Measures].[Issue Test Date History] values are displayed in each Sprint.
I think I’m typing something wrong, but I can’t figure it out. Can you help?
Hi,
All is good.
The “Test Date History” measure currently returns results just for sprints without the sprint’s actual end date due to the Case WHEN statement logic.
If you need to show it for all sprints, try the calculated measure without CASE structure.
“Issue Test Date history” is just a property of an issue, and it doesn’t care for other dimensions but “Issue”. That is why it returns results for all sprints as long as the issue is in rows or report context.
We want the values that changed in each Sprint to be output as shown by the red line in the image above. Is there any other way to do this?
I’ll keep my fingers crossed and wait for a response.
Thanks for showing me how to do it quickly.
However, I am getting an error as shown below.
Could it be related to the plugin version?
(We are using version 6.4.1)
The code you modified works fine.
I’m so happy to see the changes you made in each sprint.
Now we have one last hurdle.
If I change the Formatting to Date / Time yyyy-mm-dd ISO format date, the value is displayed as yyyy-mm-dd as shown below.
(Everything under Date / Time is the same)
Currently the result is calculated as timestamp which is a number and expects either “decimal” or “integer” output format.
If you want to display it as date, you would need to use the formula TimestampToDate and then select one of the “Date/Time” output formats for your calculation.
Try this formula with Date/Time format.
TimestamptoDate(
Sum(
Filter(
DescendantsSet([Issue].CurrentMember,[Issue].[Issue]),
[Measures].[Sprint issues committed]>0
),
Sum((
[Time].[Day].DateMember(
[Measures].[Sprint actual end date]
),
[Measures].[Test Date History],
[Sprint].Currenthierarchy.DefaultMember)
)
))
Your guide was perfect.
My report is going to shine thanks to you.
I made one change that I thought I’d share.
When I tried the script in the link, it gave me different values for the last sprint I changed.
So I changed the script to the following and it worked fine.