<?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 selecting non existing data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/selecting-non-existing-data/m-p/351963#M130569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a country table (Code, Description):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;US, United States&lt;/P&gt;&lt;P&gt;UK, United Kingdom&lt;/P&gt;&lt;P&gt;DE, Germany&lt;/P&gt;&lt;P&gt;BE, Belgium&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have a Customer table (Code, Description, CountryCode):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1, John D., US&lt;/P&gt;&lt;P&gt;2, Jane D., UK&lt;/P&gt;&lt;P&gt;3, Jan K.,&lt;/P&gt;&lt;P&gt;4, Sjef Z., BE&lt;/P&gt;&lt;P&gt;5, Piet S.,&lt;/P&gt;&lt;P&gt;6, Dieter M., DE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customers 3 and 5 don't have a CountryCode. Within the database this means that the country is Netherlands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 Table Boxes in QlikView, one for each table.&lt;/P&gt;&lt;P&gt;I want to select all customers that are from The Netherlands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I do that in QlikView?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2012 13:29:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-14T13:29:57Z</dc:date>
    <item>
      <title>selecting non existing data</title>
      <link>https://community.qlik.com/t5/QlikView/selecting-non-existing-data/m-p/351963#M130569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a country table (Code, Description):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;US, United States&lt;/P&gt;&lt;P&gt;UK, United Kingdom&lt;/P&gt;&lt;P&gt;DE, Germany&lt;/P&gt;&lt;P&gt;BE, Belgium&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have a Customer table (Code, Description, CountryCode):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1, John D., US&lt;/P&gt;&lt;P&gt;2, Jane D., UK&lt;/P&gt;&lt;P&gt;3, Jan K.,&lt;/P&gt;&lt;P&gt;4, Sjef Z., BE&lt;/P&gt;&lt;P&gt;5, Piet S.,&lt;/P&gt;&lt;P&gt;6, Dieter M., DE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customers 3 and 5 don't have a CountryCode. Within the database this means that the country is Netherlands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 Table Boxes in QlikView, one for each table.&lt;/P&gt;&lt;P&gt;I want to select all customers that are from The Netherlands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I do that in QlikView?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 13:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/selecting-non-existing-data/m-p/351963#M130569</guid>
      <dc:creator />
      <dc:date>2012-03-14T13:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: selecting non existing data</title>
      <link>https://community.qlik.com/t5/QlikView/selecting-non-existing-data/m-p/351964#M130570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add a list box with the CountryCode field and select "-" &lt;/P&gt;&lt;P&gt;If you want to do it directly in the table, you need to use a pivot table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 13:36:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/selecting-non-existing-data/m-p/351964#M130570</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2012-03-14T13:36:32Z</dc:date>
    </item>
    <item>
      <title>selecting non existing data</title>
      <link>https://community.qlik.com/t5/QlikView/selecting-non-existing-data/m-p/351965#M130571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a nice solution from qlikuser, however, you want as little as possible transformations in your dimensions. Prefereable in your script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this also:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Load your country table&lt;/LI&gt;&lt;LI&gt;Add NL with a concatenation&lt;/LI&gt;&lt;LI&gt;Load your customers&lt;/LI&gt;&lt;LI&gt;Replace empty values with an If statement &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For testing purposes I did some inline tables so you see a resident load to be able to perform the If statement. Drop and noconcatenate to load customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;countries:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CountryCode, Country&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; US, USA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UK, U.K.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DE, Germany&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BE, Belgium&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate load * inline [&lt;/P&gt;&lt;P&gt;CountryCode, Country&lt;/P&gt;&lt;P&gt;NL, Nederland&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;customers_temp:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Code, Description, CountryCode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, John, US&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Jane, UK,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, Jan, ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, Sjef, BE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, Dieter, DE&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;customers:&lt;/P&gt;&lt;P&gt;NoConcatenate load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Code,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(len(trim(CountryCode)) &amp;gt;0 , CountryCode, 'NL') as CountryCode&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident customers_temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table customers_temp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 14:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/selecting-non-existing-data/m-p/351965#M130571</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2012-03-14T14:11:05Z</dc:date>
    </item>
  </channel>
</rss>

