# Classic Dashboard vs DQL: Problem Count Differences Using Management Zones

**URL:** <https://community.dynatrace.com/t/classic-dashboard-vs-dql-problem-count-differences-using-management-zones/55333>\
**Category:** DQL\
**Tags:** dql\
**Created:** [March 23, 2026, 7:03pm UTC](https://community.dynatrace.com/t/classic-dashboard-vs-dql-problem-count-differences-using-management-zones/55333 "2026-03-23T19:03:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabriel\_BR](https://avatars.discourse-cdn.com/v4/letter/g/90ced4/32.png) [@Gabriel\_BR](https://community.dynatrace.com/u/Gabriel_BR)\
**Post date:** [March 23, 2026, 7:03pm UTC](https://community.dynatrace.com/t/classic-dashboard-vs-dql-problem-count-differences-using-management-zones/55333/1 "2026-03-23T19:03:24Z")

</div>

I need to update a classic dashboard to DQL.

However, in the classic dashboard it points to both open and closed problems based on the Management Zone (MZ).

In the new model, I’m not able to achieve the same result. It would be possible to use segments, but the problem counts shown in the classic view and in the DQL/segments do not match.

Has anyone experienced this before?

Below are the DQL and segment models.

---------------------

dt.management\_zone.id = “XXXXX” OR (event.kind= DAVIS\_PROBLEM)

--------------------------

fetch dt.davis.problems.snapshots  
| filter dt.davis.is\_duplicate == false  
| dedup display\_id

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [March 24, 2026, 8:00am UTC](https://community.dynatrace.com/t/classic-dashboard-vs-dql-problem-count-differences-using-management-zones/55333/2 "2026-03-24T08:00:50Z")

</div>

Hi,

Which entities are impacted by those problems? Host?

Best regards

---

<div class="post-metadata">

**Author:** ![t\_pawlak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/t_pawlak/32/14991_2.png) [@t\_pawlak](https://community.dynatrace.com/u/t_pawlak)\
**Post date:** [March 24, 2026, 10:16am UTC](https://community.dynatrace.com/t/classic-dashboard-vs-dql-problem-count-differences-using-management-zones/55333/3 "2026-03-24T10:16:58Z")

</div>

Hi,  
Yes, I think this is the key question, because this is usually where the difference comes from.

IMO the issue is that Classic Management Zones and the new Segments are not a 1:1 mapping, so the same problem counts will not always match after migration. Dynatrace even has a dedicated upgrade guide from MZ to Segments, which suggests adapting the use case rather than just copying the old filter logic.

Then your DQL:

```markup
fetch dt.davis.problems.snapshots
| filter dt.davis.is_duplicate == false
| dedup display_id

```

This can produce different numbers than Classic, because dt.davis.problems.snapshots works on problem snapshots over time, not simply on the list of unique problems. In the current Dynatrace documentation, the recommended dataset for unique problem queries is rather fetch dt.davis.problems, for example with not(dt.davis.is\_duplicate), and for active problems additionally event.status == “ACTIVE”.

So I would first test something like:

```markup
fetch dt.davis.problems
| filter not(dt.davis.is_duplicate)
| summarize problem_count = count()

```

or only open one:

```markup
fetch dt.davis.problems
| filter not(dt.davis.is_duplicate)
| filter event.status == "ACTIVE"
| summarize problem_count = count()

```

Also, with Segments it is very important to understand which entities are impacted by those problems. If the problems are tied to hosts, services, process groups, or other entity/data types, the segment needs to include the correct scope. Otherwise, the count shown in Dashboards/DQL may differ from what Classic MZ-based views displayed before. Dynatrace’s segment documentation also highlights that results depend on the correct data scope being included.  
Documentation here:  
[Analyze monitoring data with segments](https://docs.dynatrace.com/docs/manage/segments/getting-started/segments-getting-started-analyze-monitoring-data)

---

<div class="post-metadata">

**Author:** ![Gabriel\_BR](https://avatars.discourse-cdn.com/v4/letter/g/90ced4/32.png) [@Gabriel\_BR](https://community.dynatrace.com/u/Gabriel_BR)\
**Post date:** [March 24, 2026, 7:31pm UTC](https://community.dynatrace.com/t/classic-dashboard-vs-dql-problem-count-differences-using-management-zones/55333/4 "2026-03-24T19:31:24Z")

</div>

Hi,

Thanks for the explanation — that makes sense and helps clarify part of the behavior.

The Segment I configured is based on the following rule:

(event.kind = DAVIS\_PROBLEM AND (dt.host\_group.id = “APP\_SPN” OR entity\_tags = SPN))  
OR (event.category = CUSTOM\_ALERT AND event.status\_transition = “CREATED” AND event.name = “SPN”) AND dt.davis.is\_duplicate = “false”

When I compare the results:

- In the **Classic Problems view (today)** → I get **6 problems**
- Using DQL with the Segment applied → I get **13 problems**

Query used in DQL:

fetch dt.davis.problems  
| filter not(dt.davis.is\_duplicate)  
| dedup display\_id

So even using `dt.davis.problems` (as recommended instead of snapshots), there is still a noticeable difference in the number of problems.

From what I can see, it seems that the Segment is including additional problems that are not shown in the Classic MZ view — possibly due to differences in how entity relationships or scope are evaluated.

Do you think this discrepancy is expected due to how Segments evaluate impacted entities vs. how Classic MZ scopes problems?

Thanks in advance!
