<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Classic Dashboard vs DQL: Problem Count Differences Using Management Zones in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Classic-Dashboard-vs-DQL-Problem-Count-Differences-Using/m-p/296596#M3223</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;Yes, I think this is the key question, because this is usually where the difference comes from.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Then your DQL:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.davis.problems.snapshots
| filter dt.davis.is_duplicate == false
| dedup display_id&lt;/LI-CODE&gt;&lt;P&gt;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".&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;So I would first test something like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.davis.problems
| filter not(dt.davis.is_duplicate)
| summarize problem_count = count()&lt;/LI-CODE&gt;&lt;P&gt;or only open one:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.davis.problems
| filter not(dt.davis.is_duplicate)
| filter event.status == "ACTIVE"
| summarize problem_count = count()&lt;/LI-CODE&gt;&lt;P&gt;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.&lt;BR /&gt;Documentation here:&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/manage/segments/getting-started/segments-getting-started-analyze-monitoring-data" target="_self"&gt;Analyze monitoring data with segments&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Mar 2026 10:16:58 GMT</pubDate>
    <dc:creator>t_pawlak</dc:creator>
    <dc:date>2026-03-24T10:16:58Z</dc:date>
    <item>
      <title>Classic Dashboard vs DQL: Problem Count Differences Using Management Zones</title>
      <link>https://community.dynatrace.com/t5/DQL/Classic-Dashboard-vs-DQL-Problem-Count-Differences-Using/m-p/296571#M3218</link>
      <description>&lt;DIV&gt;&lt;P&gt;I need to update a classic dashboard to DQL.&lt;/P&gt;&lt;P&gt;However, in the classic dashboard it points to both open and closed problems based on the Management Zone (MZ).&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Has anyone experienced this before?&lt;/P&gt;&lt;P&gt;Below are the DQL and segment models.&lt;/P&gt;&lt;P&gt;---------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dt.management_zone.id = "XXXXX" OR (event.kind= DAVIS_PROBLEM)&lt;/P&gt;&lt;P&gt;--------------------------&lt;/P&gt;&lt;P&gt;fetch dt.davis.problems.snapshots&lt;BR /&gt;| filter dt.davis.is_duplicate == false&lt;BR /&gt;| dedup display_id&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Mar 2026 19:03:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Classic-Dashboard-vs-DQL-Problem-Count-Differences-Using/m-p/296571#M3218</guid>
      <dc:creator>Gabriel_BR_</dc:creator>
      <dc:date>2026-03-23T19:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Classic Dashboard vs DQL: Problem Count Differences Using Management Zones</title>
      <link>https://community.dynatrace.com/t5/DQL/Classic-Dashboard-vs-DQL-Problem-Count-Differences-Using/m-p/296585#M3221</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Which entities are impacted by those problems? Host?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 08:00:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Classic-Dashboard-vs-DQL-Problem-Count-Differences-Using/m-p/296585#M3221</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2026-03-24T08:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Classic Dashboard vs DQL: Problem Count Differences Using Management Zones</title>
      <link>https://community.dynatrace.com/t5/DQL/Classic-Dashboard-vs-DQL-Problem-Count-Differences-Using/m-p/296596#M3223</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Yes, I think this is the key question, because this is usually where the difference comes from.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Then your DQL:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.davis.problems.snapshots
| filter dt.davis.is_duplicate == false
| dedup display_id&lt;/LI-CODE&gt;&lt;P&gt;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".&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;So I would first test something like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.davis.problems
| filter not(dt.davis.is_duplicate)
| summarize problem_count = count()&lt;/LI-CODE&gt;&lt;P&gt;or only open one:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.davis.problems
| filter not(dt.davis.is_duplicate)
| filter event.status == "ACTIVE"
| summarize problem_count = count()&lt;/LI-CODE&gt;&lt;P&gt;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.&lt;BR /&gt;Documentation here:&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/manage/segments/getting-started/segments-getting-started-analyze-monitoring-data" target="_self"&gt;Analyze monitoring data with segments&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 10:16:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Classic-Dashboard-vs-DQL-Problem-Count-Differences-Using/m-p/296596#M3223</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2026-03-24T10:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Classic Dashboard vs DQL: Problem Count Differences Using Management Zones</title>
      <link>https://community.dynatrace.com/t5/DQL/Classic-Dashboard-vs-DQL-Problem-Count-Differences-Using/m-p/296640#M3224</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the explanation — that makes sense and helps clarify part of the behavior.&lt;/P&gt;&lt;P&gt;The Segment I configured is based on the following rule:&lt;/P&gt;&lt;P&gt;(event.kind = DAVIS_PROBLEM AND (dt.host_group.id = "APP_SPN" OR entity_tags = SPN))&lt;BR /&gt;OR (event.category = CUSTOM_ALERT AND event.status_transition = "CREATED" AND event.name = "SPN") AND dt.davis.is_duplicate = "false"&lt;/P&gt;&lt;P&gt;When I compare the results:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In the &lt;STRONG&gt;Classic Problems view (today)&lt;/STRONG&gt; → I get &lt;STRONG&gt;6 problems&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Using DQL with the Segment applied → I get &lt;STRONG&gt;13 problems&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Query used in DQL:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fetch dt.davis.problems&lt;BR /&gt;| filter not(dt.davis.is_duplicate)&lt;BR /&gt;| dedup display_id&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;So even using &lt;CODE&gt;dt.davis.problems&lt;/CODE&gt; (as recommended instead of snapshots), there is still a noticeable difference in the number of problems.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Do you think this discrepancy is expected due to how Segments evaluate impacted entities vs. how Classic MZ scopes problems?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 19:31:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Classic-Dashboard-vs-DQL-Problem-Count-Differences-Using/m-p/296640#M3224</guid>
      <dc:creator>Gabriel_BR_</dc:creator>
      <dc:date>2026-03-24T19:31:24Z</dc:date>
    </item>
  </channel>
</rss>

