<?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: Next DQL question/challenge:  how to transpose, like in excel(-; in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Next-DQL-question-challenge-how-to-transpose-like-in-excel/m-p/266501#M1571</link>
    <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;data record(timestamp = 1, location = "Vienna", bookings = 1254),
     record(timestamp = 1, location = "London", bookings = 4564),
     record(timestamp = 2, location = "Vienna", bookings = 1457),
     record(timestamp = 2, location = "London", bookings = 8741),
     record(timestamp = 3, location = "Vienna", bookings = 1654)
| summarize by: timestamp, collectDistinct(location), collectDistinct(bookings)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2025 12:34:09 GMT</pubDate>
    <dc:creator>sia_h</dc:creator>
    <dc:date>2025-01-02T12:34:09Z</dc:date>
    <item>
      <title>Next DQL question/challenge:  how to transpose, like in excel(-;</title>
      <link>https://community.dynatrace.com/t5/DQL/Next-DQL-question-challenge-how-to-transpose-like-in-excel/m-p/266497#M1569</link>
      <description>&lt;P&gt;Happy new year all!1&lt;/P&gt;&lt;P&gt;How do I get from&lt;/P&gt;&lt;P&gt;rec1 value1&lt;/P&gt;&lt;P&gt;rec1 value2&lt;/P&gt;&lt;P&gt;rec2 value3&lt;/P&gt;&lt;P&gt;rec2 value4&lt;/P&gt;&lt;P&gt;to:&lt;/P&gt;&lt;P&gt;rec1 value1 value2&lt;/P&gt;&lt;P&gt;rec2 value3 value4&lt;/P&gt;&lt;P&gt;I have read, but did not quite understand }-;&lt;/P&gt;&lt;P&gt;(&lt;A href="https://community.dynatrace.com/t5/Developer-Q-A-Forum/DQL-DPL-Transposing-Arrays-into-lines/m-p/230638" target="_blank"&gt;Solved: DQL/DPL Transposing Arrays into lines? - Dynatrace Community&lt;/A&gt;)&amp;nbsp;&lt;/P&gt;&lt;P&gt;KR Henk&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 12:10:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Next-DQL-question-challenge-how-to-transpose-like-in-excel/m-p/266497#M1569</guid>
      <dc:creator>henk_stobbe</dc:creator>
      <dc:date>2025-01-02T12:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Next DQL question/challenge:  how to transpose, like in excel(-;</title>
      <link>https://community.dynatrace.com/t5/DQL/Next-DQL-question-challenge-how-to-transpose-like-in-excel/m-p/266501#M1571</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;data record(timestamp = 1, location = "Vienna", bookings = 1254),
     record(timestamp = 1, location = "London", bookings = 4564),
     record(timestamp = 2, location = "Vienna", bookings = 1457),
     record(timestamp = 2, location = "London", bookings = 8741),
     record(timestamp = 3, location = "Vienna", bookings = 1654)
| summarize by: timestamp, collectDistinct(location), collectDistinct(bookings)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 12:34:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Next-DQL-question-challenge-how-to-transpose-like-in-excel/m-p/266501#M1571</guid>
      <dc:creator>sia_h</dc:creator>
      <dc:date>2025-01-02T12:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Next DQL question/challenge:  how to transpose, like in excel(-;</title>
      <link>https://community.dynatrace.com/t5/DQL/Next-DQL-question-challenge-how-to-transpose-like-in-excel/m-p/266504#M1572</link>
      <description>&lt;P&gt;Cool thanks Sia,&lt;/P&gt;&lt;P&gt;To make your answer even more simple:&lt;/P&gt;&lt;P&gt;data record(rec = 1, value =1 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;record(rec = 1, value =2 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; record(rec = 2, value =3 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;record(rec = 2, value =4 )&lt;BR /&gt;| summarize by: rec, collectDistinct(value)&lt;/P&gt;&lt;P&gt;KR Henk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 13:02:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Next-DQL-question-challenge-how-to-transpose-like-in-excel/m-p/266504#M1572</guid>
      <dc:creator>henk_stobbe</dc:creator>
      <dc:date>2025-01-02T13:02:39Z</dc:date>
    </item>
  </channel>
</rss>

