<?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 to sum Null Values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-sum-Null-Values/m-p/1428734#M430000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;2 options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;tmp:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;LOAD&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; *, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Len&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Data&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) = 0,1,0) &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;AS&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;MyNull&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Len&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Data&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) = 0, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(1, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;('CountNull')), &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(0, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;('CountNull'))) &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;AS&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CountNull&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&amp;nbsp; &lt;BR /&gt; ;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Load&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;inline&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[&lt;BR /&gt; ID&amp;nbsp;&amp;nbsp; ,Data&lt;BR /&gt; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; ,123&lt;BR /&gt; 2&amp;nbsp;&amp;nbsp;&amp;nbsp; ,23&lt;BR /&gt; 3&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt; 5&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt; 6&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt; 7&amp;nbsp;&amp;nbsp;&amp;nbsp; ,453&lt;BR /&gt; 8&amp;nbsp;&amp;nbsp;&amp;nbsp; ,143&lt;BR /&gt; 9&amp;nbsp;&amp;nbsp;&amp;nbsp; ,1&lt;BR /&gt; 10&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt; 11&amp;nbsp;&amp;nbsp; ,211&lt;BR /&gt; 12&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt; 13&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt; 14&amp;nbsp;&amp;nbsp; ,4892&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="countNull.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/184052_countNull.png" style="height: 170px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Nov 2017 15:11:11 GMT</pubDate>
    <dc:creator>el_aprendiz111</dc:creator>
    <dc:date>2017-11-21T15:11:11Z</dc:date>
    <item>
      <title>How to sum Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sum-Null-Values/m-p/1428730#M429996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I would like to create a field in the script which returns Null(Meaning '-') incase i Perform Sum Function on top of it.&lt;/P&gt;&lt;P&gt;I tried the below ways to create the field but when sum is applied on the field it returns 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;'' As Test&lt;/P&gt;&lt;P&gt;Null() AS Test&lt;/P&gt;&lt;P&gt;'-' as Test&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;None of them return '-' instead they return 0 when sum is applied on it like Sum(Test)&lt;/P&gt;&lt;P&gt;Can anyone please let me know how this could be done, so that i get '-' as the result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 08:00:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sum-Null-Values/m-p/1428730#M429996</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2017-11-21T08:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sum-Null-Values/m-p/1428731#M429997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the script:&lt;/P&gt;&lt;P&gt;IF(SUM(MyValue) = 0, NULL(), SUM(MyValue)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 08:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sum-Null-Values/m-p/1428731#M429997</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2017-11-21T08:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sum-Null-Values/m-p/1428732#M429998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum aggregates many values. QV skips over nulls, so if all the values are null, then Sum returns 0 as there was nothing to sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So do you want to show a null &lt;EM&gt;any&lt;/EM&gt; value is null, or if &lt;EM&gt;all&lt;/EM&gt; values are null?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 08:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sum-Null-Values/m-p/1428732#M429998</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-11-21T08:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sum-Null-Values/m-p/1428733#M429999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a pick match expression which returns a field upon which i perform sum() in a chart.&lt;/P&gt;&lt;P&gt;so incase the pick match does'nt yield the right expression i want the sum() in chart to return '-'.&lt;/P&gt;&lt;P&gt;Please let me if this is not clear &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 10:22:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sum-Null-Values/m-p/1428733#M429999</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2017-11-21T10:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum Null Values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sum-Null-Values/m-p/1428734#M430000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;2 options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;tmp:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;LOAD&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; *, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Len&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Data&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) = 0,1,0) &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;AS&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;MyNull&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Len&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Data&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) = 0, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(1, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;('CountNull')), &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(0, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;('CountNull'))) &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;AS&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CountNull&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&amp;nbsp; &lt;BR /&gt; ;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Load&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;inline&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[&lt;BR /&gt; ID&amp;nbsp;&amp;nbsp; ,Data&lt;BR /&gt; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; ,123&lt;BR /&gt; 2&amp;nbsp;&amp;nbsp;&amp;nbsp; ,23&lt;BR /&gt; 3&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt; 5&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt; 6&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt; 7&amp;nbsp;&amp;nbsp;&amp;nbsp; ,453&lt;BR /&gt; 8&amp;nbsp;&amp;nbsp;&amp;nbsp; ,143&lt;BR /&gt; 9&amp;nbsp;&amp;nbsp;&amp;nbsp; ,1&lt;BR /&gt; 10&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt; 11&amp;nbsp;&amp;nbsp; ,211&lt;BR /&gt; 12&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt; 13&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt; 14&amp;nbsp;&amp;nbsp; ,4892&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="countNull.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/184052_countNull.png" style="height: 170px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 15:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sum-Null-Values/m-p/1428734#M430000</guid>
      <dc:creator>el_aprendiz111</dc:creator>
      <dc:date>2017-11-21T15:11:11Z</dc:date>
    </item>
  </channel>
</rss>

