<?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: Left join and isnull in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548545#M691170</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You should use NullAsValue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you want you can go to Help and get the details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Aug 2013 15:26:49 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2013-08-29T15:26:49Z</dc:date>
    <item>
      <title>Left join and isnull</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548537#M691162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have the following script LEFT JOIN&amp;nbsp; LOAD If(IsNull([PO Total])=-1,0,[PO Total]) as [PO Total],&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Order No]&amp;amp;'_'&amp;amp;[Order Line No] as [PO Key]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM D:\QlikView\02_QVD\po_shipping_aggr.qvd (qvd); DROP FIELDS [PO Key]; When I have the results back for the PO Total, the ones where there is no match it will show as '-' ? I want it to appear as 0 as I would expected from the abive If Isnull logic? Any ideas how to get round this? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548537#M691162</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2013-08-29T15:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Left join and isnull</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548538#M691163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(IsNull([PO Total]), 0, [PO Total]) as [PO Total]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548538#M691163</guid>
      <dc:creator />
      <dc:date>2013-08-29T15:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Left join and isnull</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548539#M691164</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can use the NullasValue variable to show the null into some value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So the syntax will be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NullAsValue A,B;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set NullValue = '0';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load A,B from x.csv;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Regards,&lt;/P&gt;&lt;P class="Code"&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548539#M691164</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-08-29T15:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Left join and isnull</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548540#M691165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have tried that also but still shows the missing values as '-' Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548540#M691165</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2013-08-29T15:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Left join and isnull</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548541#M691166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik Solanki, Not sure what you mean, how would I do this on my current script? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548541#M691166</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2013-08-29T15:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Left join and isnull</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548542#M691167</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Just put this at the start of your script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NullAsValue [PO Total]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set NullValue = '0';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reload the app and see the change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:12:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548542#M691167</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-08-29T15:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Left join and isnull</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548543#M691168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe the problem isn't that you have a null, but you have an incorrect value on the table. Check the values of the field once you have loaded it, withouth making any transformation on it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV uses the '-' when cannot calculate something...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548543#M691168</guid>
      <dc:creator />
      <dc:date>2013-08-29T15:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Left join and isnull</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548544#M691169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik Solanki, I have tried this by putting at the start of script, but it does not seem to have done anything? Is it meant to be two different names NullAsValue &amp;amp; NullValue? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:24:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548544#M691169</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2013-08-29T15:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Left join and isnull</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548545#M691170</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You should use NullAsValue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you want you can go to Help and get the details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:26:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548545#M691170</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-08-29T15:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Left join and isnull</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548546#M691171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I've put the below script before the start of the Load NullAsValue [PO Total Changes]; Set NullValue = '0'; Do I need to change my existing If Isnull formula? Should I be creating a variable on the "Variable Overview" ? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548546#M691171</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2013-08-29T15:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Left join and isnull</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548547#M691172</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No I said put it before your load Statement, you can out in main table below the variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Not within the load statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 15:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548547#M691172</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-08-29T15:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Left join and isnull</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548548#M691173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have put it at the start of script i.e. on the Main tab but still doesn't work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 21:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-and-isnull/m-p/548548#M691173</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2013-08-29T21:30:39Z</dc:date>
    </item>
  </channel>
</rss>

