<?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: How can I incorporate null values as zero in a calculation? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558084#M687822</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I use that in context?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Nov 2013 09:45:29 GMT</pubDate>
    <dc:creator>qlikmpate0</dc:creator>
    <dc:date>2013-11-21T09:45:29Z</dc:date>
    <item>
      <title>How can I incorporate null values as zero in a calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558075#M687813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a calculation&amp;nbsp; a- b but sometimes a or be may be null, how can I script this?&lt;/P&gt;&lt;P&gt;my code looks something like this at the moment:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;join&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Temp table)&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;*,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;A&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) - (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;B&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Diff;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 08:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558075#M687813</guid>
      <dc:creator>qlikmpate0</dc:creator>
      <dc:date>2013-11-21T08:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: How can I incorporate null values as zero in a calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558076#M687814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please elaborate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct me if am wrong, what I get from your question above is that sometimes the value of your A/B is equivalent to null therefore you would like to replace it with a zero?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 08:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558076#M687814</guid>
      <dc:creator />
      <dc:date>2013-11-21T08:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can I incorporate null values as zero in a calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558077#M687815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; maybe with&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;join&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Temp table)&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;*,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; if(isnull(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;A), 0, &lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;A&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) - &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;if(isnull(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;B), 0, &lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;B&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Diff;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;join&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Temp table)&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;*,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; if(len(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;A)&amp;gt;0, &lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;A&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;, 0&lt;/SPAN&gt;) - &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;if(len(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;B)&amp;gt;0, &lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;B&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;, 0&lt;/SPAN&gt;)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Diff;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 08:44:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558077#M687815</guid>
      <dc:creator>bbi_mba_76</dc:creator>
      <dc:date>2013-11-21T08:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I incorporate null values as zero in a calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558078#M687816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes I have outer joined two tables therefore I may have one value where A may be null or vice versa, I want to say if this is the case tehn convert the value to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for not being clear.&lt;/P&gt;&lt;P&gt;Mina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 08:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558078#M687816</guid>
      <dc:creator>qlikmpate0</dc:creator>
      <dc:date>2013-11-21T08:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I incorporate null values as zero in a calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558079#M687817</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;Try using Alt() like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt; color: #0000ff;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;*,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;Alt(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;A, 0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) - Alt(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;B, 0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Diff;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Jagan.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 08:59:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558079#M687817</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-11-21T08:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I incorporate null values as zero in a calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558080#M687818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this out,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;if(A = ' ', 0, A);&lt;/P&gt;&lt;P&gt;if(B = ' ', 0, B);&lt;/P&gt;&lt;P&gt;A - B = diff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would do the job.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 09:00:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558080#M687818</guid>
      <dc:creator />
      <dc:date>2013-11-21T09:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can I incorporate null values as zero in a calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558081#M687819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it good practice to do the calculations before the joins?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 09:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558081#M687819</guid>
      <dc:creator>qlikmpate0</dc:creator>
      <dc:date>2013-11-21T09:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I incorporate null values as zero in a calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558082#M687820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Mina&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you looked at using the Nullasvalue() command in your load script ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 09:27:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558082#M687820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-21T09:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I incorporate null values as zero in a calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558083#M687821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, do the joins first then proceed to do the calculations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 09:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558083#M687821</guid>
      <dc:creator />
      <dc:date>2013-11-21T09:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I incorporate null values as zero in a calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558084#M687822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I use that in context?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 09:45:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558084#M687822</guid>
      <dc:creator>qlikmpate0</dc:creator>
      <dc:date>2013-11-21T09:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How can I incorporate null values as zero in a calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558085#M687823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Mina&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Before your Load statement in your load script add a couple of lines similar to this :&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;Set NullValue = '0' ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;Nullasvalue [YourFieldName] ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; 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="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 10:16:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558085#M687823</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-21T10:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How can I incorporate null values as zero in a calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558086#M687824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you Bill, for your prompt response.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 11:10:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558086#M687824</guid>
      <dc:creator>qlikmpate0</dc:creator>
      <dc:date>2013-11-21T11:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I incorporate null values as zero in a calculation?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558087#M687825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all who replied, I ended on using the following:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(isnull(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;A), 0, &lt;/SPAN&gt;(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;A&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) - &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;if(isnull(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;B), 0, &lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;B&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Diff;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Although the other suggestions are equally suitable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cool.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/check.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 11:13:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-incorporate-null-values-as-zero-in-a-calculation/m-p/558087#M687825</guid>
      <dc:creator>qlikmpate0</dc:creator>
      <dc:date>2013-11-21T11:13:14Z</dc:date>
    </item>
  </channel>
</rss>

