<?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: Correlate two results in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Correlate-Multiple-Query-Results-with-Dynatrace-DQL/m-p/238532#M687</link>
    <description>&lt;P&gt;This works well, but one of the problems is that we need to store this data in metrics.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Feb 2024 16:18:28 GMT</pubDate>
    <dc:creator>wellpplava</dc:creator>
    <dc:date>2024-02-29T16:18:28Z</dc:date>
    <item>
      <title>Correlate Multiple Query Results with Dynatrace DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Correlate-Multiple-Query-Results-with-Dynatrace-DQL/m-p/238524#M685</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;I need to relate two events.&lt;/P&gt;
&lt;P&gt;I have logs of two events:&lt;BR /&gt;1. Errors in my store cart (contains customer ID)&lt;BR /&gt;2. Checkout in my cart (contains customer ID)&lt;/P&gt;
&lt;P&gt;I need two views:&lt;BR /&gt;1. Customers who completed their purchase but had errors in their cart&lt;BR /&gt;2. Customers who had an error but did not complete the purchase.&lt;/P&gt;
&lt;P&gt;I thought of two methods:&lt;/P&gt;
&lt;P&gt;Create a log extraction metric for each action (cart error and checkout), using the customer ID as a dimension. But I don't know how I can relate it in the data explorer to get the visualization I need.&lt;/P&gt;
&lt;P&gt;The second method would be to create a single metric that stores both logs (cart error and checkout), using the customer ID as a dimension. But I also don't know how I can relate in data explorer.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2025 09:18:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Correlate-Multiple-Query-Results-with-Dynatrace-DQL/m-p/238524#M685</guid>
      <dc:creator>wellpplava</dc:creator>
      <dc:date>2025-12-19T09:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Correlate two results</title>
      <link>https://community.dynatrace.com/t5/DQL/Correlate-Multiple-Query-Results-with-Dynatrace-DQL/m-p/238531#M686</link>
      <description>&lt;P&gt;If you're on SaaS, try doing it using DQL instead straight into the new dashboards. This might be helpful:&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/correlation-and-join-commands#join" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/correlation-and-join-commands#join&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/correlation-and-join-commands#lookup" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/correlation-and-join-commands#lookup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Using a join or lookup, you should be able to merge those two into one record, something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch logs
| filter isNotNull(dt.entity.host)
| lookup sourceField:dt.entity.host, lookupField:id, prefix:"host.", [ fetch dt.entity.host | fields id, os = osType ]
| limit 10&lt;/LI-CODE&gt;&lt;P&gt;Here's additional documentation on GRAIL on the latest Dashboards:&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/dashboard-component-data" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/dashboard-component-data&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 16:16:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Correlate-Multiple-Query-Results-with-Dynatrace-DQL/m-p/238531#M686</guid>
      <dc:creator>Eric_Yu</dc:creator>
      <dc:date>2024-02-29T16:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Correlate two results</title>
      <link>https://community.dynatrace.com/t5/DQL/Correlate-Multiple-Query-Results-with-Dynatrace-DQL/m-p/238532#M687</link>
      <description>&lt;P&gt;This works well, but one of the problems is that we need to store this data in metrics.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 16:18:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Correlate-Multiple-Query-Results-with-Dynatrace-DQL/m-p/238532#M687</guid>
      <dc:creator>wellpplava</dc:creator>
      <dc:date>2024-02-29T16:18:28Z</dc:date>
    </item>
  </channel>
</rss>

