<?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 Re: Complementing a link table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Complementing-a-link-table/m-p/438919#M163593</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;You can try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LinkTable:&lt;/P&gt;&lt;P&gt;Load CalendarId,&lt;/P&gt;&lt;P&gt;Key1,&lt;/P&gt;&lt;P&gt;Key2&lt;/P&gt;&lt;P&gt;Resident LinkTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Distinct&lt;/P&gt;&lt;P&gt;CalendarId,&lt;/P&gt;&lt;P&gt;Key1 as new_key1&lt;/P&gt;&lt;P&gt;Resident FactTable1;&lt;/P&gt;&lt;P&gt;where not exists(key1,key1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Distinct&lt;/P&gt;&lt;P&gt;CalendarId,&lt;/P&gt;&lt;P&gt;Key2 as new_key2&lt;/P&gt;&lt;P&gt;Resident FactTable2;&lt;/P&gt;&lt;P&gt;where not exists(key2,key2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;new_Key1,new_key_2 is field of record which doesnot exists in linktable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Udit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Mar 2013 04:26:06 GMT</pubDate>
    <dc:creator>udit_kumar_sana</dc:creator>
    <dc:date>2013-03-14T04:26:06Z</dc:date>
    <item>
      <title>Complementing a link table</title>
      <link>https://community.qlik.com/t5/QlikView/Complementing-a-link-table/m-p/438918#M163592</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 a link table where I match accounts from one place, to the matching account from the other. However, this list is not complete so I need to complete the link table from both sides in order to allow the whole numbers are reachable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LinkTable:&lt;/P&gt;&lt;P&gt;Load CalendarId,&lt;/P&gt;&lt;P&gt;Key1,&lt;/P&gt;&lt;P&gt;Key2&lt;/P&gt;&lt;P&gt;Resident LinkTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I want to parse both fact tables in order to find the missing records and add them, without duplicating the already found members. I tried contatenating &lt;/P&gt;&lt;P&gt;the results, but duplicated records were created for the records existent on the original link table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LinkTable:&lt;/P&gt;&lt;P&gt;Load CalendarId,&lt;/P&gt;&lt;P&gt;Key1,&lt;/P&gt;&lt;P&gt;Key2&lt;/P&gt;&lt;P&gt;Resident LinkTable;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;Load Distinct&lt;/P&gt;&lt;P&gt;CalendarId,&lt;/P&gt;&lt;P&gt;Key1&lt;/P&gt;&lt;P&gt;Resident FactTable1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot figure out a way to make an outer join to find the missing records and just concatenate them because I cannot explicitly specify the join condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 22:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complementing-a-link-table/m-p/438918#M163592</guid>
      <dc:creator />
      <dc:date>2013-03-13T22:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Complementing a link table</title>
      <link>https://community.qlik.com/t5/QlikView/Complementing-a-link-table/m-p/438919#M163593</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;You can try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LinkTable:&lt;/P&gt;&lt;P&gt;Load CalendarId,&lt;/P&gt;&lt;P&gt;Key1,&lt;/P&gt;&lt;P&gt;Key2&lt;/P&gt;&lt;P&gt;Resident LinkTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Distinct&lt;/P&gt;&lt;P&gt;CalendarId,&lt;/P&gt;&lt;P&gt;Key1 as new_key1&lt;/P&gt;&lt;P&gt;Resident FactTable1;&lt;/P&gt;&lt;P&gt;where not exists(key1,key1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Distinct&lt;/P&gt;&lt;P&gt;CalendarId,&lt;/P&gt;&lt;P&gt;Key2 as new_key2&lt;/P&gt;&lt;P&gt;Resident FactTable2;&lt;/P&gt;&lt;P&gt;where not exists(key2,key2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;new_Key1,new_key_2 is field of record which doesnot exists in linktable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Udit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 04:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complementing-a-link-table/m-p/438919#M163593</guid>
      <dc:creator>udit_kumar_sana</dc:creator>
      <dc:date>2013-03-14T04:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Complementing a link table</title>
      <link>https://community.qlik.com/t5/QlikView/Complementing-a-link-table/m-p/438920#M163594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Udit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears it's a change to &lt;EM&gt;"where not exists(key1,key1);" &lt;/EM&gt;to "&lt;EM&gt;where not exists(key1,new_key1);" ?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I've been unable to verify it. It appears as the fact table is already loaded, the where clause actually won't reflect any records &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'l try to twist the logic on the Link table use separate names and finally rename the fields as a last step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here we go...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2013 00:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complementing-a-link-table/m-p/438920#M163594</guid>
      <dc:creator />
      <dc:date>2013-03-15T00:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Complementing a link table</title>
      <link>https://community.qlik.com/t5/QlikView/Complementing-a-link-table/m-p/438921#M163595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The new_key1 will not work in where exists ,since it's an alias name .The original name key1 should be there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2013 03:08:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complementing-a-link-table/m-p/438921#M163595</guid>
      <dc:creator>udit_kumar_sana</dc:creator>
      <dc:date>2013-03-15T03:08:45Z</dc:date>
    </item>
  </channel>
</rss>

