<?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 Merge two incrementaly load table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Merge-two-incrementaly-load-table/m-p/311990#M115155</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;use this expression in Ur Script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FieldA&amp;amp;'-'&amp;amp;FieldB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Perumal A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Feb 2012 11:09:42 GMT</pubDate>
    <dc:creator>perumal_41</dc:creator>
    <dc:date>2012-02-10T11:09:42Z</dc:date>
    <item>
      <title>Merge two incrementaly load table</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-two-incrementaly-load-table/m-p/311988#M115153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two database table that I want load incrementally each days. I have already use incremental qvd process to load the two tables using a classic Auto Incremant primary key an a filed UpdateDate on each database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want now merge these tables in one QlikView table. For information I must do incremental load with QVD files because I have more than 30 000 000 lines in my tables updtated each days, so all lines reload take too much time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table are like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table A:&lt;/P&gt;&lt;P&gt;PKAutoIncremented&lt;/P&gt;&lt;P&gt;UpdateDate&lt;/P&gt;&lt;P&gt;FieldA&lt;/P&gt;&lt;P&gt;FieldB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table B:&lt;/P&gt;&lt;P&gt;PKAutoIncremented&lt;/P&gt;&lt;P&gt;UpdateDate&lt;/P&gt;&lt;P&gt;FieldA&lt;/P&gt;&lt;P&gt;FieldB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want this:&lt;/P&gt;&lt;P&gt;TableC:&lt;/P&gt;&lt;P&gt;FieldA+'-'+FieldB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And only different FieldA-FiledB Values in the table because I want use it as a referential&amp;nbsp; inside QlikView and use the field FieldA-FiledB for auto join with another table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attempt to Load incrementally the Table A whith a first QVD in a table "referential", then the Table B on another QVD in a table "TmpReferential".&lt;/P&gt;&lt;P&gt;After it I want merge the two table for delete duplicated synthetic keys (FieldA+'-'+FieldB)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if synthetic keys FieldA+'-'+FieldB could be processed correctly, I defined it in SQL query part, and use the true primary key of each database table for incremental loads. I know Synthetic keys aren't stored in Qvd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's possible with some JOIN clause, but in my tests I have issues on final QlikView table mapping with an other table on my synthetic key (all unmatched. Or perhaps duplicate values which create error on mapping?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With only the first table A no mapping or incremental load problem. When I attempt to merge two table A and B I have no mapping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 08:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-two-incrementaly-load-table/m-p/311988#M115153</guid>
      <dc:creator />
      <dc:date>2012-01-27T08:52:00Z</dc:date>
    </item>
    <item>
      <title>Merge two incrementaly load table</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-two-incrementaly-load-table/m-p/311989#M115154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After many try, I haven't solved this mapping/merging issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Ctrl+T command I see that th QlikView merged tables result display only NULL value on the synthetic key FieldA+'-'+FieldB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consequently I merged my tables directly in database and use an autoincrement Primary key on the result table as key for the auto increment Load procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It solved it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 10:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-two-incrementaly-load-table/m-p/311989#M115154</guid>
      <dc:creator />
      <dc:date>2012-02-10T10:47:36Z</dc:date>
    </item>
    <item>
      <title>Merge two incrementaly load table</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-two-incrementaly-load-table/m-p/311990#M115155</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;use this expression in Ur Script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FieldA&amp;amp;'-'&amp;amp;FieldB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Perumal A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 11:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-two-incrementaly-load-table/m-p/311990#M115155</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2012-02-10T11:09:42Z</dc:date>
    </item>
  </channel>
</rss>

