<?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 Finding a match, one to many join in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Finding-a-match-one-to-many-join/m-p/232294#M83933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, James.&lt;/P&gt;&lt;P&gt;If I understand you, you can to use RIGHT KEEP statement for loading data, like as:&lt;/P&gt;&lt;P&gt;Table_A:&lt;/P&gt;&lt;P&gt;LOAD KeyField, .... FROM....&lt;/P&gt;&lt;P&gt;Table_B:&lt;/P&gt;&lt;P&gt;RIGHT KEEP(Table_A)&lt;/P&gt;&lt;P&gt;LOAD KeyField, .... FROM....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after loading this script you will get two tables:&lt;BR /&gt;&lt;BR /&gt;Table_B - all lines table B (as in source data)&lt;BR /&gt;&lt;BR /&gt;Table_A - only lines, which are exists in Table_B (by KeyField)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Dec 2010 11:59:45 GMT</pubDate>
    <dc:creator>sparur</dc:creator>
    <dc:date>2010-12-24T11:59:45Z</dc:date>
    <item>
      <title>Finding a match, one to many join</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-a-match-one-to-many-join/m-p/232292#M83931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I've got two files that I'm loading into QV. File A has a unique key (no duplicates), the other, File B, has duplicate records for each key. File A may have a match to one or many records on File B, or there may be no match. I want to add a field to File A to say whether there is a matching record/s in File B. I'm not interested in how many records are on B for a particular key, just whether there are any matching records or not.&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Dec 2010 11:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-a-match-one-to-many-join/m-p/232292#M83931</guid>
      <dc:creator />
      <dc:date>2010-12-24T11:28:33Z</dc:date>
    </item>
    <item>
      <title>Finding a match, one to many join</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-a-match-one-to-many-join/m-p/232293#M83932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this solution:&lt;/P&gt;&lt;P&gt;MapFile:&lt;/P&gt;&lt;P&gt;Mapping Load Key, 'Matched' as Flag&lt;/P&gt;&lt;P&gt;Resident B;&lt;/P&gt;&lt;P&gt;AA:&lt;/P&gt;&lt;P&gt;Load Key, ApplyMap('MapFile',Key) as MatchFlag&lt;/P&gt;&lt;P&gt;Resident A;&lt;/P&gt;&lt;P&gt;Hope this would help you(your new field in A is matchflag).&lt;/P&gt;&lt;P&gt;Regards, tresesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Dec 2010 11:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-a-match-one-to-many-join/m-p/232293#M83932</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2010-12-24T11:59:23Z</dc:date>
    </item>
    <item>
      <title>Finding a match, one to many join</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-a-match-one-to-many-join/m-p/232294#M83933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, James.&lt;/P&gt;&lt;P&gt;If I understand you, you can to use RIGHT KEEP statement for loading data, like as:&lt;/P&gt;&lt;P&gt;Table_A:&lt;/P&gt;&lt;P&gt;LOAD KeyField, .... FROM....&lt;/P&gt;&lt;P&gt;Table_B:&lt;/P&gt;&lt;P&gt;RIGHT KEEP(Table_A)&lt;/P&gt;&lt;P&gt;LOAD KeyField, .... FROM....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after loading this script you will get two tables:&lt;BR /&gt;&lt;BR /&gt;Table_B - all lines table B (as in source data)&lt;BR /&gt;&lt;BR /&gt;Table_A - only lines, which are exists in Table_B (by KeyField)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Dec 2010 11:59:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-a-match-one-to-many-join/m-p/232294#M83933</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-12-24T11:59:45Z</dc:date>
    </item>
  </channel>
</rss>

