<?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 How do I exclude or supress null data from an expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-exclude-or-supress-null-data-from-an-expression/m-p/293891#M1201036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can replace the nulls, but it uses a similar syntax to your expression that isn't working. Looking over the expression, it probably should work. Did you replace the Null symbol in your chart with Null?&lt;/P&gt;&lt;P&gt;In your load you would use:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(IsNull(ServiceDowntime), 0, ServiceDowntime) As ServiceDowntime&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;My worry is that if the logic isn't working in an expression, it may not work in your load either. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Did you have any luck with Marcel's expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Dec 2010 15:29:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-14T15:29:09Z</dc:date>
    <item>
      <title>How do I exclude or supress null data from an expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-exclude-or-supress-null-data-from-an-expression/m-p/293886#M1201031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I hope you can help.&lt;/P&gt;&lt;P&gt;I am trying to calculate Service Downtime from recorded incidents against set SLAs. Where an incident has no downtime we have no data recorded which when we come to reporting on it gives us null results&lt;/P&gt;&lt;P&gt;This is my original expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;((((varMaxDateNum-varMinDateNum)+1)-ServiceDowntime)/((varMaxDateNum-varMinDateNum)+1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;However, it presented null results and these confused other calculations based from the product of this expression.&lt;/P&gt;&lt;P&gt;I have tried this but I still get the Null results showing up.&lt;/P&gt;&lt;P&gt;=if(not isnull(ServiceDowntime),((((varMaxDateNum-varMinDateNum)+1)-ServiceDowntime)/((varMaxDateNum-varMinDateNum)+1)),'1')&lt;/P&gt;&lt;P&gt;What I want to achieve is the Null result to either not appear or return a value of 100% in the chart.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3059_sourceID:3059" /&gt;&lt;/P&gt;&lt;P&gt;Thanks, in advance, for your time.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 13:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-exclude-or-supress-null-data-from-an-expression/m-p/293886#M1201031</guid>
      <dc:creator />
      <dc:date>2010-12-14T13:08:54Z</dc:date>
    </item>
    <item>
      <title>How do I exclude or supress null data from an expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-exclude-or-supress-null-data-from-an-expression/m-p/293887#M1201032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Rob, for null values in set analysis is something like this (untested) :&lt;/P&gt;&lt;P&gt;Normal 0 21 false false false ES X-NONE X-NONE MicrosoftInternetExplorer4&lt;/P&gt;&lt;P&gt;=sum({$-&amp;lt;ServiceDowntime= -{} &amp;gt;}ServiceDowntime)&lt;/P&gt;&lt;P&gt;I'm not pretty sure about what you want, but the point is to do " -{} ".&lt;/P&gt;&lt;P&gt;Hope it helps!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 13:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-exclude-or-supress-null-data-from-an-expression/m-p/293887#M1201032</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2010-12-14T13:38:09Z</dc:date>
    </item>
    <item>
      <title>How do I exclude or supress null data from an expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-exclude-or-supress-null-data-from-an-expression/m-p/293888#M1201033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;Can u send sample application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 14:04:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-exclude-or-supress-null-data-from-an-expression/m-p/293888#M1201033</guid>
      <dc:creator>maneshkhottcpl</dc:creator>
      <dc:date>2010-12-14T14:04:12Z</dc:date>
    </item>
    <item>
      <title>How do I exclude or supress null data from an expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-exclude-or-supress-null-data-from-an-expression/m-p/293889#M1201034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcel - I'll give it a try and let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manesh - not easily there's a lot of sensetive data involved in the search criteria. I'll see if I can strip it down to a 'working' variant with no client data loaded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 14:46:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-exclude-or-supress-null-data-from-an-expression/m-p/293889#M1201034</guid>
      <dc:creator />
      <dc:date>2010-12-14T14:46:23Z</dc:date>
    </item>
    <item>
      <title>How do I exclude or supress null data from an expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-exclude-or-supress-null-data-from-an-expression/m-p/293890#M1201035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a thought is there some way in the script I could replace the null value with a zero without affecting the other values for that field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 14:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-exclude-or-supress-null-data-from-an-expression/m-p/293890#M1201035</guid>
      <dc:creator />
      <dc:date>2010-12-14T14:56:13Z</dc:date>
    </item>
    <item>
      <title>How do I exclude or supress null data from an expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-exclude-or-supress-null-data-from-an-expression/m-p/293891#M1201036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can replace the nulls, but it uses a similar syntax to your expression that isn't working. Looking over the expression, it probably should work. Did you replace the Null symbol in your chart with Null?&lt;/P&gt;&lt;P&gt;In your load you would use:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(IsNull(ServiceDowntime), 0, ServiceDowntime) As ServiceDowntime&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;My worry is that if the logic isn't working in an expression, it may not work in your load either. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Did you have any luck with Marcel's expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 15:29:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-exclude-or-supress-null-data-from-an-expression/m-p/293891#M1201036</guid>
      <dc:creator />
      <dc:date>2010-12-14T15:29:09Z</dc:date>
    </item>
    <item>
      <title>How do I exclude or supress null data from an expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-exclude-or-supress-null-data-from-an-expression/m-p/293892#M1201037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just go to, Presentation &amp;gt; select service availability &amp;gt; mark orbit rows where field is null?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 15:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-exclude-or-supress-null-data-from-an-expression/m-p/293892#M1201037</guid>
      <dc:creator />
      <dc:date>2010-12-14T15:51:06Z</dc:date>
    </item>
  </channel>
</rss>

