<?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: Substitute Zero for NULL Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304520#M1179560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lots of good stuff here, but if you have no data for a particular cell in a straight or pivot table, for example, none of these expressions will even be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can take advantage of QlikView's loosely typed nature and the only operator that doesn't return null when one of its operands is null: &amp;amp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, 0+NULL = NULL, while 0&amp;amp;NULL = 0. It's also important to note that 0&amp;amp;0 = 00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, something like num(0&amp;amp;sum(Sales),'0') can make a value appear where there was none before. You may also need set analysis with {1} to ensure all possible dimension values appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jan 2014 18:57:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-01-31T18:57:47Z</dc:date>
    <item>
      <title>Substitute Zero for NULL Value</title>
      <link>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304513#M1179553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just can't make heads or tails of Qlikview, nothing ever seems to make sense in this tool.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field which may contain NULL values.&amp;nbsp; They display in my pivot table as a "-" which I do not want.&amp;nbsp; In SSRS or any other tool I can write an expression to handle this and change the "-" to 0.&amp;nbsp; How do I do this in Qlikview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now i'm doing the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(IsNull(SUM(diff_clicks)),0,SUM(diff_clicks))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this does not work, I still get the "-" in the fields where there is no number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need someone, in plain English and easy to follow steps, to explain to me how to do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 00:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304513#M1179553</guid>
      <dc:creator />
      <dc:date>2012-01-25T00:11:27Z</dc:date>
    </item>
    <item>
      <title>Substitute Zero for NULL Value</title>
      <link>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304514#M1179554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Try&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NumSum(SUM(diff_clicks))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NumSum will return 0 for a null value.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 00:46:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304514#M1179554</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2012-01-25T00:46:42Z</dc:date>
    </item>
    <item>
      <title>Substitute Zero for NULL Value</title>
      <link>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304515#M1179555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Try Rangesum(SUM(diff_clicks)). The NumSum function is now obsolete.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 02:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304515#M1179555</guid>
      <dc:creator />
      <dc:date>2012-01-25T02:03:35Z</dc:date>
    </item>
    <item>
      <title>Substitute Zero for NULL Value</title>
      <link>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304516#M1179556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I might be wrong, but as fare as i remember there is at property in the pivot table of how null values are displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Henrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 05:30:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304516#M1179556</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-25T05:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Substitute Zero for NULL Value</title>
      <link>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304517#M1179557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt; Go to Presentation Tab:&lt;/P&gt;&lt;P&gt;See the red Circle in Attached File.&lt;/P&gt;&lt;P&gt;Write 0 instead of '-' .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 07:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304517#M1179557</guid>
      <dc:creator />
      <dc:date>2012-01-25T07:09:03Z</dc:date>
    </item>
    <item>
      <title>Substitute Zero for NULL Value</title>
      <link>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304518#M1179558</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 the Alt method like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Alt(SUM(diff_clicks), 0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jagan.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 08:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304518#M1179558</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-01-25T08:02:11Z</dc:date>
    </item>
    <item>
      <title>Substitute Zero for NULL Value</title>
      <link>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304519#M1179559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;lF(IsNull(SUM(diff_clicks)),0,SUM(diff_clicks))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;lF(len(SUM(diff_clicks)),0,SUM(diff_clicks))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;or&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;lF((SUM(diff_clicks))=' ',0,SUM(diff_clicks))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;hope this helps&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 09:01:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304519#M1179559</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2012-01-25T09:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Substitute Zero for NULL Value</title>
      <link>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304520#M1179560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lots of good stuff here, but if you have no data for a particular cell in a straight or pivot table, for example, none of these expressions will even be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can take advantage of QlikView's loosely typed nature and the only operator that doesn't return null when one of its operands is null: &amp;amp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, 0+NULL = NULL, while 0&amp;amp;NULL = 0. It's also important to note that 0&amp;amp;0 = 00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, something like num(0&amp;amp;sum(Sales),'0') can make a value appear where there was none before. You may also need set analysis with {1} to ensure all possible dimension values appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 18:57:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304520#M1179560</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-31T18:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Substitute Zero for NULL Value</title>
      <link>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304521#M1179561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Dimensions clik on "suppress when value is Null".it may help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 19:14:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substitute-Zero-for-NULL-Value/m-p/304521#M1179561</guid>
      <dc:creator>srinivasa1</dc:creator>
      <dc:date>2014-01-31T19:14:13Z</dc:date>
    </item>
  </channel>
</rss>

