<?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: How to load from another table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-load-from-another-table/m-p/1335064#M840411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use exists() to filter your data, maybe in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2_base:&lt;/P&gt;&lt;P&gt;Load NAME, GENDER&lt;/P&gt;&lt;P&gt;From base.qvd where GENDER='M';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1_score:&lt;/P&gt;&lt;P&gt;Load NAME, SCORE&lt;/P&gt;&lt;P&gt;From score.qvd where exists(NAME);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another possibility would be to create a mapping table from the table, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2_base:&lt;/P&gt;&lt;P&gt;mapping Load NAME, GENDER&lt;/P&gt;&lt;P&gt;From base.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1_score:&lt;/P&gt;&lt;P&gt;Load NAME, SCORE&lt;/P&gt;&lt;P&gt;From score.qvd where applymap('table2_base', NAME, '#NV') = 'M';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Apr 2017 15:38:23 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2017-04-28T15:38:23Z</dc:date>
    <item>
      <title>How to load from another table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-from-another-table/m-p/1335063#M840410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have 2 qvds (score &amp;amp; base) (or 2 txts)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1_score:&lt;/P&gt;&lt;P&gt;Load NAME,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCORE&lt;/P&gt;&lt;P&gt;From score.qvd ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2_base:&lt;/P&gt;&lt;P&gt;Load NAME,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GENDER&lt;/P&gt;&lt;P&gt;From base.qvd&lt;/P&gt;&lt;P&gt;where GENDER='M' ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can i select table1 just GENDER='M' ?&lt;/P&gt;&lt;P&gt;From score.qvd WHERE NAME IN(SELECT......??)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-from-another-table/m-p/1335063#M840410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to load from another table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-from-another-table/m-p/1335064#M840411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use exists() to filter your data, maybe in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2_base:&lt;/P&gt;&lt;P&gt;Load NAME, GENDER&lt;/P&gt;&lt;P&gt;From base.qvd where GENDER='M';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1_score:&lt;/P&gt;&lt;P&gt;Load NAME, SCORE&lt;/P&gt;&lt;P&gt;From score.qvd where exists(NAME);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another possibility would be to create a mapping table from the table, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2_base:&lt;/P&gt;&lt;P&gt;mapping Load NAME, GENDER&lt;/P&gt;&lt;P&gt;From base.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1_score:&lt;/P&gt;&lt;P&gt;Load NAME, SCORE&lt;/P&gt;&lt;P&gt;From score.qvd where applymap('table2_base', NAME, '#NV') = 'M';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 15:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-from-another-table/m-p/1335064#M840411</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-04-28T15:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to load from another table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-from-another-table/m-p/1335065#M840412</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 use applymap function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2_base:&lt;/P&gt;&lt;P&gt;MAPPING Load NAME, GENDER&lt;/P&gt;&lt;P&gt;From base.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1_score:&lt;/P&gt;&lt;P&gt;Load *, applymap('table2_base', NAME, 'NA') AS X&lt;/P&gt;&lt;P&gt;From score.qvd where X = 'M';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Apr 2017 11:49:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-from-another-table/m-p/1335065#M840412</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2017-04-30T11:49:45Z</dc:date>
    </item>
  </channel>
</rss>

