<?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: Creating a time series from static data in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Creating-a-time-series-from-static-data/m-p/280805#M2252</link>
    <description>&lt;P&gt;Hi Akhil,&lt;/P&gt;&lt;P&gt;Many thx this should be fine.&lt;/P&gt;&lt;P&gt;Kr&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jul 2025 09:53:18 GMT</pubDate>
    <dc:creator>ian_molyneaux1</dc:creator>
    <dc:date>2025-07-04T09:53:18Z</dc:date>
    <item>
      <title>Creating a time series from static data</title>
      <link>https://community.dynatrace.com/t5/DQL/Creating-a-time-series-from-static-data/m-p/280397#M2241</link>
      <description>&lt;P&gt;Hi, If I have the following data record structure how can I create a timeseries from the content?&lt;/P&gt;&lt;P&gt;I just want to display each value in a bar graph - the timeseries interval is irrelevant in this case.&lt;/P&gt;&lt;P&gt;data record (D1 = toDouble($Day1),&lt;BR /&gt;D2 = toDouble($Day2),&lt;BR /&gt;D3 = toDouble($Day3),D4 = toDouble($Day4),D5 = toDouble($Day5),&lt;BR /&gt;D6 = toDouble($Day6),D7 = toDouble($Day7),D8 = toDouble($Day8),&lt;BR /&gt;D9 = toDouble($Day9),D10 = toDouble($Day10),D11 = toDouble($Day11),&lt;BR /&gt;D12 = toDouble($Day12),D13 = toDouble($Day13),D14 = toDouble($Day14),&lt;BR /&gt;D15 = toDouble($Day15),D16 = toDouble($Day16),D17 = toDouble($Day17),&lt;BR /&gt;D18 = toDouble($Day18),D19 = toDouble($Day19),D20 = toDouble($Day20),&lt;BR /&gt;D21 = toDouble($Day21),D22 = toDouble($Day22),D23 = toDouble($Day23),&lt;BR /&gt;D24 = toDouble($Day24),D25 = toDouble($Day25),D26 = toDouble($Day26),&lt;BR /&gt;D27 = toDouble($Day27),D28 = toDouble($Day28),D29 = toDouble($Day29),&lt;BR /&gt;D30 = toDouble($Day30),D31 = toDouble($Day31))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KR Ian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jun 2025 09:14:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Creating-a-time-series-from-static-data/m-p/280397#M2241</guid>
      <dc:creator>ian_molyneaux1</dc:creator>
      <dc:date>2025-06-29T09:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a time series from static data</title>
      <link>https://community.dynatrace.com/t5/DQL/Creating-a-time-series-from-static-data/m-p/280488#M2242</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/11183"&gt;@ian_molyneaux1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can’t you just show the data in a bar chart like this, without converting it into a time series? I think you’re trying to display the count for each day as bars, right?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-30 at 5.46.42 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28754i7332ECDECD78E2A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-06-30 at 5.46.42 PM.png" alt="Screenshot 2025-06-30 at 5.46.42 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;data record(D = toDouble(15),timestamp = toTimestamp("2025-06-01T09:30:00.000-0400")),
record(D = toDouble(10),timestamp = toTimestamp("2025-06-02T09:30:00.000-0400")),
record(D = toDouble(12),timestamp = toTimestamp("2025-06-03T09:30:00.000-0400")),
record(D = toDouble(14),timestamp = toTimestamp("2025-06-04T09:30:00.000-0400")),
record(D = toDouble(8),timestamp = toTimestamp("2025-06-05T09:30:00.000-0400")),
record(D = toDouble(23),timestamp = toTimestamp("2025-06-06T09:30:00.000-0400")),
record(D = toDouble(67),timestamp = toTimestamp("2025-06-07T09:30:00.000-0400")),
record(D = toDouble(1),timestamp = toTimestamp("2025-06-08T09:30:00.000-0400")),
record(D = toDouble(34),timestamp = toTimestamp("2025-06-09T09:30:00.000-0400")),
record(D = toDouble(2),timestamp = toTimestamp("2025-06-10T09:30:00.000-0400"))
| summarize day_count = sum(D), by: {`interval` = bin(timestamp,24h)}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 22:50:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Creating-a-time-series-from-static-data/m-p/280488#M2242</guid>
      <dc:creator>Akhil-Jayendran</dc:creator>
      <dc:date>2025-06-30T22:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a time series from static data</title>
      <link>https://community.dynatrace.com/t5/DQL/Creating-a-time-series-from-static-data/m-p/280805#M2252</link>
      <description>&lt;P&gt;Hi Akhil,&lt;/P&gt;&lt;P&gt;Many thx this should be fine.&lt;/P&gt;&lt;P&gt;Kr&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 09:53:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Creating-a-time-series-from-static-data/m-p/280805#M2252</guid>
      <dc:creator>ian_molyneaux1</dc:creator>
      <dc:date>2025-07-04T09:53:18Z</dc:date>
    </item>
  </channel>
</rss>

