<?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 expression logic in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rangesum-expression-logic/m-p/1389058#M799585</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;&lt;/P&gt;&lt;P&gt;maybe you could try with full accumulation of the chart expression.&lt;/P&gt;&lt;P&gt;In order to restart the accumulation per month you might use the month field as second dimension, stack the second dimension (as one date cannot belong to two months there will only ever be one segment per stack), restrict to a common color and turn off the legend. The result could look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_284786_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/186719_QlikCommunity_Thread_284786_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_284786_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/186720_QlikCommunity_Thread_284786_Pic2.JPG" style="height: 150px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_284786_Pic3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/186721_QlikCommunity_Thread_284786_Pic3.JPG" style="height: 366px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_284786_Pic4.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/186722_QlikCommunity_Thread_284786_Pic4.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_284786_Pic5.JPG" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/186723_QlikCommunity_Thread_284786_Pic5.JPG" style="height: 155px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_284786_Pic6.JPG" class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/186724_QlikCommunity_Thread_284786_Pic6.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15131124888581051 jive_text_macro" jivemacro_uid="_15131124888581051"&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(EXCISE_INVOICE_DATE) as MONTH_EXCISE_INVOICE_DATE&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCISE_INVOICE_DATE, NET_WEIGHT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25/08/2017, 2000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 26/08/2017, 4730&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 27/08/2017, 773&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28/08/2017, 3770&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 29/08/2017, 2318&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30/08/2017, 1261&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31/08/2017, 1025&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/09/2017, 2000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02/09/2017, 5307&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03/09/2017, 2520&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Dec 2017 21:02:33 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2017-12-12T21:02:33Z</dc:date>
    <item>
      <title>Rangesum expression logic</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expression-logic/m-p/1389052#M799574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="chart.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/186646_chart.PNG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I have a bar chart&amp;nbsp; &lt;/P&gt;&lt;P&gt;from date 25 it has 2000 value it bas been added to 26th and 25th,26th data is added to the 27 so ...on now on next month the same process is not getting so what will be the expression to achieve if 1dec has value 500 it should show 500 then in 2nd dec it has 1000 it should show 1500 likewise&lt;/P&gt;&lt;P&gt;below is my expression used in chart&lt;/P&gt;&lt;P&gt;sum(DISTINCT aggr(rangesum(above(TOTAL sum(NET_WEIGHT),0, Rowno())),MONTH_EXCISE_INVOICE_DATE,EXCISE_INVOICE_DATE))&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-expression-logic/m-p/1389052#M799574</guid>
      <dc:creator>qlikcheepirishe</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expression logic</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expression-logic/m-p/1389053#M799576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manesh, maybe removing the 'Distinct' clause?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which value is returning now and which value is expected for 1st and 2nd of the month?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 13:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expression-logic/m-p/1389053#M799576</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-12-12T13:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expression logic</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expression-logic/m-p/1389054#M799578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May remove the TOTAL keyword and see if that helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(DISTINCT Aggr(RangeSum(Above(Sum(NET_WEIGHT), 0, RowNo())), MONTH_EXCISE_INVOICE_DATE, EXCISE_INVOICE_DATE))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 13:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expression-logic/m-p/1389054#M799578</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-12T13:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expression logic</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expression-logic/m-p/1389055#M799579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Implemented both of your suggestion not working anything else???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 17:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expression-logic/m-p/1389055#M799579</guid>
      <dc:creator>qlikcheepirishe</dc:creator>
      <dc:date>2017-12-12T17:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expression logic</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expression-logic/m-p/1389056#M799580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1st month values what is actually required and I m getting&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;for 2nd month the expression is required from your expertise...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 18:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expression-logic/m-p/1389056#M799580</guid>
      <dc:creator>qlikcheepirishe</dc:creator>
      <dc:date>2017-12-12T18:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expression logic</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expression-logic/m-p/1389057#M799581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/211603"&gt;omarbensalem&lt;/A&gt;‌ any idea for the requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 18:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expression-logic/m-p/1389057#M799581</guid>
      <dc:creator>qlikcheepirishe</dc:creator>
      <dc:date>2017-12-12T18:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum expression logic</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-expression-logic/m-p/1389058#M799585</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;&lt;/P&gt;&lt;P&gt;maybe you could try with full accumulation of the chart expression.&lt;/P&gt;&lt;P&gt;In order to restart the accumulation per month you might use the month field as second dimension, stack the second dimension (as one date cannot belong to two months there will only ever be one segment per stack), restrict to a common color and turn off the legend. The result could look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_284786_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/186719_QlikCommunity_Thread_284786_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_284786_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/186720_QlikCommunity_Thread_284786_Pic2.JPG" style="height: 150px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_284786_Pic3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/186721_QlikCommunity_Thread_284786_Pic3.JPG" style="height: 366px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_284786_Pic4.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/186722_QlikCommunity_Thread_284786_Pic4.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_284786_Pic5.JPG" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/186723_QlikCommunity_Thread_284786_Pic5.JPG" style="height: 155px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_284786_Pic6.JPG" class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/186724_QlikCommunity_Thread_284786_Pic6.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15131124888581051 jive_text_macro" jivemacro_uid="_15131124888581051"&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(EXCISE_INVOICE_DATE) as MONTH_EXCISE_INVOICE_DATE&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCISE_INVOICE_DATE, NET_WEIGHT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25/08/2017, 2000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 26/08/2017, 4730&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 27/08/2017, 773&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28/08/2017, 3770&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 29/08/2017, 2318&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30/08/2017, 1261&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31/08/2017, 1025&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/09/2017, 2000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02/09/2017, 5307&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03/09/2017, 2520&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 21:02:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-expression-logic/m-p/1389058#M799585</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-12-12T21:02:33Z</dc:date>
    </item>
  </channel>
</rss>

