The CreatorCon Call for Content is officially open! Get started here.

Top 10 problems by incident count for last month

Gareth Davies
Tera Contributor

This sounded like an easy job, then I tried to do it...

My requirement is on the first day of each month to capture what for every assignment group what the top 10 problem records were the previous month. The criteria for ranking is the count of incidents created in that month grouped by problem number. Rather than detail all the ways what I'm going is not working, what would be the right way to go about doing that with a large number of active problems (c2000) and assignment groups (c1500)?

 

 

3 REPLIES 3

Mahesh_Krishnan
Giga Guru

Gareth:

I worked out one solution shown below where I have created a simple report on the Incident table grouped by Problems, with the aggregation being count, as each row will be a Incident. You can add the other filter conditions of previous month etc to it. I set the report to display only the top 10 problems. And then I added the report and an Interactive Filter based on Assignment Group to a dashboard.

find_real_file.png

Now, with such a large number of assignment groups it is going to be hard to present this data effectively; at least I cannot figure out a way. I would be curious to know who the primary user of this data is going to be. Is there just a few individuals looking at data across the 1500 and odd groups, or are they going to be managers of a set of groups?

That's pretty much the reporting solution I'm trying to replace with performance analytics. With that many assignment groups and several million rows in the incident table it's catastrophically slow so I want to do the heavy lifting overnight rather than on-demand.

My initial attempt had a breakdown source of all problem records that have had an incident which was created in the previous month related to them, then apply that as a breakdown to an indicator that counts the number of incidents linked to problems in the previous month. That seemed to work ok but was problematic when I tried to actually use it in a breakdown widget - I got no data to display despite being able to see in the analytics hub the collection had happened. However, with c1500 assignment groups and c2000 problems I managed to kill the performance of the analytics hub too, and as the point is to fix the performance issues of the existing solution that's not ideal!

The primary use of the data is as part of a risk control - teams are required on a monthly basis to make sure their most active moderate priority problems (currently that's based on number of related incidents in the previous month, NOT total number of related incidents) have some sort of status update.

I think I'm going to investigate setting up a separate spotlight solution using an indicator and see how that works, that might be a better way of going about this. It would also give me more control over criteria - if we want to give more priority to certain types of problem in response to user feedback we can just tweak the spotlight scores.

Mahesh_Krishnan
Giga Guru

Further, you can make the list of Assignment Groups automatically filter for the user who logs in if he/she manages a set of groups by using the "Manager isDynamic is Me" filter when you create the Interactive Filter.