Found the answer by counting how many issues have been logged
Count(Filter( Descendants([Issue].CurrentMember, [Issue].[Issue]), [Measures].[Hours spent] > 0 ))
Though it looks like this is not an optimized query. Any suggestions on how to make it better?
The MDX you have written is correct to get count of issues with Hours spent. It is true that such a calculation could take some time in case of many issues and it would be more efficient to pre-calculate this.
Nevertheless in this case the pre-calculation would not provide such a dynamic result. For example it would be possible to pre-calculate that a user updated an issue on a certain date and no longer count if the same user updates issue in the same month (to get the distinct count). Now if this user again logs hours next month, then again the issue would be counted - on monthly hierarchy this would give correct result, but on Yearly level the count would not be distinct as issue would be counted every month it was updated.
Let me know though if you would like this report on some specific Time level and it would not matter for other levels and you would need assistance with the JIRA Misc field to pre-calculate this.
Lauma / email@example.com
This is an advanced solution and some more details could be needed to get it working correctly for your case.
Could you send a request to firstname.lastname@example.org for this? Please add an additional information about you report. Could you mention any other dimensions, measures you would like to use in the same report? What would you want to use in Rows, Columns, and Pages?
More information would help us better assist you.
Daina / email@example.com
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
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!
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