<?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: Join - with a tweak in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-with-a-tweak/m-p/134472#M602520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah - I have an idea, I*ll see if it works.&lt;/P&gt;&lt;P&gt;I will simply turn Things round and, instead of taking the "smaller" table_A and join the "bigger" table_B to it, I'll take table_B and join A to it - if I do it Right, table_B will have all POSNR, including those in table_A - then I can simply join or map everything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Aug 2018 18:39:02 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2018-08-13T18:39:02Z</dc:date>
    <item>
      <title>Join - with a tweak</title>
      <link>https://community.qlik.com/t5/QlikView/Join-with-a-tweak/m-p/134471#M602519</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;I have two parts of the same table - one part (table_A) has only the VBELN and the very first POSNR and four or five fields which are common, so I extract them only once - they are (should be &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; ) identical on all POSNR, so for reasons of speed, I load only one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other part (table_B)&amp;nbsp; has the VBELN and all POSNR and four or five fields which are filled position-wise - there might be a different value on every line here, so I have to load all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly I need to join the two - but how to do that in one step?&lt;/P&gt;&lt;P&gt;The logical thing to do would seem to be a LEFT JOIN because I want to join the records of table_B to those from table_A where the VBELN is the same - but then that same logic is also applied to POSNR which is wrong - I have many more POSNR in table_B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The apparently easiest thing would be loading all POSNR even for table_A, then the joining would be easier - but I cannot do that: There can in fact be different values in the common fields - I have discussed this with a colleague - but there must not be more than one value &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; These exceptions are probably typos - or maybe not ... mysterious.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me on this one?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 16:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-with-a-tweak/m-p/134471#M602519</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2018-08-13T16:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Join - with a tweak</title>
      <link>https://community.qlik.com/t5/QlikView/Join-with-a-tweak/m-p/134472#M602520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah - I have an idea, I*ll see if it works.&lt;/P&gt;&lt;P&gt;I will simply turn Things round and, instead of taking the "smaller" table_A and join the "bigger" table_B to it, I'll take table_B and join A to it - if I do it Right, table_B will have all POSNR, including those in table_A - then I can simply join or map everything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 18:39:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-with-a-tweak/m-p/134472#M602520</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2018-08-13T18:39:02Z</dc:date>
    </item>
  </channel>
</rss>

