# Get percentage of time with ACTIVE problems and not

**URL:** <https://community.dynatrace.com/t/get-percentage-of-time-with-active-problems-and-not/54818>\
**Category:** DQL\
**Tags:** dql, problems, problems-classic\
**Created:** [January 30, 2026, 11:42am UTC](https://community.dynatrace.com/t/get-percentage-of-time-with-active-problems-and-not/54818 "2026-01-30T11:42:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tarjei](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/tarjei/32/39196_2.png) [@tarjei](https://community.dynatrace.com/u/tarjei)\
**Post date:** [January 30, 2026, 11:42am UTC](https://community.dynatrace.com/t/get-percentage-of-time-with-active-problems-and-not/54818/1 "2026-01-30T11:42:32Z")

</div>

Hi!

We would like to create a query which checks a timeperiod for all “timebuckets” where a problem was open.

```auto
fetch events
| filter event.kind == "DAVIS_PROBLEM"
| filter event.category == "AVAILABILITY"
| filter event.status == "ACTIVE"
| filter contains(event.name,"BSN0001632")
| makeTimeseries interval:1m, count = count(default:0)

```

This is the closest I have come, but it is not quite what I am after.

One of the questions is if an open event will show as ACTIVE in all timeperiods between event.start and event.end
