<?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 How to create a line graph comparing this week and last week in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/How-to-create-a-line-graph-comparing-this-week-and-last-week/m-p/290001#M5595</link>
    <description>&lt;P&gt;I created the following DQL to generate this graph.&lt;BR /&gt;It adds and removes fields within the timeframe.&lt;BR /&gt;Is there a more efficient way to achieve this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;timeseries req_now=avg(dt.service.request.response_time),timeframe:"2025-11-21T12:00:00+0900/2025-11-21T15:00:00+0900"&lt;BR /&gt;| fields interval, req_now&lt;BR /&gt;| fieldsAdd timeframe = timeframe(from:"2025-11-14T12:00:00+0900",to:"2025-11-14T15:00:00+0900" )&lt;BR /&gt;| append [&lt;BR /&gt;timeseries {req_old=avg(dt.service.request.response_time),timeframe:"2025-11-14T12:00:00+0900/2025-11-14T15:00:00+0900"}&lt;BR /&gt;]&lt;/P&gt;</description>
    <pubDate>Tue, 30 Dec 2025 14:45:16 GMT</pubDate>
    <dc:creator>Taihei</dc:creator>
    <dc:date>2025-12-30T14:45:16Z</dc:date>
    <item>
      <title>How to create a line graph comparing this week and last week</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/How-to-create-a-line-graph-comparing-this-week-and-last-week/m-p/290001#M5595</link>
      <description>&lt;P&gt;I created the following DQL to generate this graph.&lt;BR /&gt;It adds and removes fields within the timeframe.&lt;BR /&gt;Is there a more efficient way to achieve this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;timeseries req_now=avg(dt.service.request.response_time),timeframe:"2025-11-21T12:00:00+0900/2025-11-21T15:00:00+0900"&lt;BR /&gt;| fields interval, req_now&lt;BR /&gt;| fieldsAdd timeframe = timeframe(from:"2025-11-14T12:00:00+0900",to:"2025-11-14T15:00:00+0900" )&lt;BR /&gt;| append [&lt;BR /&gt;timeseries {req_old=avg(dt.service.request.response_time),timeframe:"2025-11-14T12:00:00+0900/2025-11-14T15:00:00+0900"}&lt;BR /&gt;]&lt;/P&gt;</description>
      <pubDate>Tue, 30 Dec 2025 14:45:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/How-to-create-a-line-graph-comparing-this-week-and-last-week/m-p/290001#M5595</guid>
      <dc:creator>Taihei</dc:creator>
      <dc:date>2025-12-30T14:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: I want to know how to create line graph comparing "this week" and "last week".</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/How-to-create-a-line-graph-comparing-this-week-and-last-week/m-p/290002#M5596</link>
      <description>&lt;P&gt;&lt;U&gt;For last week:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;| fieldsAdd startTime=-1w@w, endTime=@w-1s&lt;/STRONG&gt;&lt;BR /&gt;| fieldsAdd startTime=formatTimestamp(startTime, format:"MMM-dd-yyyy")&lt;BR /&gt;| fieldsAdd endTime=formatTimestamp(endTime, format:"MMM-dd-yyyy")&lt;BR /&gt;| fieldsAdd WeekNumber = getWeekOfYear(-1w@w)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;For current week:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;| fieldsAdd startTime=@w, endTime=now()&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2025 07:18:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/How-to-create-a-line-graph-comparing-this-week-and-last-week/m-p/290002#M5596</guid>
      <dc:creator>waikeat_chan</dc:creator>
      <dc:date>2025-11-21T07:18:12Z</dc:date>
    </item>
  </channel>
</rss>

