<?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: Cumulative Sum Based on Dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Based-on-Dimensions/m-p/816968#M471622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In acceding order it's working fine, but in in descending order it's not working. &lt;/P&gt;&lt;P&gt;please help me to in descending order because we have 10 years information and i need to display last year cumulative value &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Aug 2015 06:40:01 GMT</pubDate>
    <dc:creator>alibd225</dc:creator>
    <dc:date>2015-08-06T06:40:01Z</dc:date>
    <item>
      <title>Cumulative Sum Based on Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Based-on-Dimensions/m-p/816962#M471616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, i was searching for answers to a problem I'm trying to solve, but I could not do it with what I found. So here is my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 dimensions, Filial, Data and Codigo_Produto. For those 3, there is the field QTDE_ENTRADA, that can be seen on the fourth column ( entradas ). This column is a basic sum ( Sum(QTDE_ENTRADA) ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I have the last column that should be a cumulative column. Basically, it should respect the FILIAL and CODIGO_PRODUTO columns and consider all the previous or equal date in DATA column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for example, the third line should be a sum considering FILIAL and CODIGO_PRODUTO with all the values &amp;lt;= DATA field. So, since third line DATA is "18/12/2014", it should cumulate everything equals or previous than itself (18/12/2014,12/09/2014,12/04/2014)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second line should cumulate itself and previous dates in DATA columns as well (12/09/2014,12/04/2014)...&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Print.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/79649_Print.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I don't know if I could make myself clear, I apologize for my English.&lt;/P&gt;&lt;P&gt;Thanks in advance for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 18:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Based-on-Dimensions/m-p/816962#M471616</guid>
      <dc:creator />
      <dc:date>2015-03-02T18:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum Based on Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Based-on-Dimensions/m-p/816963#M471617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Demote the DATA dimension to last place (i.e. to the third column) and use &lt;EM&gt;rangesum(aggr(sum(QTDE_ENTRADA),0,rowno()))&lt;/EM&gt; as expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 18:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Based-on-Dimensions/m-p/816963#M471617</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-02T18:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum Based on Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Based-on-Dimensions/m-p/816964#M471618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about&amp;nbsp; the following to add up current and previous rows ?&amp;nbsp; sum(Sales) is the basic expression&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum( above(&amp;nbsp; sum(Sales),0,RowNo()))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 18:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Based-on-Dimensions/m-p/816964#M471618</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-03-02T18:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum Based on Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Based-on-Dimensions/m-p/816965#M471619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert, I tried this one but it resulted on 0 for the whole column. I just demoted the column as you told me and tried to use expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 18:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Based-on-Dimensions/m-p/816965#M471619</guid>
      <dc:creator />
      <dc:date>2015-03-02T18:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum Based on Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Based-on-Dimensions/m-p/816966#M471620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Jonathan. Uhm... not sure if I can count on current and previous rows to sum. For example let's suppose I filter my table by an specific date on DATA column, the third for example. Cumulative column should still give me 6. with this expression, the result resets to 2, which is it's own value only, and not a cumulative answer. Is there anyway to cumulate even when filtering ? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 19:03:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Based-on-Dimensions/m-p/816966#M471620</guid>
      <dc:creator />
      <dc:date>2015-03-02T19:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum Based on Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Based-on-Dimensions/m-p/816967#M471621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok.&amp;nbsp; I made an adjustment to disregard a specific filter.&amp;nbsp; Here is the if() expression combined with the rangesum()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( substringcount(Concat(Year,'-'),Year), &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;rangesum( above(&amp;nbsp; sum( {$&amp;lt;Year=&amp;gt;} Sales),0,RowNo())))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/79667_Capture.PNG" style="height: 248px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/79668_Capture2.PNG" style="height: 239px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 20:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Based-on-Dimensions/m-p/816967#M471621</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-03-02T20:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum Based on Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Based-on-Dimensions/m-p/816968#M471622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In acceding order it's working fine, but in in descending order it's not working. &lt;/P&gt;&lt;P&gt;please help me to in descending order because we have 10 years information and i need to display last year cumulative value &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 06:40:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Based-on-Dimensions/m-p/816968#M471622</guid>
      <dc:creator>alibd225</dc:creator>
      <dc:date>2015-08-06T06:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum Based on Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Based-on-Dimensions/m-p/1539779#M471623</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have problem with cumulative sum for multiple dimension,&lt;/P&gt;&lt;P&gt;YearMonth,SKU group,Sku and etc.&lt;/P&gt;&lt;P&gt;for 1st month same value, when coming to 2nd month cumulative no previous month skugroup and SKU.&lt;/P&gt;&lt;P&gt;Yearmonth, Counts, Cumulative&lt;/P&gt;&lt;P&gt;01&amp;nbsp; 10000, 10000&lt;/P&gt;&lt;P&gt;02 5000,15000&lt;/P&gt;&lt;P&gt;03 2000,17000&lt;/P&gt;&lt;P&gt;Cumulative will happen based on skugroup, SKU - month on Month.&lt;/P&gt;&lt;P&gt;if you have time can you help in this in script level&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 16:20:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Based-on-Dimensions/m-p/1539779#M471623</guid>
      <dc:creator>venkatesan_e</dc:creator>
      <dc:date>2019-02-05T16:20:44Z</dc:date>
    </item>
  </channel>
</rss>

