<?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: Concatenation / Null Values where a key exists in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875516#M991403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could&amp;nbsp; may be use a concatenated key between the tables&lt;/P&gt;&lt;P&gt;key1 &amp;amp;'||'&amp;amp; key2 &amp;amp;'||'&amp;amp;key3 as NewKey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2015 08:22:51 GMT</pubDate>
    <dc:creator>sasiparupudi1</dc:creator>
    <dc:date>2015-07-15T08:22:51Z</dc:date>
    <item>
      <title>Concatenation / Null Values where a key exists</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875507#M991394</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 am trying to concatenate a table into my master table where there are several key fields that are in common in both tables.&lt;/P&gt;&lt;P&gt;When I concatenate them, there appears to be no link in those fields ie:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Master:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/92871_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&amp;nbsp;&amp;nbsp;&amp;nbsp; ** The table I want to be concatenated in&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/92872_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Master: ** this is the result after the concatenation:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/92894_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;What I want to happen is:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/92895_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried other joins of the table ie. outer join / join with no success as well as trim around the Code which is one of the links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is much appreciated - can't quite work out why this is not working as I would imagine it to...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 07:41:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875507#M991394</guid>
      <dc:creator />
      <dc:date>2015-07-15T07:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation / Null Values where a key exists</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875508#M991395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of Concatenate&amp;nbsp; do left Join with master table. for eg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Master:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fruit, Code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Apple,1111111&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mago, 2222222&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Banana,333333&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Peach,444444&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Strawberry,55555&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OtherData, Code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Spain,1111111&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; France, 2222222&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Belgium,333333&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USA,444444&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Brazil,55555&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 07:47:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875508#M991395</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-07-15T07:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation / Null Values where a key exists</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875509#M991396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you have synthetic keys in the table..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 07:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875509#M991396</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-07-15T07:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation / Null Values where a key exists</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875510#M991397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct, I do.... is this an issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 07:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875510#M991397</guid>
      <dc:creator />
      <dc:date>2015-07-15T07:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation / Null Values where a key exists</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875511#M991398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kush is correct - you need a join. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply put:&lt;/P&gt;&lt;P&gt;Concatenate generally adds extra rows&lt;/P&gt;&lt;P&gt;Join is &lt;SPAN style="font-size: 13.3333330154419px;"&gt;generally &lt;/SPAN&gt;adds extra columns to the existing rows&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 07:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875511#M991398</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-07-15T07:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation / Null Values where a key exists</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875512#M991399</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;Instead of Concatenation you need to Join both the tables in this scenario, so that you will get the required ouput.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 08:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875512#M991399</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-07-15T08:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation / Null Values where a key exists</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875513#M991400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your join should work fine if you resolve synthetic keys in your data model&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 08:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875513#M991400</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-07-15T08:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation / Null Values where a key exists</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875514#M991401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On a separate note to the above example but still related to concatenating and joining:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use a join I lose the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I concatenate I get Null values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and when I have a synthetic key I am able to calculate correctly...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 08:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875514#M991401</guid>
      <dc:creator />
      <dc:date>2015-07-15T08:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation / Null Values where a key exists</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875515#M991402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is best to resolve a synthetic key when there are 3 key fields that are in common in both tables.&lt;/P&gt;&lt;P&gt;When I join, the data is not correct&lt;/P&gt;&lt;P&gt;When I concatenate I get null values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 08:19:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875515#M991402</guid>
      <dc:creator />
      <dc:date>2015-07-15T08:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation / Null Values where a key exists</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875516#M991403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could&amp;nbsp; may be use a concatenated key between the tables&lt;/P&gt;&lt;P&gt;key1 &amp;amp;'||'&amp;amp; key2 &amp;amp;'||'&amp;amp;key3 as NewKey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 08:22:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875516#M991403</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-07-15T08:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation / Null Values where a key exists</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875517#M991404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a join is done by all fields within the same name, like a link in your data model between tables.&lt;/P&gt;&lt;P&gt;So if you want to do a join by one field you need to load only the linking field and all fields you want to add to your table (in your example&lt;/P&gt;&lt;P&gt;join load&lt;/P&gt;&lt;P&gt;Code,&lt;/P&gt;&lt;P&gt;[Other Data}&lt;/P&gt;&lt;P&gt;from source;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 08:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875517#M991404</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2015-07-15T08:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation / Null Values where a key exists</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875518#M991405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do the join on Key field. In your case would be Code, rename other fields with same name to avoid synthetic key&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 09:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875518#M991405</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-07-15T09:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation / Null Values where a key exists</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875519#M991406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You should remove Synthetic keys as said by Sasidhar - key1 &amp;amp;'||'&amp;amp; key2 &amp;amp;'||'&amp;amp;key3 as NewKey&lt;/P&gt;&lt;P&gt;and alias your original field-name with new names to avoid synthetic keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Join will help to resolve your issue &amp;amp; obtain desired output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 09:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875519#M991406</guid>
      <dc:creator>prashantbaste</dc:creator>
      <dc:date>2015-07-15T09:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation / Null Values where a key exists</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875520#M991407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Creating the key works in terms of getting the correct data without the synthetic keys.&lt;/P&gt;&lt;P&gt;However when I then try to join the table I lose the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So currently I have a snowflake data structure with the new key as the reference between the data tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 13:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenation-Null-Values-where-a-key-exists/m-p/875520#M991407</guid>
      <dc:creator />
      <dc:date>2015-07-15T13:06:34Z</dc:date>
    </item>
  </channel>
</rss>

