<?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: replace nulls due to Qlik's natural join in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/replace-nulls-due-to-Qlik-s-natural-join/m-p/124257#M8640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, if I show the fields in a table, there are nulls.&amp;nbsp; Is there any way to combat that at load time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing I can think of is to explicitly join every table in the load script so that I can try using some of the techniques I mentioned.&amp;nbsp; But that seems lame because 1) I thought not having to join things explicitely was Qlik's bread and butter and 2) then my data model will just be 1 big table instead of a meaningful diagram of many tables with relationships drawn in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Nov 2018 21:14:37 GMT</pubDate>
    <dc:creator>mmarchese</dc:creator>
    <dc:date>2018-11-09T21:14:37Z</dc:date>
    <item>
      <title>replace nulls due to Qlik's natural join</title>
      <link>https://community.qlik.com/t5/App-Development/replace-nulls-due-to-Qlik-s-natural-join/m-p/124254#M8637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simple hypothetical example: I load several tables.&amp;nbsp; The tables have no fields in common except for one column named pk, which each table has.&amp;nbsp; I don't join them explicitly in the script, so Qlik does an outer join on column pk during load.&amp;nbsp; Unless every table has the exact same set of pk's, there will be nulls since that's how outer joins work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can create a dimension for each field whose nulls I want to be replaced with values, but that adds clutter and seems strange to me, because why shouldn't I be able to remove these nulls once at load time instead of continuously at dashboard-use-time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is there any way to replace these nulls with values at load time?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried things like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NullAsValue *;&lt;/P&gt;&lt;P&gt;Set NullValue = 'anythingButANullPlease';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set NullDisplay = 'whyHaveYouForsakenMeQlik';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loading the tables and then reloading them with Resident and replacing nulls at that point&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but none of these techniques do anything.&amp;nbsp; Unless I'm botching the syntax...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 20:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/replace-nulls-due-to-Qlik-s-natural-join/m-p/124254#M8637</guid>
      <dc:creator>mmarchese</dc:creator>
      <dc:date>2018-11-09T20:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: replace nulls due to Qlik's natural join</title>
      <link>https://community.qlik.com/t5/App-Development/replace-nulls-due-to-Qlik-s-natural-join/m-p/124255#M8638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure I understand what you are doing in your script. If you don't JOIN the tables explicitely using a JOIN LOAD prefix, I think the tables would just be linked by common field names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So there will be no records with NULL key introduced unless the NULL comes in during your input table LOAD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 20:24:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/replace-nulls-due-to-Qlik-s-natural-join/m-p/124255#M8638</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-11-09T20:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: replace nulls due to Qlik's natural join</title>
      <link>https://community.qlik.com/t5/App-Development/replace-nulls-due-to-Qlik-s-natural-join/m-p/124256#M8639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume what you might talking about is the indicator for missing association when using dimensions in e.g. a table chart made of fields from different tables, i.e. the NULL created when performing the UI run time JOIN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 20:26:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/replace-nulls-due-to-Qlik-s-natural-join/m-p/124256#M8639</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-11-09T20:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: replace nulls due to Qlik's natural join</title>
      <link>https://community.qlik.com/t5/App-Development/replace-nulls-due-to-Qlik-s-natural-join/m-p/124257#M8640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, if I show the fields in a table, there are nulls.&amp;nbsp; Is there any way to combat that at load time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing I can think of is to explicitly join every table in the load script so that I can try using some of the techniques I mentioned.&amp;nbsp; But that seems lame because 1) I thought not having to join things explicitely was Qlik's bread and butter and 2) then my data model will just be 1 big table instead of a meaningful diagram of many tables with relationships drawn in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 21:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/replace-nulls-due-to-Qlik-s-natural-join/m-p/124257#M8640</guid>
      <dc:creator>mmarchese</dc:creator>
      <dc:date>2018-11-09T21:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: replace nulls due to Qlik's natural join</title>
      <link>https://community.qlik.com/t5/App-Development/replace-nulls-due-to-Qlik-s-natural-join/m-p/124258#M8641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;If you don't JOIN the tables explicitely using a JOIN LOAD prefix, I think the tables would just be linked by common field names.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;Yeah, that's what I meant by "natural join."&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;So there will be no records with NULL key introduced unless the NULL comes in during your input table LOAD.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Maybe I am misunderstanding Qlik.&amp;nbsp; I thought "associative data model" was just marketing speak for "natural full outer join" (i.e. a join that results in a table containing nulls even when none of the tables being joined contained nulls to begin with).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 21:46:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/replace-nulls-due-to-Qlik-s-natural-join/m-p/124258#M8641</guid>
      <dc:creator>mmarchese</dc:creator>
      <dc:date>2018-11-09T21:46:23Z</dc:date>
    </item>
  </channel>
</rss>

