<?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 Data Processing with comand Previous in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-Processing-with-comand-Previous/m-p/199045#M58136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have some production data to be processed.&lt;/P&gt;&lt;P&gt;Each work-order consists of several operations, indicated by a number, which is not necessarily a progressive continuum (eg work-order 100, operations 1,3,8 work-orders 101, operations, 1,5, 7 etc. ). There is a sequence number, which indicates the sequence in which the operations are done in the same work-order.&lt;/P&gt;&lt;P&gt;For each operation I have an end date but no start date. The start date of an operation, however, could be represented by the end date of the previous operation, within the same work-order.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I tried to insert the following statement in the script, but it doesn't work.&lt;BR /&gt;&lt;BR /&gt; OPERATIONS:&lt;BR /&gt; load *&lt;BR /&gt; PREVIOUS (OPERATION_DATA_END) AS OPERATION_DATA_START;&lt;BR /&gt; LOAD *&lt;BR /&gt; FROM OPERATION.QVD (QVD) order by OPERATION_WORK_ORDER, OPERATION_NUMBRE_SEQUENCE;&lt;/P&gt;&lt;P&gt;Someone have any ideas???&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Tiziana&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Feb 2011 10:46:38 GMT</pubDate>
    <dc:creator>tizianacaem</dc:creator>
    <dc:date>2011-02-03T10:46:38Z</dc:date>
    <item>
      <title>Data Processing with comand Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Processing-with-comand-Previous/m-p/199045#M58136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have some production data to be processed.&lt;/P&gt;&lt;P&gt;Each work-order consists of several operations, indicated by a number, which is not necessarily a progressive continuum (eg work-order 100, operations 1,3,8 work-orders 101, operations, 1,5, 7 etc. ). There is a sequence number, which indicates the sequence in which the operations are done in the same work-order.&lt;/P&gt;&lt;P&gt;For each operation I have an end date but no start date. The start date of an operation, however, could be represented by the end date of the previous operation, within the same work-order.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I tried to insert the following statement in the script, but it doesn't work.&lt;BR /&gt;&lt;BR /&gt; OPERATIONS:&lt;BR /&gt; load *&lt;BR /&gt; PREVIOUS (OPERATION_DATA_END) AS OPERATION_DATA_START;&lt;BR /&gt; LOAD *&lt;BR /&gt; FROM OPERATION.QVD (QVD) order by OPERATION_WORK_ORDER, OPERATION_NUMBRE_SEQUENCE;&lt;/P&gt;&lt;P&gt;Someone have any ideas???&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Tiziana&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 10:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Processing-with-comand-Previous/m-p/199045#M58136</guid>
      <dc:creator>tizianacaem</dc:creator>
      <dc:date>2011-02-03T10:46:38Z</dc:date>
    </item>
    <item>
      <title>Data Processing with comand Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Processing-with-comand-Previous/m-p/199046#M58137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tiziana,&lt;/P&gt;&lt;P&gt;The problem in this Order By command, you need to load a resident to use the command Order By, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;TMP_OPERATIONS:&lt;BR /&gt;LOAD *&lt;BR /&gt;FROM OPERATION.QVD (QVD) order by OPERATION_WORK_ORDER,OPERATION_NUMBRE_SEQUENCE;&lt;BR /&gt;OPERATIONS:&lt;BR /&gt;load&lt;BR /&gt;*,&lt;BR /&gt;PREVIOUS (OPERATION_DATA_END) AS OPERATION_DATA_START&lt;BR /&gt;RESIDENT TMP_OPERATIONS&lt;BR /&gt;order by OPERATION_WORK_ORDER,OPERATION_NUMBRE_SEQUENCE;&lt;BR /&gt;drop table TMP_OPERATIONS;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 11:26:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Processing-with-comand-Previous/m-p/199046#M58137</guid>
      <dc:creator />
      <dc:date>2011-02-03T11:26:50Z</dc:date>
    </item>
    <item>
      <title>Data Processing with comand Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Processing-with-comand-Previous/m-p/199047#M58138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, now it work correctly.&lt;/P&gt;&lt;P&gt;I just deleted the order by from the TMP_OPERATIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 12:42:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Processing-with-comand-Previous/m-p/199047#M58138</guid>
      <dc:creator>tizianacaem</dc:creator>
      <dc:date>2011-02-03T12:42:07Z</dc:date>
    </item>
    <item>
      <title>Data Processing with comand Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Processing-with-comand-Previous/m-p/199048#M58139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;I forgot to remove the order by.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 12:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Processing-with-comand-Previous/m-p/199048#M58139</guid>
      <dc:creator />
      <dc:date>2011-02-03T12:50:43Z</dc:date>
    </item>
  </channel>
</rss>

