<?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: Handling null values in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Handling-null-values-in-expression/m-p/18592#M3090</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;In your script you can check each of those data point for null using IsNull() function and substitute 0 for Null value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively in chart try putting 0 for Null Symbol. Not sure if this will help but I'm sure script check above should help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2018 12:11:14 GMT</pubDate>
    <dc:creator>vvira1316</dc:creator>
    <dc:date>2018-04-11T12:11:14Z</dc:date>
    <item>
      <title>Handling null values in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-null-values-in-expression/m-p/18591#M3089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have below expression in pivot table where in I get '-'&amp;nbsp;&amp;nbsp; ie Null&amp;nbsp; in few records. Instead of null I want to put '0' .&lt;/P&gt;&lt;P&gt;So that when I calculate Final column which is addition of 3 columns it displays correct figure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If one of the 3 columns is null then Final column also shows null and does not calculate the remaining two columns sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([Amount (ABC)]&amp;gt;'0',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if(CATEGORY='Specialist' and [IT PV]&amp;gt;='1.90' and [IT PV]&amp;lt;'2.10' ,'300',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(CATEGORY='Super Specialist' and [IT PV]&amp;gt;='2.10' and [IT APV]&amp;lt;'2.30' ,'500', &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(CATEGORY='Super Specialist' and [IT PV]&amp;gt;='2.30' ,'700',0))))&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help to get 0 instead of null in above expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Chintan Gala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 11:46:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-null-values-in-expression/m-p/18591#M3089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-11T11:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Handling null values in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-null-values-in-expression/m-p/18592#M3090</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;In your script you can check each of those data point for null using IsNull() function and substitute 0 for Null value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively in chart try putting 0 for Null Symbol. Not sure if this will help but I'm sure script check above should help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 12:11:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-null-values-in-expression/m-p/18592#M3090</guid>
      <dc:creator>vvira1316</dc:creator>
      <dc:date>2018-04-11T12:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Handling null values in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-null-values-in-expression/m-p/18593#M3091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if the issue is null or missing values... if the problem is missing values, then you might have to generate those in the script&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3786"&gt;Generating Missing Data In QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 12:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-null-values-in-expression/m-p/18593#M3091</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-11T12:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Handling null values in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-null-values-in-expression/m-p/18594#M3092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some cases we get'0' whereas for some we are getting'-' . &lt;/P&gt;&lt;P&gt;Instead of'-'&amp;nbsp; we need to show'0'.&lt;/P&gt;&lt;P&gt;As we are adding 3 columns to get final result. &lt;/P&gt;&lt;P&gt;If any of the column has '-' then final column also show'-' and not sum of other two columns. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 14:34:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-null-values-in-expression/m-p/18594#M3092</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-11T14:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Handling null values in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-null-values-in-expression/m-p/18595#M3093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first part is working perfectly fine. &lt;/P&gt;&lt;P&gt;Second part did not work , it just substitutes null '-' with 0 as a symbol and not numeral '0' which we need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Chintan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 06:27:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-null-values-in-expression/m-p/18595#M3093</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-12T06:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Handling null values in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-null-values-in-expression/m-p/18596#M3094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That may happen in Qlik when a data point has mix of text/char and numbers it will consider that as string rather than numeric. You could use Num function for that. Glad that you were able to get it working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 11:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-null-values-in-expression/m-p/18596#M3094</guid>
      <dc:creator>vvira1316</dc:creator>
      <dc:date>2018-04-12T11:51:25Z</dc:date>
    </item>
  </channel>
</rss>

