<?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 nulls by joining two tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Finding-nulls-by-joining-two-tables/m-p/318457#M710189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two tables with customer ids and channel mapping.&lt;/P&gt;&lt;P&gt;one is the complete list of customers (from a sql pull)&lt;/P&gt;&lt;P&gt;The second has some of the customer ids with a mapping assigned. &lt;/P&gt;&lt;P&gt;I need to map all the ones that were not assigned in the second table (by a set of rules) as "all other"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The source for the mapping is a mixture of text files and sql so I created the table by doing concatenates. &lt;/P&gt;&lt;P&gt;What I can't seem to get working some thing like the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set Mapping to "all other" when&lt;/P&gt;&lt;P&gt;Table1_all customers, joined by customer ID to Table 2 where Table2 mapping is null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to think this is a resident join opportunity ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 May 2011 20:21:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-22T20:21:11Z</dc:date>
    <item>
      <title>Finding nulls by joining two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-nulls-by-joining-two-tables/m-p/318457#M710189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two tables with customer ids and channel mapping.&lt;/P&gt;&lt;P&gt;one is the complete list of customers (from a sql pull)&lt;/P&gt;&lt;P&gt;The second has some of the customer ids with a mapping assigned. &lt;/P&gt;&lt;P&gt;I need to map all the ones that were not assigned in the second table (by a set of rules) as "all other"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The source for the mapping is a mixture of text files and sql so I created the table by doing concatenates. &lt;/P&gt;&lt;P&gt;What I can't seem to get working some thing like the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set Mapping to "all other" when&lt;/P&gt;&lt;P&gt;Table1_all customers, joined by customer ID to Table 2 where Table2 mapping is null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to think this is a resident join opportunity ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 May 2011 20:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-nulls-by-joining-two-tables/m-p/318457#M710189</guid>
      <dc:creator />
      <dc:date>2011-05-22T20:21:11Z</dc:date>
    </item>
    <item>
      <title>Finding nulls by joining two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-nulls-by-joining-two-tables/m-p/318458#M710190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First load the ID's that have already been mapped.&amp;nbsp; Then load the full list with a where clause like the one below in a new table:&lt;/P&gt;&lt;P&gt;WHERE NOT exists(ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then drop the first table(the ones already mapped).&amp;nbsp; What you have left are all of the ID's that weren't previously mapped.&amp;nbsp; At this point I would just map all of these ("all other") and then do a concatenate load to get the ID"s that were already mapped into your table using WHERE NOT exists(ID) again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are probably 10 other ways to do this but without knowing every little detail I think this one should be good enough.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 20:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-nulls-by-joining-two-tables/m-p/318458#M710190</guid>
      <dc:creator />
      <dc:date>2011-05-23T20:41:31Z</dc:date>
    </item>
    <item>
      <title>Finding nulls by joining two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-nulls-by-joining-two-tables/m-p/318459#M710191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks this will work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 21:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-nulls-by-joining-two-tables/m-p/318459#M710191</guid>
      <dc:creator />
      <dc:date>2011-05-23T21:55:23Z</dc:date>
    </item>
  </channel>
</rss>

