<?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 returns slightly different numbers than a pure link - why? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-returns-slightly-different-numbers-than-a-pure-link-why/m-p/1017273#M638826</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;joins are often meticulous with duplication or removing records and you need a very good knowledge about the data-quality in the used tables and if they have a lack of them you will need another strategy. An association from the tables per key is one and another could be to map those data together: &lt;A href="https://community.qlik.com/qlik-blogpost/4125"&gt;Mapping as an Alternative to Joining&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2016 14:00:15 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-02-24T14:00:15Z</dc:date>
    <item>
      <title>Join returns slightly different numbers than a pure link - why?</title>
      <link>https://community.qlik.com/t5/QlikView/Join-returns-slightly-different-numbers-than-a-pure-link-why/m-p/1017272#M638823</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 am working on separating a list of filenames into a part that has to be processed with priority according to an Excel_shortlist and the rest.&lt;/P&gt;&lt;P&gt;The files then have to be renamed. For the prioritary ones, I already know how I have to change the filename, so that will be time-consuming, but quite easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The point where I'm a bit confused is this: I have the list of filenames and the shortlist - I have to join these to find out which filenames appear on my shortlist and which don't.&lt;/P&gt;&lt;P&gt;To find out about this, I have made a copy of the keyfield in both of the tables - those fields are thus not linked so I can query them.&lt;/P&gt;&lt;P&gt;When I don't join the tables, but merely link them via that keyfield, I can simply use a set of listboxes to&lt;/P&gt;&lt;P&gt;- select all available values of that copy_of_keyfield in my table B (which will automatically make all the values in table_A selectable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; which match those and exclude all others)&lt;/P&gt;&lt;P&gt;- select all excluded values in table_A =&amp;gt; that will return all the values in table_A that do not have a match in table_B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; I can count both and the figures add up nicely to the total nr. of files, just like they should (e.g. 6.759 matching and 37.490 not matching)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; When I do a JOIN on the same keyfield, however, the numbers change - the matching values (those where the copy_of_keyfield from table_B has a positive length) are more - so that the total nr. of files is not correct anymore. - I now have 7.263 matching and 37.490 not matching which in total is too much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This baffles me a bit - how can that be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stranger still, if I do a RESIDENT LOAD from this with a WHERE clause querying the field &amp;gt;Bezeichnung&amp;lt; for a positive length, the number on the GUI is the same as in the last scenario (with the JOIN), but the table_viewer tells me there are even more records in the table, and I cannot find the others since there is no selection on the GUI. - the table_viewer tells me there are 7.673 records in the table, on the GUI it's 7.263 again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me shed some light on this? I'll try with a table_chart - and I guess there is no harm in attaching the qvd's I am using so you can hopefully reconstruct my issue and tell what I'm doing wrong.&lt;/P&gt;&lt;P&gt;&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>Wed, 24 Feb 2016 13:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-returns-slightly-different-numbers-than-a-pure-link-why/m-p/1017272#M638823</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2016-02-24T13:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Join returns slightly different numbers than a pure link - why?</title>
      <link>https://community.qlik.com/t5/QlikView/Join-returns-slightly-different-numbers-than-a-pure-link-why/m-p/1017273#M638826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;joins are often meticulous with duplication or removing records and you need a very good knowledge about the data-quality in the used tables and if they have a lack of them you will need another strategy. An association from the tables per key is one and another could be to map those data together: &lt;A href="https://community.qlik.com/qlik-blogpost/4125"&gt;Mapping as an Alternative to Joining&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 14:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-returns-slightly-different-numbers-than-a-pure-link-why/m-p/1017273#M638826</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-24T14:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Join returns slightly different numbers than a pure link - why?</title>
      <link>https://community.qlik.com/t5/QlikView/Join-returns-slightly-different-numbers-than-a-pure-link-why/m-p/1017274#M638827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, I just thought of that. Since when I do not join, the total nr. is correct, I think I'll go with that and not worry too much about what I did wrong. I also tried with a mapping LOAD and that returns the exact same and correct numbers. So I'll just continue without joining. It's a one-off thing, anyway, so there's nothing wrong about making a table_chart, exporting it to Excel and loading it again.&lt;/P&gt;&lt;P&gt;&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>Wed, 24 Feb 2016 14:02:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-returns-slightly-different-numbers-than-a-pure-link-why/m-p/1017274#M638827</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2016-02-24T14:02:24Z</dc:date>
    </item>
  </channel>
</rss>

