<?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: 0's Instead of null in Edit Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089831#M919273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If Cost is a numeric value then you could use Alt()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Alt(Cost, 0) as Cost&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 May 2016 11:47:56 GMT</pubDate>
    <dc:creator>Colin-Albert</dc:creator>
    <dc:date>2016-05-06T11:47:56Z</dc:date>
    <item>
      <title>0's Instead of null in Edit Script</title>
      <link>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089825#M919267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I wanted to give 0's Instead of null in Edit Script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below fieldname cost has null as well as number ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Item cost]:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ItemCode,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if(isnull(Cost),0,Cost) as Cost&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM [lib://Amazon Data/Item Cost.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ItemCost Temp]:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load ItemCode,avg(Cost) as ItemCost1&lt;/P&gt;&lt;P&gt;RESIDENT [Item cost] group by ItemCode ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table [Item cost];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It didn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089825#M919267</guid>
      <dc:creator>scotly-victor</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: 0's Instead of null in Edit Script</title>
      <link>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089826#M919268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Item cost]:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ItemCode,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;STRONG&gt; if(len(trim(Cost))=0,0,Cost) as Cost&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM [lib://Amazon Data/Item Cost.xlsx]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[ItemCost Temp]:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load ItemCode,avg(Cost) as ItemCost1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RESIDENT [Item cost] group by ItemCode ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;drop table [Item cost];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 11:10:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089826#M919268</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-06T11:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: 0's Instead of null in Edit Script</title>
      <link>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089827#M919269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this link out as well&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikviewaddict.com/2012/04/handling-nulls-in-qlikview.html" title="http://www.qlikviewaddict.com/2012/04/handling-nulls-in-qlikview.html"&gt;QlikView Addict: Handling Nulls in QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 11:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089827#M919269</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-06T11:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: 0's Instead of null in Edit Script</title>
      <link>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089828#M919270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry it didn't work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 11:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089828#M919270</guid>
      <dc:creator>scotly-victor</dc:creator>
      <dc:date>2016-05-06T11:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: 0's Instead of null in Edit Script</title>
      <link>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089829#M919271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the sample data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 11:34:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089829#M919271</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-06T11:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: 0's Instead of null in Edit Script</title>
      <link>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089830#M919272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(isnull(Cost),0,Cost)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works in Front End ,However in Edit Script didn't Work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 11:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089830#M919272</guid>
      <dc:creator>scotly-victor</dc:creator>
      <dc:date>2016-05-06T11:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: 0's Instead of null in Edit Script</title>
      <link>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089831#M919273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If Cost is a numeric value then you could use Alt()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Alt(Cost, 0) as Cost&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 11:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089831#M919273</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-05-06T11:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: 0's Instead of null in Edit Script</title>
      <link>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089832#M919274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that you have some extrange chars on your file. Use RangeAvg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 11:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089832#M919274</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-06T11:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: 0's Instead of null in Edit Script</title>
      <link>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089833#M919275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It had changed rest of numeric value as o &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 12:05:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089833#M919275</guid>
      <dc:creator>scotly-victor</dc:creator>
      <dc:date>2016-05-06T12:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: 0's Instead of null in Edit Script</title>
      <link>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089834#M919276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are there joins later on in the script? If there you are doing joins, then you will need to do this nullcheck on the table that is created after the join&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 12:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089834#M919276</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-06T12:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: 0's Instead of null in Edit Script</title>
      <link>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089835#M919277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item cost]:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ItemCode,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;STRONG&gt; if(len(trim(Cost))=0,0,Cost) as Cost,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;len(cost) as leng&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM [lib://Amazon Data/Item Cost.xlsx]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P class="g-unit"&gt;and display leng..&lt;/P&gt;&lt;P class="almost_half_cell"&gt;&lt;/P&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="short_text" lang="en"&gt;It may be not null, but contain &lt;SPAN&gt;blanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 13:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089835#M919277</guid>
      <dc:creator>florentina_doga</dc:creator>
      <dc:date>2016-05-06T13:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: 0's Instead of null in Edit Script</title>
      <link>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089836#M919278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you elaborate what you mean with 'it didn't work'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you check the first table after the LOAD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[&lt;EM&gt;Item cost]:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ItemCode,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; if(isnull(Cost),0,Cost) as Cost&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;FROM [lib://Amazon Data/Item Cost.xlsx]&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;(ooxml, embedded labels, table is Sheet1);&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;What do you see in field Cost?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You can also calculate your average in a different way&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[ItemCost Temp]:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load ItemCode,&lt;STRONG&gt; Sum(Cost) / Count(ItemCode)&lt;/STRONG&gt;&amp;nbsp; as ItemCost1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RESIDENT [Item cost] group by ItemCode ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;drop table [Item cost];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 13:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089836#M919278</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-06T13:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: 0's Instead of null in Edit Script</title>
      <link>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089837#M919279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I prefer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Alt(Cost, 0) as Cost &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(isnull(Cost),0,Cost) as Cost&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;(as long as Cost is numeric). Its neater and more compact, but maybe that's just me&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 14:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089837#M919279</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-05-06T14:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: 0's Instead of null in Edit Script</title>
      <link>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089838#M919280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, scotly victor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My suggestion is to invert the logic and check the result output. Ex.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;STRONG&gt;isnull(Cost)=0&lt;/STRONG&gt;,Cost,0) as Cost&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I discovered I had a space in the field and correctly function did'nt catch.&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, 06 May 2016 14:11:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089838#M919280</guid>
      <dc:creator>jonas_rezende</dc:creator>
      <dc:date>2016-05-06T14:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: 0's Instead of null in Edit Script</title>
      <link>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089839#M919281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Place this variable in your script.&lt;BR /&gt;SET SETNULLVALUE=0;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This will set all nulls as 0 in your model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 14:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089839#M919281</guid>
      <dc:creator>brijesh1991</dc:creator>
      <dc:date>2016-05-06T14:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: 0's Instead of null in Edit Script</title>
      <link>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089840#M919282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A good way to test different functions, is to apply the functions in a straight table chart as an expression with the raw data filed as the dimension.&lt;/P&gt;&lt;P&gt;You add multiple expressions and compare the raw data to the expression result.&lt;/P&gt;&lt;P&gt;This way you can see the result without needing to reload the data for each test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then once you have an expression that works and is consistent, you can include that in your script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 15:23:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/0-s-Instead-of-null-in-Edit-Script/m-p/1089840#M919282</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-05-06T15:23:04Z</dc:date>
    </item>
  </channel>
</rss>

