<?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 Incremental update on two dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-update-on-two-dates/m-p/146171#M24768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming you want only one row per order, the key should be the single field ORDER_CDE. You can also do away with the PK hashing and just refer to ORDER_CDE in the exists().&lt;/P&gt;&lt;P&gt;As for selecting a row if either table is updated, how about this for your incremental expression:&lt;/P&gt;&lt;P&gt;(o.LAST_UPDATED&amp;gt;='01/Jan/09' OR ot.LAST_UPDATED&amp;gt;='01/Jan/09)&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2009 04:02:33 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2009-06-09T04:02:33Z</dc:date>
    <item>
      <title>Incremental update on two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-update-on-two-dates/m-p/146169#M24766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for a little guidance on the an incremental update problem. I am using Rob's template from his cookbook. My issue is that I have to join multiple tables and check if any of the tables have been updated. I have a record on every table named last_updated. If anything in the record changes this date changes.&lt;/P&gt;&lt;P&gt;I have an order and an order track table. I need to update the record if either of the last updated date changes on either of these tables. This seems pretty straight foward maybe this have been solved before.&lt;/P&gt;&lt;P&gt;Would one option be to concat both dates and the order code to use as a key? Any suggestion will help&lt;/P&gt;&lt;P&gt;I would gladly post my script and application but I am unsure how to attach a file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 21:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-update-on-two-dates/m-p/146169#M24766</guid>
      <dc:creator />
      <dc:date>2009-06-08T21:57:33Z</dc:date>
    </item>
    <item>
      <title>Incremental update on two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-update-on-two-dates/m-p/146170#M24767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the application with the load script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 23:42:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-update-on-two-dates/m-p/146170#M24767</guid>
      <dc:creator />
      <dc:date>2009-06-08T23:42:04Z</dc:date>
    </item>
    <item>
      <title>Incremental update on two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-update-on-two-dates/m-p/146171#M24768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming you want only one row per order, the key should be the single field ORDER_CDE. You can also do away with the PK hashing and just refer to ORDER_CDE in the exists().&lt;/P&gt;&lt;P&gt;As for selecting a row if either table is updated, how about this for your incremental expression:&lt;/P&gt;&lt;P&gt;(o.LAST_UPDATED&amp;gt;='01/Jan/09' OR ot.LAST_UPDATED&amp;gt;='01/Jan/09)&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 04:02:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-update-on-two-dates/m-p/146171#M24768</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-06-09T04:02:33Z</dc:date>
    </item>
    <item>
      <title>Incremental update on two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-update-on-two-dates/m-p/146172#M24769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob this makes more sense, I will try to work something up with this and post back.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 19:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-update-on-two-dates/m-p/146172#M24769</guid>
      <dc:creator />
      <dc:date>2009-06-09T19:29:50Z</dc:date>
    </item>
  </channel>
</rss>

