<?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 Search next Customer Order Date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Search-next-Customer-Order-Date/m-p/1679172#M51659</link>
    <description>&lt;P&gt;Hello Everybody.&lt;/P&gt;&lt;P&gt;I need to search the next customer order date and put it in the Order Table and I cannot found an efficient way to do in the Load Script.&lt;/P&gt;&lt;P&gt;Its necessary do this in the load editor because from this table I need to do other actions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The order table is:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="24px"&gt;CUSTOMER ID&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="24px"&gt;ORDER ID&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="24px"&gt;ORDER DATE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="24px"&gt;A&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="24px"&gt;1&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="24px"&gt;01/01/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="24px"&gt;B&lt;/TD&gt;&lt;TD height="24px"&gt;2&lt;/TD&gt;&lt;TD height="24px"&gt;01/01/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="24px"&gt;A&lt;/TD&gt;&lt;TD height="24px"&gt;3&lt;/TD&gt;&lt;TD height="24px"&gt;03/01/2020&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Goal is&lt;/P&gt;&lt;TABLE border="1" width="576px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="191.2px" height="24px"&gt;CUSTOMER ID&lt;/TD&gt;&lt;TD width="192px" height="24px"&gt;ORDER ID&lt;/TD&gt;&lt;TD width="96px" height="24px"&gt;ORDER DATE&lt;/TD&gt;&lt;TD width="96px"&gt;NEXT ORDER DATE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="191.2px" height="24px"&gt;A&lt;/TD&gt;&lt;TD width="192px" height="24px"&gt;1&lt;/TD&gt;&lt;TD width="96px" height="24px"&gt;01/01/2020&lt;/TD&gt;&lt;TD width="96px"&gt;03/01/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="191.2px" height="24px"&gt;B&lt;/TD&gt;&lt;TD width="192px" height="24px"&gt;2&lt;/TD&gt;&lt;TD width="96px" height="24px"&gt;01/01/2020&lt;/TD&gt;&lt;TD width="96px"&gt;na&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="191.2px" height="24px"&gt;A&lt;/TD&gt;&lt;TD width="192px" height="24px"&gt;3&lt;/TD&gt;&lt;TD width="96px" height="24px"&gt;03/01/2020&lt;/TD&gt;&lt;TD width="96px"&gt;na&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Feb 2020 17:46:29 GMT</pubDate>
    <dc:creator>Boseca</dc:creator>
    <dc:date>2020-02-25T17:46:29Z</dc:date>
    <item>
      <title>Search next Customer Order Date</title>
      <link>https://community.qlik.com/t5/App-Development/Search-next-Customer-Order-Date/m-p/1679172#M51659</link>
      <description>&lt;P&gt;Hello Everybody.&lt;/P&gt;&lt;P&gt;I need to search the next customer order date and put it in the Order Table and I cannot found an efficient way to do in the Load Script.&lt;/P&gt;&lt;P&gt;Its necessary do this in the load editor because from this table I need to do other actions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The order table is:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="24px"&gt;CUSTOMER ID&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="24px"&gt;ORDER ID&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="24px"&gt;ORDER DATE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="24px"&gt;A&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="24px"&gt;1&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="24px"&gt;01/01/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="24px"&gt;B&lt;/TD&gt;&lt;TD height="24px"&gt;2&lt;/TD&gt;&lt;TD height="24px"&gt;01/01/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="24px"&gt;A&lt;/TD&gt;&lt;TD height="24px"&gt;3&lt;/TD&gt;&lt;TD height="24px"&gt;03/01/2020&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Goal is&lt;/P&gt;&lt;TABLE border="1" width="576px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="191.2px" height="24px"&gt;CUSTOMER ID&lt;/TD&gt;&lt;TD width="192px" height="24px"&gt;ORDER ID&lt;/TD&gt;&lt;TD width="96px" height="24px"&gt;ORDER DATE&lt;/TD&gt;&lt;TD width="96px"&gt;NEXT ORDER DATE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="191.2px" height="24px"&gt;A&lt;/TD&gt;&lt;TD width="192px" height="24px"&gt;1&lt;/TD&gt;&lt;TD width="96px" height="24px"&gt;01/01/2020&lt;/TD&gt;&lt;TD width="96px"&gt;03/01/2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="191.2px" height="24px"&gt;B&lt;/TD&gt;&lt;TD width="192px" height="24px"&gt;2&lt;/TD&gt;&lt;TD width="96px" height="24px"&gt;01/01/2020&lt;/TD&gt;&lt;TD width="96px"&gt;na&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="191.2px" height="24px"&gt;A&lt;/TD&gt;&lt;TD width="192px" height="24px"&gt;3&lt;/TD&gt;&lt;TD width="96px" height="24px"&gt;03/01/2020&lt;/TD&gt;&lt;TD width="96px"&gt;na&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 17:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Search-next-Customer-Order-Date/m-p/1679172#M51659</guid>
      <dc:creator>Boseca</dc:creator>
      <dc:date>2020-02-25T17:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Search next Customer Order Date</title>
      <link>https://community.qlik.com/t5/App-Development/Search-next-Customer-Order-Date/m-p/1679179#M51660</link>
      <description>&lt;P&gt;find some inspiration here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/autonumber-for-client-id-x-order-id/m-p/1678259#M386765" target="_blank"&gt;https://community.qlik.com/t5/New-to-QlikView/autonumber-for-client-id-x-order-id/m-p/1678259#M386765&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(sort your table by customer and by date descending; then something like if previous customer&amp;lt;&amp;gt;customer,'na',previous(order date)) as next order date&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 18:09:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Search-next-Customer-Order-Date/m-p/1679179#M51660</guid>
      <dc:creator>mikaelsc</dc:creator>
      <dc:date>2020-02-25T18:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Search next Customer Order Date</title>
      <link>https://community.qlik.com/t5/App-Development/Search-next-Customer-Order-Date/m-p/1679564#M51691</link>
      <description>&lt;P&gt;You are a master!&lt;/P&gt;&lt;P&gt;If anyone need its here find the script used (the group by is because the sales contain the Items inside):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LEFT JOIN (SALES)&lt;BR /&gt;LOAD ORDER_ID&lt;BR /&gt;,if(Previous(CUSTOMER_ID)&amp;lt;&amp;gt;CUSTOMER_ID,date#('31/12/2999'),Previous(ORDER_DATE )) as NEXT_ORDER_DATE ;&lt;BR /&gt;LOAD ORDER_ID, FirstValue(CUSTOMER_ID) AS CUSTOMER_ID, FirstValue(ORDER_DATE ) AS ORDER_DATE&lt;BR /&gt;Resident SALES&lt;BR /&gt;Group By ORDER_ID&lt;BR /&gt;ORDER BY CUSTOMER_ID DESC, ORDER_DATE DESC;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 16:35:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Search-next-Customer-Order-Date/m-p/1679564#M51691</guid>
      <dc:creator>Boseca</dc:creator>
      <dc:date>2020-02-26T16:35:14Z</dc:date>
    </item>
  </channel>
</rss>

