<?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: Problem with 0 in formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098812#M364828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what exactly do you mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Dominic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2016 08:24:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-07-06T08:24:49Z</dc:date>
    <item>
      <title>Problem with 0 in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098810#M364826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a problem with NULL values in a formula (see screenshot).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The far right column calculates the difference between the left and the middle column. Apparently, it doesn't work when there's a 0 as you can see in the screenshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table is based on data from excel sheets, and in the excel sheets there isn't actually a "0" , it's just a missing value. I guess it has something to to with this, because once i fill a random value into the blank in the excel sheet manually, the calculation works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to solve this issue in qlikview, or do i have to manipulate the excel sheets (which would not really be an option though)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;Dominic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 07:51:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098810#M364826</guid>
      <dc:creator />
      <dc:date>2016-07-06T07:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with 0 in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098811#M364827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dominic, could you post a sample data on how you're loading the data into Qlikview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Andrés&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 08:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098811#M364827</guid>
      <dc:creator>andrespa</dc:creator>
      <dc:date>2016-07-06T08:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with 0 in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098812#M364828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what exactly do you mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Dominic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 08:24:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098812#M364828</guid>
      <dc:creator />
      <dc:date>2016-07-06T08:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with 0 in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098813#M364829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again, I think it has to be with null handling as you said before. I don't know how you're loading the data but something like this might be useful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD*,&lt;/P&gt;&lt;P&gt;&amp;nbsp; B1-A&amp;nbsp; AS C1;&lt;/P&gt;&lt;P&gt;LOAD A, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(IsNull(B),0,B) AS B1 &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, explicit labels, table is Hoja1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Andrés&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 08:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098813#M364829</guid>
      <dc:creator>andrespa</dc:creator>
      <dc:date>2016-07-06T08:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with 0 in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098814#M364830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, as you see the column B is loaded as a null value from excel (on your case you have activated that all null values to load as zero) then if you transform that value on the load script (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt; IF(IsNull(B),0,B) AS B1) and then use a precedent load to make your final calculation (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;B1-A&amp;nbsp; AS C) then as you can see it works.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="screenshot.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/130275_screenshot.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it's clear.&lt;/P&gt;&lt;P&gt;Andrés&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 08:36:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098814#M364830</guid>
      <dc:creator>andrespa</dc:creator>
      <dc:date>2016-07-06T08:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with 0 in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098815#M364831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dominic,&lt;/P&gt;&lt;P&gt;Try as your expression Rangesum(A,-B).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 12:19:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098815#M364831</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-07-06T12:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with 0 in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098816#M364832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one is much more effective indeed. (didn't figure it out before)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Andrés&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 12:50:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098816#M364832</guid>
      <dc:creator>andrespa</dc:creator>
      <dc:date>2016-07-06T12:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with 0 in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098817#M364833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andres,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yeah Rangesum, Rangecount etc. can be real life savers. Sometimes these QlikView specific functions don't come to mind if you are more familiar with other applications but after you use them for the first time they stick in the brain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 13:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098817#M364833</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-07-06T13:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with 0 in formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098818#M364834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all, i tried Andrew's way and it worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 15:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-0-in-formula/m-p/1098818#M364834</guid>
      <dc:creator />
      <dc:date>2016-07-06T15:21:49Z</dc:date>
    </item>
  </channel>
</rss>

