<?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: Linking time interval between stop_timestamp and next start_timestamp in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Linking-time-interval-between-stop-timestamp-and-next-start/m-p/74860#M788965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, why don't you do it at a script level? You could use the Peek function to obtain the value from order ABC and then you can store in a separate field in order 123&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tend to find that working on the data model makes it easier rather than working on the charts&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Feb 2018 16:46:09 GMT</pubDate>
    <dc:creator>lorenzoconforti</dc:creator>
    <dc:date>2018-02-08T16:46:09Z</dc:date>
    <item>
      <title>Linking time interval between stop_timestamp and next start_timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-time-interval-between-stop-timestamp-and-next-start/m-p/74859#M788964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Goodmorning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our warehouse, employees pickup goods from location X and bring them to location Y.&lt;/P&gt;&lt;P&gt;When they start with such an Order, a Start_Timestamp is generated and assigned to that specific Order.&lt;/P&gt;&lt;P&gt;When the Order is brought to location Y, a Stop_Timestamp is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say Order_123 started at 18:37:46 and stopped at 18:39:57 = 131 seconds&lt;/P&gt;&lt;P&gt;Next order = Order_ABCD, started at 18:40:31&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want that the time between stopping Order_123 and starting Order_ABCD will be added to the 'previous' Order_123 (under a special label, e.g. 'walking back time').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when selecting Order_123 in qlikview, I want to see a field with 131 seconds 'processing' + another field with 34 seconds 'walking back time'. (Maybe also the timestamp 18:40:31 as ultimate_Timestamp of this order.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Per employee thousands of this orders per month).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-time-interval-between-stop-timestamp-and-next-start/m-p/74859#M788964</guid>
      <dc:creator>jharke</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Linking time interval between stop_timestamp and next start_timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-time-interval-between-stop-timestamp-and-next-start/m-p/74860#M788965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, why don't you do it at a script level? You could use the Peek function to obtain the value from order ABC and then you can store in a separate field in order 123&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tend to find that working on the data model makes it easier rather than working on the charts&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 16:46:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-time-interval-between-stop-timestamp-and-next-start/m-p/74860#M788965</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2018-02-08T16:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Linking time interval between stop_timestamp and next start_timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-time-interval-between-stop-timestamp-and-next-start/m-p/74861#M788966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for putting me in the correct direction.&lt;/P&gt;&lt;P&gt;Also thanks to Stefan Wühl in: &lt;A href="https://community.qlikview.com/thread/34196" title="https://community.qlikview.com/thread/34196"&gt;How to find previous and next record from a table? | Qlik Community&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to use PEEK and then order &lt;SPAN style="text-decoration: underline;"&gt;DESCENDING&lt;/SPAN&gt; in order to find the NEXT value in an &lt;SPAN style="text-decoration: underline;"&gt;ascending&lt;/SPAN&gt; ordered list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For those who want an example, see attached.&lt;/P&gt;&lt;P&gt;Also note here again as well in other threads: Order By is not possible when loading a QVD or Excel: then you have to use a Resident Load (as in Example).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 14:25:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-time-interval-between-stop-timestamp-and-next-start/m-p/74861#M788966</guid>
      <dc:creator>jharke</dc:creator>
      <dc:date>2018-02-09T14:25:01Z</dc:date>
    </item>
  </channel>
</rss>

