<?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 load when composite key in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-load-when-composite-key/m-p/295758#M710418</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;/P&gt;&lt;P&gt;The second load statement should be as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate ($(tableName))&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; name&amp;amp;surname as $(primaryKeyColumn),&lt;/P&gt;&lt;P&gt;&amp;nbsp; name,&lt;/P&gt;&lt;P&gt;&amp;nbsp; surname,&lt;/P&gt;&lt;P&gt;&amp;nbsp; `modified_date`&lt;/P&gt;&lt;P&gt;From $(qvdPath)$(tableName).qvd (qvd)&lt;/P&gt;&lt;P&gt;Where not Exists($(primaryKeyColumn),name&amp;amp;surname);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2011 08:26:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-24T08:26:44Z</dc:date>
    <item>
      <title>Incremental load when composite key</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-when-composite-key/m-p/295757#M710417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to do an incremental load for a table having composite key. I create a primary_key while loading the incremental portion and also create a primary_key while loading from the qvd. The where not exists(primary_key) check gives the 'Field not found' error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(tableName):&lt;/P&gt;&lt;P&gt;LOAD name&amp;amp;surname as $(primaryKeyColumn),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; surname, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `modified_date`;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM `qv_test`.names&lt;/P&gt;&lt;P&gt;Where $(lastModifiedColumn) &amp;gt; '$(startDate)' and $(lastModifiedColumn) &amp;lt; '$(endDate)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate ($(tableName))&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; name&amp;amp;surname as $(primaryKeyColumn),&lt;/P&gt;&lt;P&gt;&amp;nbsp; name,&lt;/P&gt;&lt;P&gt;&amp;nbsp; surname,&lt;/P&gt;&lt;P&gt;&amp;nbsp; `modified_date`&lt;/P&gt;&lt;P&gt;From $(qvdPath)$(tableName).qvd (qvd)&lt;/P&gt;&lt;P&gt;Where not (Exists($(primaryKeyColumn)));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me with how to get incremental load when there is a composite key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 08:04:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-when-composite-key/m-p/295757#M710417</guid>
      <dc:creator />
      <dc:date>2011-08-24T08:04:30Z</dc:date>
    </item>
    <item>
      <title>Incremental load when composite key</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-when-composite-key/m-p/295758#M710418</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;/P&gt;&lt;P&gt;The second load statement should be as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate ($(tableName))&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; name&amp;amp;surname as $(primaryKeyColumn),&lt;/P&gt;&lt;P&gt;&amp;nbsp; name,&lt;/P&gt;&lt;P&gt;&amp;nbsp; surname,&lt;/P&gt;&lt;P&gt;&amp;nbsp; `modified_date`&lt;/P&gt;&lt;P&gt;From $(qvdPath)$(tableName).qvd (qvd)&lt;/P&gt;&lt;P&gt;Where not Exists($(primaryKeyColumn),name&amp;amp;surname);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 08:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-when-composite-key/m-p/295758#M710418</guid>
      <dc:creator />
      <dc:date>2011-08-24T08:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental load when composite key</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-load-when-composite-key/m-p/1757453#M710419</link>
      <description>&lt;P&gt;How do you perform inner join based on which key you have used to remove duplicates for delete logic. Can you the qlikview script file please if possible&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 23:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-load-when-composite-key/m-p/1757453#M710419</guid>
      <dc:creator>Anuhyak1</dc:creator>
      <dc:date>2020-10-30T23:24:38Z</dc:date>
    </item>
  </channel>
</rss>

