<?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: Update the column value from a previous row in Data Movement &amp; Streaming</title>
    <link>https://community.qlik.com/t5/Data-Movement-Streaming/Update-the-column-value-from-a-previous-row/m-p/2477119#M2589</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/247794"&gt;@Paulo_IntelFab&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which product you´re referring to?&lt;/P&gt;
&lt;P&gt;This forum is for Qlik Cloud Data Integration.&lt;/P&gt;
&lt;P&gt;[],&lt;/P&gt;
&lt;P&gt;Pedro&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2024 19:57:15 GMT</pubDate>
    <dc:creator>pedrobergo</dc:creator>
    <dc:date>2024-08-20T19:57:15Z</dc:date>
    <item>
      <title>Update the column value from a previous row</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Update-the-column-value-from-a-previous-row/m-p/2476899#M2588</link>
      <description>&lt;P&gt;Hi, guys.&amp;nbsp;&lt;BR /&gt;&amp;nbsp;I need to set the downtime value of a machine according to the time where the machine stop occurred.&amp;nbsp;&lt;BR /&gt;&amp;nbsp;My table is something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;TABLE border="1" width="100.00000000000001%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;Shift&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;Interval&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Interval&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Downtime&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;12&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;07:34:34&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;2&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;1234&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;14:12:12&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;398&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;In this case, I need to split the downtime between Shifts 1 and 2 (because most of time stopped was on Shift 1).&amp;nbsp;&lt;BR /&gt;The expected values are something like this:&lt;/P&gt;
&lt;TABLE border="1" width="100.00000000000001%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;Shift&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;Interval&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Interval&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Downtime&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;1&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;12&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;07:34:34&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;386&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;2&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;1234&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;14:12:12&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;12&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I, detecting this change of Shift (using Previous(Shift), &lt;EM&gt;&lt;STRONG&gt;update the last row of the Shift 1?&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;&lt;BR /&gt;I appreciate any help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 21:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Update-the-column-value-from-a-previous-row/m-p/2476899#M2588</guid>
      <dc:creator>Paulo_IntelFab</dc:creator>
      <dc:date>2025-03-19T21:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Update the column value from a previous row</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Update-the-column-value-from-a-previous-row/m-p/2477119#M2589</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/247794"&gt;@Paulo_IntelFab&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which product you´re referring to?&lt;/P&gt;
&lt;P&gt;This forum is for Qlik Cloud Data Integration.&lt;/P&gt;
&lt;P&gt;[],&lt;/P&gt;
&lt;P&gt;Pedro&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 19:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Update-the-column-value-from-a-previous-row/m-p/2477119#M2589</guid>
      <dc:creator>pedrobergo</dc:creator>
      <dc:date>2024-08-20T19:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Update the column value from a previous row</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Update-the-column-value-from-a-previous-row/m-p/2477123#M2592</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/138"&gt;@pedrobergo&lt;/a&gt;&amp;nbsp;. Thanks for replying.&amp;nbsp;&lt;BR /&gt;I'll try on another forum.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 20:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Update-the-column-value-from-a-previous-row/m-p/2477123#M2592</guid>
      <dc:creator>Paulo_IntelFab</dc:creator>
      <dc:date>2024-08-20T20:25:02Z</dc:date>
    </item>
  </channel>
</rss>

