<?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: Checking if field is null after outer join. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Checking-if-field-is-null-after-outer-join/m-p/1226688#M855716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for this response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain, why its not working in orginal example ?&lt;/P&gt;&lt;P&gt;Is QlikView calculating isnull value before joining, or what is reason for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Feb 2017 12:21:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-02-20T12:21:38Z</dc:date>
    <item>
      <title>Checking if field is null after outer join.</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-if-field-is-null-after-outer-join/m-p/1226686#M855714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Afternoon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to load values from two qvd files.&lt;/P&gt;&lt;P&gt;After that i want to make outer join and make a flag if field in outer table is set or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to do it using isnull - as it works in SQL, but it's not working.&lt;/P&gt;&lt;P&gt;(see example. Insted qvd load I make inline load - to make easier example).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know workaround - to join this values in SQL, but I want to understand where i make mistake in QlikView&lt;/P&gt;&lt;P&gt;(i want this logic to be on QlikView side).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-if-field-is-null-after-outer-join/m-p/1226686#M855714</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if field is null after outer join.</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-if-field-is-null-after-outer-join/m-p/1226687#M855715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The easiest way is just to joint the table back to itself:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/153735_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14875927245775833" jivemacro_uid="_14875927245775833"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;JobCity:&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; JOB_ID, CITY&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, New York&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;right join&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; JOB_ID, JOB_NAME&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, Secretary&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Developer&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, Manager&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;left join (JobCity)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;load JOB_ID, if(len(CITY)&amp;lt;1,'Not set','Set') as CITY_FLAG&lt;/P&gt;
&lt;P&gt;resident JobCity&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 12:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-if-field-is-null-after-outer-join/m-p/1226687#M855715</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-02-20T12:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if field is null after outer join.</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-if-field-is-null-after-outer-join/m-p/1226688#M855716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for this response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain, why its not working in orginal example ?&lt;/P&gt;&lt;P&gt;Is QlikView calculating isnull value before joining, or what is reason for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 12:21:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-if-field-is-null-after-outer-join/m-p/1226688#M855716</guid>
      <dc:creator />
      <dc:date>2017-02-20T12:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if field is null after outer join.</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-if-field-is-null-after-outer-join/m-p/1226689#M855717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm pretty sure its simply because the preceding load is only preceding the first table, if that makes sense!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't actually have the whole table as a single table until after the join etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 12:33:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-if-field-is-null-after-outer-join/m-p/1226689#M855717</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-02-20T12:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if field is null after outer join.</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-if-field-is-null-after-outer-join/m-p/1226690#M855718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More or less.&lt;/P&gt;&lt;P&gt;I thought preceding load are executed from bottom to top - so first there will be 2 load , then join , and then last new load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 10:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-if-field-is-null-after-outer-join/m-p/1226690#M855718</guid>
      <dc:creator />
      <dc:date>2017-02-22T10:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Checking if field is null after outer join.</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-if-field-is-null-after-outer-join/m-p/1226691#M855719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah I think I have made that assumption before as well... few funnies like that with preceding, such as distinct is only executed at the top level etc... still its very useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 10:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-if-field-is-null-after-outer-join/m-p/1226691#M855719</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-02-22T10:44:59Z</dc:date>
    </item>
  </channel>
</rss>

