<?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: Outer Join with Null's in join field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819185#M661100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed, Bill, I discovered this small requirement immediately after posting and when doing a small test using INLINE tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It must be like that because NullAsValue is like a field attribute, and not some quality of an arbitrary column. Also you cannot apply NullAsValue retroactively (it's more like a switch, a bit like the QUALIFY statement), and there you have it. Mixing field values from before and after NullAsValue will never produce the exepected result when JOINing tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any case, many thanks for your feedback and confirmation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2015 14:37:15 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2015-03-17T14:37:15Z</dc:date>
    <item>
      <title>Outer Join with Null's in join field</title>
      <link>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819177#M661092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to Outer Join 2 tables that have a single common field to join on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many of the values in this join &lt;SPAN style="font-size: 13.3333330154419px;"&gt;field &lt;/SPAN&gt;are Null, but I wish still wish to join on the Null's. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing I thought was replacing the Null's in each table with say the text 'FieldIsNull' and then after the join doing a resident load to set these fields back to Null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Any suggestions on the best way to do this would be welcome.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Many Thanks,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 13:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819177#M661092</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T13:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Outer Join with Null's in join field</title>
      <link>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819178#M661093</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;One thing I thought was replacing the Null's in each table with say the text 'FieldIsNull' &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That's what I'd do, perhaps using another string.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;and then after the join doing a resident load to set these fields back to Null.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And that's what I would not do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 13:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819178#M661093</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-17T13:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Outer Join with Null's in join field</title>
      <link>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819179#M661094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately the dashboard needs to the resulting table to have the values reset back to Null.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 13:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819179#M661094</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T13:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Outer Join with Null's in join field</title>
      <link>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819180#M661095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I doubt that. What's the &lt;STRONG&gt;real&lt;/STRONG&gt; requirement? What is the question that "Show Null Values" is your answer to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 13:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819180#M661095</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-17T13:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Outer Join with Null's in join field</title>
      <link>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819181#M661096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about this then?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NullAsValue JoinFieldName;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;OUTER JOIN (...)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Will also link/join on NULL values&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD...;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NullAsNull JoinFieldName;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No additional Resident LOADs needed. Might save you a few seconds...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 13:41:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819181#M661096</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-03-17T13:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Outer Join with Null's in join field</title>
      <link>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819182#M661097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am adding an additional dimension, called say [NewDim] to an existing table in an existing qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When this [NewDIm] is added to existing Chart Objects and Suppress Null Values ticked it should not display the Nulls.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will not succeed persuading people to add Set Analysis to not display where the text value of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'FieldIsNull'.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 13:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819182#M661097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T13:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Outer Join with Null's in join field</title>
      <link>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819183#M661098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&amp;nbsp; Sounds promising I'll test it now and advise what happens.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 13:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819183#M661098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T13:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Outer Join with Null's in join field</title>
      <link>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819184#M661099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Peter&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brilliant &amp;amp; many thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.6666669845581px;"&gt;Although&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; I did need to put the first &lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;NullAsValue JoinFieldName; &lt;/SPAN&gt;before the load of the table before that it is Outer Join 'ing to.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Thanks Again,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 14:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819184#M661099</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T14:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Outer Join with Null's in join field</title>
      <link>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819185#M661100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed, Bill, I discovered this small requirement immediately after posting and when doing a small test using INLINE tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It must be like that because NullAsValue is like a field attribute, and not some quality of an arbitrary column. Also you cannot apply NullAsValue retroactively (it's more like a switch, a bit like the QUALIFY statement), and there you have it. Mixing field values from before and after NullAsValue will never produce the exepected result when JOINing tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any case, many thanks for your feedback and confirmation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 14:37:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819185#M661100</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-03-17T14:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Outer Join with Null's in join field</title>
      <link>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819186#M661101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;... and to end up with true Null 's in the final table it needs a little jiggery pokery :&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #993300; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #993300; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM style="color: #993300; font-size: 13.3333330154419px;"&gt;NullAsValue [&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;NewDim&lt;/SPAN&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load FirstTable ......................&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load FinalTable ......................&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM style="color: #993300;"&gt;NullAsNull [&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;NewDim&lt;/SPAN&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;OUTER JOIN(FinalTable)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;&amp;nbsp; if ( len ( [&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;NewDim&lt;/SPAN&gt;] ) &amp;gt; 0&amp;nbsp; , [&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;NewDim&lt;/SPAN&gt;] , null() ) as [Temp &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;NewDim&lt;/SPAN&gt;] ,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;&amp;nbsp; *&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;Resident FirstTable&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;drop table &lt;EM style="color: #993300; font-size: 13.3333330154419px;"&gt;FirstTable &lt;/EM&gt;;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;drop field [&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;NewDim&lt;/SPAN&gt;] ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;rename field [Temp &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;NewDim&lt;/SPAN&gt;] to [&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;NewDim&lt;/SPAN&gt;] ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks again for the prod in the right direction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 15:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Outer-Join-with-Null-s-in-join-field/m-p/819186#M661101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T15:50:46Z</dc:date>
    </item>
  </channel>
</rss>

