<?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: Calculate difference between Timestamps with above in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044156#M926841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Updating to QV12 is not a option for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Mar 2016 16:19:02 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-03-22T16:19:02Z</dc:date>
    <item>
      <title>Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044147#M926832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the difference between 2 times based on the field SSCC_OUT.&lt;/P&gt;&lt;P&gt;I have 2 fields with a Time Stamp but the are identical on the same row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;SSCC_OUT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StartingTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndingTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time_Diff&lt;/P&gt;&lt;P&gt;112345030000034095&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22:10:27&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22:10:27&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:00&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;112345030000034095&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22:11:10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22:11:10&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of what I would like it to be:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;SSCC_OUT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StartingTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndingTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time_Diff&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;112345030000034095&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22:10:27&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22:10:27&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:00&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;112345030000034095&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22:11:10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22:11:10&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:43&amp;nbsp; (difference with the above function)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a qvw with my efforts on the above() function and so far the result stays 00:00:00&lt;/P&gt;&lt;P&gt;Can anybody help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Monique&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/Calculate-difference-between-Timestamps-with-above/m-p/1044147#M926832</guid>
      <dc:creator>amber2000</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044148#M926833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/437410#437410" title="https://community.qlik.com/message/437410#437410"&gt;https://community.qlik.com/message/437410#437410&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 12:48:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044148#M926833</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-03-22T12:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044149#M926834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Time(rangesum(StartingTime - Aggr(Above(StartingTime), SSCC_OUT, StartingTime)), 'hh:mm:ss')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 13:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044149#M926834</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-22T13:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044150#M926835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sorry that my answer comes so late, I was testing your expression on a whole lot more data then I've send before.&lt;/P&gt;&lt;P&gt;It's there that I see something is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll send a new attach so you can see for yourself.&lt;/P&gt;&lt;P&gt;Every expression you've tried seems to give wrong results as I use it on my original data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Monique&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 14:34:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044150#M926835</guid>
      <dc:creator>amber2000</dc:creator>
      <dc:date>2016-03-22T14:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044151#M926836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if you are using QV 12 or not, but this can work if you are using QV 12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Time(RangeSum(StartingTime - Aggr(Above(StartingTime), (SSCC_OUT,&amp;nbsp; (TEXT)), (StartingTime, (NUMERIC)))), 'hh:mm:ss')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 14:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044151#M926836</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-22T14:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044152#M926837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using version 11.20 SR10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't see your changes, the functions TEXT and NUMERIC don't seem to be recognized.&lt;/P&gt;&lt;P&gt;Isn't there something else for QV 11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Monique&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 15:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044152#M926837</guid>
      <dc:creator>amber2000</dc:creator>
      <dc:date>2016-03-22T15:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044153#M926838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a new introduction, included in QV 12. For this to work in version before QV 12, you will need to Sort your date correctly in the load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the output, I was seeing using the expression I gave you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118995_Capture.PNG" style="height: 198px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although the expression editor shows me the error, I do get the output I am expecting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/118996_Capture.PNG" style="height: 132px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To read about this new syntax, read here: &lt;A href="https://community.qlik.com/qlik-blogpost/4673"&gt;The sortable Aggr function is finally here!&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that Aggr function sorts by the load order and you can fix the sort order in the script to fix the issue, or you need to have QV12 to fix it in the expression itself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 15:45:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044153#M926838</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-22T15:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044154#M926839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's hopeless, it's not working as you can see.&lt;/P&gt;&lt;P&gt;Where in the script can I fix the sorting issue?&amp;nbsp; In the sort tab of the pivot table I put SSCC_OUT first and StartingTime second.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Above.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119002_Above.png" style="height: 335px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sort tab:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Above with sort for Aggr.png" class="jive-image image-2" src="/legacyfs/online/119003_Above with sort for Aggr.png" style="height: 281px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 16:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044154#M926839</guid>
      <dc:creator>amber2000</dc:creator>
      <dc:date>2016-03-22T16:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044155#M926840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is not going to help. Fix will have to be made in the script where you will have to use Order By Statement in a resident load to make sure that load order is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By SSCC_OUT, StartingTime;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the pivot table itself is not going to work as far as I know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 16:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044155#M926840</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-22T16:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044156#M926841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Updating to QV12 is not a option for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 16:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044156#M926841</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-22T16:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044157#M926842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For this I'm working with an personal edition&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 16:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044157#M926842</guid>
      <dc:creator>amber2000</dc:creator>
      <dc:date>2016-03-22T16:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044158#M926843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update to personal edition QV12?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 16:22:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044158#M926843</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-22T16:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044159#M926844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please advise me on where I shall put the order by in this piece of loadscript:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prod:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pickDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pickUser,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pickType,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; casesPickedSum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PiecesPickedSum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pickingLinesCount,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time(StartingTime) AS StartingTime,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time(EndingTime) AS EndingTime,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SSCC_OUT&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is '\t', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Monique&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 16:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044159#M926844</guid>
      <dc:creator>amber2000</dc:creator>
      <dc:date>2016-03-22T16:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044160#M926845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Where is this field -&amp;gt; &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SSCC_OUT?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 16:27:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044160#M926845</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-22T16:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044161#M926846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forgot to copy it, Now it's there&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 16:30:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044161#M926846</guid>
      <dc:creator>amber2000</dc:creator>
      <dc:date>2016-03-22T16:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044162#M926847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;LOAD pickDate, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pickUser, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pickType, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; casesPickedSum, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PiecesPickedSum, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pickingLinesCount, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; time(StartingTime) as &lt;SPAN style="color: #ff0000;"&gt;StartingTimeTemp&lt;/SPAN&gt;, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; time(EndingTime) as EndingTime, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Assortment, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PickingLineID, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;SSCC_OUT as SSCC_OUT_Temp,&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArticleID, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Store, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Article_Desc&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;[Picking lines van Del_Day 15-17032016.xlsx]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;pickDate, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pickUser, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pickType, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; casesPickedSum, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PiecesPickedSum, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pickingLinesCount, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;StartingTimeTemp as StartingTime,&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; time(EndingTime) as EndingTime, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Assortment, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PickingLineID, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt; SSCC_OUT_Temp as SSCC_OUT,&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArticleID, &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Store, &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Article_Desc&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Order By SSCC_OUT_Temp, StartingTimeTemp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 16:31:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044162#M926847</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-22T16:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044163#M926848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Slowly I'm getting there thanks to you, the Expression now provides a value in the table &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; &lt;/P&gt;&lt;P&gt;There is still a problem with the calculation of the time difference, the values are completely wrong.&lt;/P&gt;&lt;P&gt;Between the first 2 the difference should be 00:03:16 instead of 00:00:46 ? &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Wrong TimeDiff Calculation.png" class="jive-image image-1" src="/legacyfs/online/119004_Wrong TimeDiff Calculation.png" style="height: 249px; width: 620px;" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 16:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044163#M926848</guid>
      <dc:creator>amber2000</dc:creator>
      <dc:date>2016-03-22T16:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044164#M926849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share this newly refreshed application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 16:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044164#M926849</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-22T16:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044165#M926850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I'm losing my mind, It's not working at all in QV 11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screenshot came from a QV 12 to test for both solutions. The version 12 I can't use because it's on another Server that's not (and never will be) connected to this datasource.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attach is from version 11&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 17:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044165#M926850</guid>
      <dc:creator>amber2000</dc:creator>
      <dc:date>2016-03-22T17:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate difference between Timestamps with above</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044166#M926851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks ok to me using as expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(Above(StartingTime), SSCC_OUT,StartingTime)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and your changed script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to validate the data, you need to sort your table also by SSCC_OUT and StartingTime (which it's not sorted by StartingTime in your screenshot).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;Attached QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 17:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-difference-between-Timestamps-with-above/m-p/1044166#M926851</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-22T17:29:00Z</dc:date>
    </item>
  </channel>
</rss>

