eazybi - sum child cells values

Hi, I am making some calculations based on days in specific status for issues inside projects. What I am trying to do, is to sum up all the values of the child issues in the corresponding project cell as it's happening with System fields like "Transitions to status" for my calculated field "Days in transition status until now".

Is this possible?

Thank you!

Pablo.

2016-09-03_11-46-32.png

3 answers

Hi Pablo,

Standard measure "Days in transition status" sums up values from a lower level to a higher (measure "Days in transition status" is calculated only for issues that have been transited from the status).

The behavior of each calculated measure depends on how the particular calculation is written - for example, if some issue property is used for a calculation, then the value would be shown only at the issue level unless the Sum function to Descendant set would be applied for summing up Issue values to Project or All issues level.

Please share to support@eazybi.com the calculation formula of "Days in transition status until now" to understand why this particular measure does not give results you are looking for. Also, which dimension is used in rows? 

 

Ilze, 

eazyBI Customer Support Consultant

Question, when you say Child Issue, how are you creating child issue(Bug) to another project? Could you please give me some insight?

I was referring to hierarchical level, Project > Issue.

I receive a perfect solution for my question from EazyBI Support, if it is useful for someone, this is the calculation:

CASE WHEN
  [Issue].CurrentHierarchyMember.Level.Name = "Issue"
THEN 
  IIF(  
   [Measures].[Transitions to status] = [Measures].[Transitions from status],
   [Measures].[Days in transition status], 
   [Measures].[Days in transition status] + DateDiffDays([Measures].[Transition to status last date], Now())
  ) 
ELSE 
  Sum(
   Filter(
    Descendants([Issue].CurrentMember, [Issue].[Issue]),
    [Measures].[Transitions to status]>0),
   IIF(  
    [Measures].[Transitions to status] = [Measures].[Transitions from status],
    [Measures].[Days in transition status], 
    [Measures].[Days in transition status] + DateDiffDays([Measures].[Transition to status last date], Now())
   )       
  )
END

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

43 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you