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?
Hi Peter,
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.
Kind regards,
Lauma / support@eazybi.com
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lauma @eazyBI Support,
I know this is an old question but would like to have assistance with creating a script that counts issue update events per week, as you have suggested.
Can you assist?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
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 support@eazybi.com 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.
Kind regards,
Daina / support@eazybi.com
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.