<?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 null value (or missing value) in source Excel value by 0 in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replace-null-value-or-missing-value-in-source-Excel-value-by-0/m-p/1173744#M633921</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may also use&lt;/P&gt;&lt;P&gt;Alt([Risk factor],0) as RiskFactor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Jun 2016 21:50:20 GMT</pubDate>
    <dc:creator>nagaiank</dc:creator>
    <dc:date>2016-06-12T21:50:20Z</dc:date>
    <item>
      <title>Replace null value (or missing value) in source Excel value by 0 in script</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-null-value-or-missing-value-in-source-Excel-value-by-0/m-p/1173742#M633918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why is this syntax not working?&lt;/P&gt;&lt;P&gt;if(isnull("Risk factor"), '0.0',"Risk factor") as RiskFactor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems it delivers a 0 in Excel but that the zero is not well interpreted as my computation using the RiskFactor are not happening.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jun 2016 19:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-null-value-or-missing-value-in-source-Excel-value-by-0/m-p/1173742#M633918</guid>
      <dc:creator>agaetisproject</dc:creator>
      <dc:date>2016-06-12T19:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Replace null value (or missing value) in source Excel value by 0 in script</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-null-value-or-missing-value-in-source-Excel-value-by-0/m-p/1173743#M633919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found IsNull() to be flaky and return unexpected results sometimes. Instead, I'm using the following formula that also covers an empty string or any number of spaces instead of the value:&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: 13px;"&gt;if(len(trim("Risk factor"))) = 0, 0 ,"Risk factor") as RiskFactor&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Another possible way to convert nulls and zeros into zeros is to use the RangeSum() function :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RangeSum("Risk factor") as RiskFactor&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Any nulls will get converted into zeros.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Check out my new book &lt;A href="http://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=CVZRHMG6CVR2FGTA"&gt;QlikView Your Business &lt;/A&gt;- The Expert Guide for QlikView and Qlik Sense&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jun 2016 20:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-null-value-or-missing-value-in-source-Excel-value-by-0/m-p/1173743#M633919</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-06-12T20:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Replace null value (or missing value) in source Excel value by 0 in script</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-null-value-or-missing-value-in-source-Excel-value-by-0/m-p/1173744#M633921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may also use&lt;/P&gt;&lt;P&gt;Alt([Risk factor],0) as RiskFactor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jun 2016 21:50:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-null-value-or-missing-value-in-source-Excel-value-by-0/m-p/1173744#M633921</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2016-06-12T21:50:20Z</dc:date>
    </item>
  </channel>
</rss>

