<?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: RangeSum with Missing Values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364189#M845574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!&amp;nbsp; Vinneth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't gone in the rangesum part yet.&amp;nbsp; I just tried doing Supply Qty - Dmd Qty&amp;nbsp; and it's giving&amp;nbsp; empty or null values in the supply bal column. Thus , I know it's because of the missing values...Is there anyway to convert them to 0?&amp;nbsp; I tried doing if(Isnull(Supplyqty,0,SupplyQty) but doesn't work.&amp;nbsp; and also tried &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Supply_Qty&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;gt; 0, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Supply_Qty&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0)&amp;nbsp; to no avail.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Tks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Apr 2017 18:01:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-07T18:01:42Z</dc:date>
    <item>
      <title>RangeSum with Missing Values</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364185#M845570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&amp;nbsp; I hope someone can help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table with missing values&amp;nbsp; for 2 fields DmdQty and Supply Qty...&amp;nbsp; My objective is to do a rangesum&amp;nbsp; based on Supply -demand...but it's giving me empty cells.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159472_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&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/RangeSum-with-Missing-Values/m-p/1364185#M845570</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with Missing Values</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364186#M845571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample where you see this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 17:44:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364186#M845571</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-07T17:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with Missing Values</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364187#M845572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is Rangesum (DmDQty,SupplyQty) not giving the desired output? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure what is the problem you are pointing out to&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 17:53:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364187#M845572</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-04-07T17:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with Missing Values</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364188#M845573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would assume something like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Above(RangeSum(Sum(Supply_Qty), -Sum(DmdQty)), 0, RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 18:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364188#M845573</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-07T18:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with Missing Values</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364189#M845574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!&amp;nbsp; Vinneth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't gone in the rangesum part yet.&amp;nbsp; I just tried doing Supply Qty - Dmd Qty&amp;nbsp; and it's giving&amp;nbsp; empty or null values in the supply bal column. Thus , I know it's because of the missing values...Is there anyway to convert them to 0?&amp;nbsp; I tried doing if(Isnull(Supplyqty,0,SupplyQty) but doesn't work.&amp;nbsp; and also tried &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Supply_Qty&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;gt; 0, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Supply_Qty&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0)&amp;nbsp; to no avail.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Tks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 18:01:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364189#M845574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-07T18:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with Missing Values</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364190#M845575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeSum(Above(RangeSum(Supply_Qty, -DmdQty), 0, RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 18:03:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364190#M845575</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-07T18:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with Missing Values</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364191#M845576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!&amp;nbsp; Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp; formula only&amp;nbsp; combine combines 2 columns into&amp;nbsp; 1column making demand qty into negatives ...I can actually do another expression field to do a rangesum&amp;nbsp; based on this new field but is there anyway to do it just one expression field?&amp;nbsp; I'm planning to do an N print report and prefer not to see the rangesum field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159500_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 18:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364191#M845576</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-07T18:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with Missing Values</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364192#M845577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that you might have more than one dimension in your chart.... can you try one of these&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeSum(Above(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; RangeSum(Supply_Qty, -DmdQty), 0, RowNo(&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TOTAL&lt;/STRONG&gt;)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeSum(Above(&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TOTAL &lt;/STRONG&gt;RangeSum(Sum(Supply_Qty), -Sum(DmdQty)), 0, RowNo(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TOTAL&lt;/STRONG&gt;&lt;/STRONG&gt;)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 18:41:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364192#M845577</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-07T18:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with Missing Values</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364193#M845578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp; Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It finally works... after spending long&amp;nbsp; hours working on this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 20:36:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364193#M845578</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-07T20:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum with Missing Values</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364194#M845579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!&amp;nbsp; Vinneth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this but it was just&amp;nbsp; combining the 2 columns into 1...as what Sunny pointed out, 'coz probably I have more than one dimension in my chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your time working on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 20:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-with-Missing-Values/m-p/1364194#M845579</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-07T20:38:46Z</dc:date>
    </item>
  </channel>
</rss>

