Total Issues per month with logged time for the first time


I need to count the total Issues per month in which work time is logged for the first time.

Can someone help me to get this?


Hi Adriana,

Yes, it is possible to write an MDX calculation that goes through issues and filters the ones that are open in the period and have hours logged in the period but do not have hours logged in Previous periods. Here would be a formula doing that

  Filter(Descendants([Issue].CurrentMember, [Issue].[Issue]),
        [Issue].CurrentMember.get('Created at'),
        [Time].CurrentHierarchyMember) AND
    NOT DateBeforePeriodEnd(
      [Issue].CurrentMember.get('Resolved at'),
      [Measures].[Hours spent] > 0 AND
        [Measures].[Hours spent]
      ))) THEN 1

Going through all issues in this way can be slow though. If you find that the report execution is not fast enough when using the above measure (this strongly depends on how many issues you have in the cube), another option would be to create a custom calculated field ( that would go through issue changelog and find the date of the first worklog. After importing such date as a measure, you would get “Issues with first worklog date” measure that would work with Time dimension a lot faster than the above MDX calculation.

Lauma /