<?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: DQL Monthly Problems count in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/DQL-Monthly-Problems-count/m-p/269149#M1683</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;There is a new getMonth() function coming to DQL in the &lt;A href="https://docs.dynatrace.com/docs/shortlink/release-notes-saas-sprint-307#new-dql-functions" target="_self"&gt;newest SaaS release&lt;/A&gt;. Once that's available in your tenant, the query should be...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.davis.problems, from:-4M, to:now()
| fieldsAdd month = getMonth(timestamp)
| summarize count(), by:{month}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Feb 2025 23:58:16 GMT</pubDate>
    <dc:creator>Cameron-Leong</dc:creator>
    <dc:date>2025-02-03T23:58:16Z</dc:date>
    <item>
      <title>DQL Monthly Problems count</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-Monthly-Problems-count/m-p/269145#M1682</link>
      <description>&lt;P&gt;I create a monthly dashboard where I manually gather data on problems from the past month and compare it to previous months. I want to create a &lt;STRONG&gt;line graph&lt;/STRONG&gt; that shows the number of problems per monthly from the 1st to the last day of the month for the &lt;STRONG&gt;current month and the last three months&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;I started working on the DQL query but got stuck. Can someone help me complete it?&lt;/P&gt;
&lt;P&gt;fetch dt.davis.problems, from:-4M, to:now()&lt;BR /&gt;| summarize count(), by:{Month= formatTimestamp(timestamp, format:"MM")}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 10:49:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-Monthly-Problems-count/m-p/269145#M1682</guid>
      <dc:creator>Eyad</dc:creator>
      <dc:date>2025-02-10T10:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: DQL Monthly Problems count</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-Monthly-Problems-count/m-p/269149#M1683</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;There is a new getMonth() function coming to DQL in the &lt;A href="https://docs.dynatrace.com/docs/shortlink/release-notes-saas-sprint-307#new-dql-functions" target="_self"&gt;newest SaaS release&lt;/A&gt;. Once that's available in your tenant, the query should be...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.davis.problems, from:-4M, to:now()
| fieldsAdd month = getMonth(timestamp)
| summarize count(), by:{month}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 23:58:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-Monthly-Problems-count/m-p/269149#M1683</guid>
      <dc:creator>Cameron-Leong</dc:creator>
      <dc:date>2025-02-03T23:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: DQL Monthly Problems count</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-Monthly-Problems-count/m-p/269222#M1684</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 13:57:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-Monthly-Problems-count/m-p/269222#M1684</guid>
      <dc:creator>Eyad</dc:creator>
      <dc:date>2025-02-04T13:57:38Z</dc:date>
    </item>
  </channel>
</rss>

