<?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 DB2 script =&amp;gt; loading an joining multiple tables, and handling 'null' vs missing values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/DB2-script-gt-loading-an-joining-multiple-tables-and-handling/m-p/371235#M1171982</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;First, i'd like to thank you for reading my post, and all contributors Qview community wich has already helped me a lot in my guesses about scripting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, to business ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm loading &lt;SPAN style="text-decoration: underline;"&gt;lots&lt;/SPAN&gt;&amp;nbsp; of DB2 tables (among other things) ... And doing so, i got a big problem, that i'll try to explain as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got multiple tables, for each type of data i'm willing to use. For instance, 'client' is spread among 4 &lt;SPAN style="text-decoration: underline;"&gt;main&lt;/SPAN&gt; tables each containing &lt;SPAN style="text-decoration: underline;"&gt;different&lt;/SPAN&gt; items&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie : cl-tab1containing (name, adress, etc.), cl-tab2 (containing mail, telephone), cl-tab3 (containing date of birth, etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm loading and chaining them with no problem using the primary keys used by my db2 system... No problem,&lt;STRONG&gt; or so i thought.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; some clients doesnt have ANY data in one or more category : so, the &lt;SPAN style="text-decoration: underline;"&gt;primary key doesnt exist&lt;/SPAN&gt; in this specific table &lt;/P&gt;&lt;P&gt;(ex : no date of birth =&amp;gt; client doesn't exist in cl-tab3...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; no primary key =&amp;gt; no data for these items and to my surprise, 'NO DATA' &amp;lt;&amp;gt; Null. &lt;/P&gt;&lt;P&gt;I can manipulate these items, and for instance count null occurrences, but &lt;STRONG style="color: #333333;"&gt;this wont count 'no data occurence'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am i doing something wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried lots of scripts, functions, null propagation doesnt allow me to adress this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My last try was to join these tables (two of them, as a test) and no luck... &lt;STRONG&gt;I got 'null' for existing rows with no values, but i got 'nill' for unexisting rows !&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2012 08:18:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-27T08:18:28Z</dc:date>
    <item>
      <title>DB2 script =&gt; loading an joining multiple tables, and handling 'null' vs missing values</title>
      <link>https://community.qlik.com/t5/QlikView/DB2-script-gt-loading-an-joining-multiple-tables-and-handling/m-p/371235#M1171982</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;First, i'd like to thank you for reading my post, and all contributors Qview community wich has already helped me a lot in my guesses about scripting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, to business ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm loading &lt;SPAN style="text-decoration: underline;"&gt;lots&lt;/SPAN&gt;&amp;nbsp; of DB2 tables (among other things) ... And doing so, i got a big problem, that i'll try to explain as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got multiple tables, for each type of data i'm willing to use. For instance, 'client' is spread among 4 &lt;SPAN style="text-decoration: underline;"&gt;main&lt;/SPAN&gt; tables each containing &lt;SPAN style="text-decoration: underline;"&gt;different&lt;/SPAN&gt; items&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie : cl-tab1containing (name, adress, etc.), cl-tab2 (containing mail, telephone), cl-tab3 (containing date of birth, etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm loading and chaining them with no problem using the primary keys used by my db2 system... No problem,&lt;STRONG&gt; or so i thought.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; some clients doesnt have ANY data in one or more category : so, the &lt;SPAN style="text-decoration: underline;"&gt;primary key doesnt exist&lt;/SPAN&gt; in this specific table &lt;/P&gt;&lt;P&gt;(ex : no date of birth =&amp;gt; client doesn't exist in cl-tab3...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; no primary key =&amp;gt; no data for these items and to my surprise, 'NO DATA' &amp;lt;&amp;gt; Null. &lt;/P&gt;&lt;P&gt;I can manipulate these items, and for instance count null occurrences, but &lt;STRONG style="color: #333333;"&gt;this wont count 'no data occurence'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am i doing something wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried lots of scripts, functions, null propagation doesnt allow me to adress this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My last try was to join these tables (two of them, as a test) and no luck... &lt;STRONG&gt;I got 'null' for existing rows with no values, but i got 'nill' for unexisting rows !&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 08:18:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DB2-script-gt-loading-an-joining-multiple-tables-and-handling/m-p/371235#M1171982</guid>
      <dc:creator />
      <dc:date>2012-07-27T08:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 script =&gt; loading an joining multiple tables, and handling 'null' vs missing values</title>
      <link>https://community.qlik.com/t5/QlikView/DB2-script-gt-loading-an-joining-multiple-tables-and-handling/m-p/371236#M1171983</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'm still stuck in my evaluation of qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion would be really welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 15:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DB2-script-gt-loading-an-joining-multiple-tables-and-handling/m-p/371236#M1171983</guid>
      <dc:creator />
      <dc:date>2012-07-30T15:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 script =&gt; loading an joining multiple tables, and handling 'null' vs missing values</title>
      <link>https://community.qlik.com/t5/QlikView/DB2-script-gt-loading-an-joining-multiple-tables-and-handling/m-p/371237#M1171984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still searching, so, if you have any idea or suggestion, you'll be very welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 08:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DB2-script-gt-loading-an-joining-multiple-tables-and-handling/m-p/371237#M1171984</guid>
      <dc:creator />
      <dc:date>2012-08-06T08:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 script =&gt; loading an joining multiple tables, and handling 'null' vs missing values</title>
      <link>https://community.qlik.com/t5/QlikView/DB2-script-gt-loading-an-joining-multiple-tables-and-handling/m-p/371238#M1171985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See JOIN types here: &lt;A class="loading" href="http://www.qlikviewaddict.com/2012/03/explaining-joins.html" title="http://www.qlikviewaddict.com/2012/03/explaining-joins.html"&gt;http://www.qlikviewaddict.com/2012/03/explaining-joins.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will update this post if I find other references but I think you want to LEFT JOIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: After reading your post again, I think I misunderstood. Sorry. I'll leave my reply anyway in case it helps someone else.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2012 14:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DB2-script-gt-loading-an-joining-multiple-tables-and-handling/m-p/371238#M1171985</guid>
      <dc:creator>Rich-HHE</dc:creator>
      <dc:date>2012-08-10T14:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 script =&gt; loading an joining multiple tables, and handling 'null' vs missing values</title>
      <link>https://community.qlik.com/t5/QlikView/DB2-script-gt-loading-an-joining-multiple-tables-and-handling/m-p/371239#M1171986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx, it helped ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your link is really helpfull, and&amp;nbsp; well written&amp;nbsp; !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; It's not really a fix to my problem though, but i think that it's more an ETL thing that i need, than any Qview loading function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 11:07:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DB2-script-gt-loading-an-joining-multiple-tables-and-handling/m-p/371239#M1171986</guid>
      <dc:creator />
      <dc:date>2012-08-13T11:07:18Z</dc:date>
    </item>
  </channel>
</rss>

