<?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 Store the moment a value changes in a field in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Store-the-moment-a-value-changes-in-a-field/m-p/298990#M3329</link>
    <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;I'm trying to do something with DQL, but I'm not even sure it's possible. To give you some context, I have a DQL query to display Control-M jobs that are retrieved using the following extension:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries { avg(controlm.job.status), value.A = avg(controlm.job.status, scalar: true) }, by: { `dt.entity.controlm:job` }
| lookup sourceField:`dt.entity.controlm:job`, lookupField:id, [
  fetch `dt.entity.controlm:job`
  | fieldsAdd application, description, subapplication, orderdate
]&lt;/LI-CODE&gt;&lt;P&gt;This query displays the status of the jobs as a percentage. For example, a job waiting to pass is at 25%, a job OK is at 100%, etc.&lt;/P&gt;&lt;P&gt;The problem is, there's no field that contains the information about when the job executes and passes (OK or KO). I only have the graph showing the percentage change:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Red_0-1777971140771.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33049iAEA4D6F2BC735639/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Red_0-1777971140771.png" alt="Red_0-1777971140771.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is: is it possible to "store" the hour and minute when the value changed from 25% to 100%? The goal is to have a table, not a graph, displaying the job status and time of each job (like the one below, but with an additional column showing the exact time of each job):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Red_1-1777971186912.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33050i837A99DAF45A59A7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Red_1-1777971186912.png" alt="Red_1-1777971186912.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have any suggestions, I'd appreciate them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Red&lt;/P&gt;</description>
    <pubDate>Tue, 05 May 2026 08:54:09 GMT</pubDate>
    <dc:creator>Red</dc:creator>
    <dc:date>2026-05-05T08:54:09Z</dc:date>
    <item>
      <title>Store the moment a value changes in a field</title>
      <link>https://community.dynatrace.com/t5/DQL/Store-the-moment-a-value-changes-in-a-field/m-p/298990#M3329</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;I'm trying to do something with DQL, but I'm not even sure it's possible. To give you some context, I have a DQL query to display Control-M jobs that are retrieved using the following extension:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries { avg(controlm.job.status), value.A = avg(controlm.job.status, scalar: true) }, by: { `dt.entity.controlm:job` }
| lookup sourceField:`dt.entity.controlm:job`, lookupField:id, [
  fetch `dt.entity.controlm:job`
  | fieldsAdd application, description, subapplication, orderdate
]&lt;/LI-CODE&gt;&lt;P&gt;This query displays the status of the jobs as a percentage. For example, a job waiting to pass is at 25%, a job OK is at 100%, etc.&lt;/P&gt;&lt;P&gt;The problem is, there's no field that contains the information about when the job executes and passes (OK or KO). I only have the graph showing the percentage change:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Red_0-1777971140771.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33049iAEA4D6F2BC735639/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Red_0-1777971140771.png" alt="Red_0-1777971140771.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is: is it possible to "store" the hour and minute when the value changed from 25% to 100%? The goal is to have a table, not a graph, displaying the job status and time of each job (like the one below, but with an additional column showing the exact time of each job):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Red_1-1777971186912.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33050i837A99DAF45A59A7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Red_1-1777971186912.png" alt="Red_1-1777971186912.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have any suggestions, I'd appreciate them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Red&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2026 08:54:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Store-the-moment-a-value-changes-in-a-field/m-p/298990#M3329</guid>
      <dc:creator>Red</dc:creator>
      <dc:date>2026-05-05T08:54:09Z</dc:date>
    </item>
  </channel>
</rss>

