Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cumulative Sprint Time spent

Hello,

I Try to build a new calculated measure to sum time spent on issues during a sprint, I took inspiration from sprint burn down exemple:

https://docs.eazybi.com/display/EAZYBIJIRA/Sprint+burn-down+or+burn-up+chart

Then I adapted the "Cumulative Story Points resolved" calculated measure, but I have an issue because the cumulative on the first day of the sprint is not equal to the hours spent on that day

Here is my code :

CASE
WHEN NOT [Time].CurrentHierarchyMember IS [Time].DefaultMember
THEN
  Sum(
    { [Time].CurrentHierarchyMember.Parent.Level.Members.Item(0):
      [Time].CurrentHierarchyMember.Parent.PrevMember },
    [Measures].[Hours spent]
  ) +
  Sum(
    PeriodsToDate([Time].CurrentHierarchyMember.Parent.Level),
    [Measures].[Hours spent]
  )
WHEN NOT [Sprint].CurrentMember IS [Sprint].DefaultMember
THEN
  Sum(
    { [Sprint].CurrentMember.Level.Members.Item(0):
      [Sprint].CurrentMember },
    [Measures].[Hours spent]
  )
END

If anybody can help me on this point, I will be greatfull.

Best regards,

1 answer

1 accepted

1 vote
Answer accepted

This formula will calculate cummulative hours spent on issues in selected sprint since beginning of time. It seems that in your case hours were spent on issues in this sprint already before beginning of this sprint therefore on first day it already shows much higher amount of cummulative hours spent.

If you want to calculate cummulative hours spent just within sprint dates then you can define "Cumulative Time Spent" with formula:

Sum(
  Filter(
    [Time].CurrentHierarchyMember.Level.Members,
    [Measures].[Time within Sprint] = 1
  ).Item(0):[Time].CurrentHierarchyMember,
  [Measures].[Hours spent]
)

It will filter only Time periods within current sprint (using the same "Time within Sprint" measure) and then will calculate cumulative sum from first sprint Time period until current.

Thks for the tips Raimonds, it is exactly what I needed.

Best regards,

Hi @Raimonds Simanovskis 

Is there any way I can add any more customized search criteria in my search bar ?

image.pngimage.png

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

New cloud apps roundup - June 2021

Since our last roundup in April, Atlassian's Marketplace Partners have added over 100 new cloud apps to the Atlassian Marketplace to help your teams work more efficiently. Let’s take a quick look a...

363 views 5 11
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you