Thanks in advance for any help that can be offered here. What I am trying to do is get a count of how many issues have not been updated in five days by priority.
We have several issues with multiple priorities like major, minor, etc. How would I go about getting a count of something like this?
Sorry about the formatting of my table. I was trying to show an example of my desired output. Essentially, I would like to get a something that says there was 2 critical issues with a last updated date of 5 days ago, 5 major issues with a last updated date of 5 days ago, and 10 minor issues with a last updated date of 5 days ago.
You could achieve this with a calculated measure that uses the PreviousPeriods function. It would create a set of the Time dimension Day level members that are five days and more from now. Then the Sum function would calculate the measures “Issues last updated” values for each set member and return the sum. Finally, you could subtract the “Issues resolved” measure to get the count of all open issues. Please have a look at the code below:
Sum(
PreviousPeriods([Time].[Day].CurrentDateMember.Lag(4)),
[Measures].[Issues last updated]
)
-
[Measures].[Issues resolved]
Several such calculated measures could negatively affect the report load time. In such a case, you may want to pursue the JavaScript calculated interval dimension option. The calculation then would be done during data import instead of report execution time. See more details on interval dimensions here - https://docs.eazybi.com/eazybijira/analyze-and-visualize/interval-dimensions.
Hi @roberts.cacus ,
I have a similar question to the original one in this thread: I am looking to create a time filter, which will present only the JIRA tickets which haven’t been updated in 6 months or more.
As you can see in the screenshot below, I set up a report which shows me all the tickets which were created over months ago. Can you think of a filter which will help?
Thank you,
In your case, I suggest subtracting the number of issues updated in the last six months from the total number of issues last updated. The formula for a new calculated measure could look similar to the one below:
NonZero(([Time].CurrentHierarchy.DefaultMember,
[Measures].[Issues last updated])
-
Sum(
{[Time].[Month].CurrentDateMember:[Time].[Month].CurrentDateMember.Lag(6)},
[Measures].[Issues last updated]
))
You can remove the Time dimension from the report pages, as the calculated measure will reset the context for it anyway.