<?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 Cumulative Sum QlickView in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-QlickView/m-p/1631947#M733663</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I try to do a cumulative sum in QlickView, in a pivot table, but it doesn't work.&lt;/P&gt;&lt;P&gt;Any help, please?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For example:&lt;/STRONG&gt; 712.490 it must be in line in 201911 and 201912.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have "-".&amp;nbsp;In total, it is calculated right, but in rows, no.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In script I have:&amp;nbsp;&lt;/STRONG&gt;ISNULL(RealizedValue,0), but in the table appears "-".&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For "Insurance" it is okay:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;in 201911 -&amp;gt; 178,768.080 + 178,768.080 = 357,536.160 ,&lt;/P&gt;&lt;P&gt;then in 201912 -&amp;gt; 357,536.160 + 178,768.090 = 536,304.240&lt;/P&gt;&lt;P&gt;Also, for "Broker Fees" it is okay. But for "Management fee+payroll" and "Salaries" I don't know what to do..&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I write this expression:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;RangeSum(before(sum(DISTINCT REALIZEDVALUE),0,ColumnNo()))&lt;BR /&gt;+&lt;BR /&gt;alt(&lt;BR /&gt;sum(DISTINCT&lt;BR /&gt;Aggr(NODISTINCT&lt;BR /&gt;sum (&lt;BR /&gt;{1&lt;BR /&gt;&amp;lt;PERIOD={"&amp;lt; $(=Max(PeriodNumeric))"}&amp;gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;TOTAL &amp;lt;CATEGORY1,CATEGORY2&amp;gt;&lt;BR /&gt;DISTINCT REALIZEDVALUE)&lt;BR /&gt;,CATEGORY1,CATEGORY2)&lt;BR /&gt;)&lt;BR /&gt;,0)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_1.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20813i6FF5F92532E6A386/image-size/large?v=v2&amp;amp;px=999" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Thank you!&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 19:57:05 GMT</pubDate>
    <dc:creator>qbsretail</dc:creator>
    <dc:date>2024-11-16T19:57:05Z</dc:date>
    <item>
      <title>Cumulative Sum QlickView</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-QlickView/m-p/1631947#M733663</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I try to do a cumulative sum in QlickView, in a pivot table, but it doesn't work.&lt;/P&gt;&lt;P&gt;Any help, please?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For example:&lt;/STRONG&gt; 712.490 it must be in line in 201911 and 201912.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have "-".&amp;nbsp;In total, it is calculated right, but in rows, no.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In script I have:&amp;nbsp;&lt;/STRONG&gt;ISNULL(RealizedValue,0), but in the table appears "-".&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For "Insurance" it is okay:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;in 201911 -&amp;gt; 178,768.080 + 178,768.080 = 357,536.160 ,&lt;/P&gt;&lt;P&gt;then in 201912 -&amp;gt; 357,536.160 + 178,768.090 = 536,304.240&lt;/P&gt;&lt;P&gt;Also, for "Broker Fees" it is okay. But for "Management fee+payroll" and "Salaries" I don't know what to do..&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I write this expression:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;RangeSum(before(sum(DISTINCT REALIZEDVALUE),0,ColumnNo()))&lt;BR /&gt;+&lt;BR /&gt;alt(&lt;BR /&gt;sum(DISTINCT&lt;BR /&gt;Aggr(NODISTINCT&lt;BR /&gt;sum (&lt;BR /&gt;{1&lt;BR /&gt;&amp;lt;PERIOD={"&amp;lt; $(=Max(PeriodNumeric))"}&amp;gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;TOTAL &amp;lt;CATEGORY1,CATEGORY2&amp;gt;&lt;BR /&gt;DISTINCT REALIZEDVALUE)&lt;BR /&gt;,CATEGORY1,CATEGORY2)&lt;BR /&gt;)&lt;BR /&gt;,0)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_1.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20813i6FF5F92532E6A386/image-size/large?v=v2&amp;amp;px=999" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Thank you!&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-QlickView/m-p/1631947#M733663</guid>
      <dc:creator>qbsretail</dc:creator>
      <dc:date>2024-11-16T19:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum QlickView</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-QlickView/m-p/1632029#M733664</link>
      <description>&lt;P&gt;You might need to&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-Documents/Generating-Missing-Data-In-QlikView/ta-p/1491394" target="_self"&gt;Generate Missing Data&lt;/A&gt;&amp;nbsp;in order to accomplish this&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 12:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-QlickView/m-p/1632029#M733664</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-10-07T12:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum QlickView</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-QlickView/m-p/1634961#M733665</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Iulian, did Sunny's link get you what you needed?&amp;nbsp; If so, and it provided what you needed, do not forget to use the Accept as Solution Button on Sunny's post to mark it.&amp;nbsp; If you did something else, consider posting that and mark it, and if you are still working upon things, leave an update as to where you stand.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Found the following Design Blog post as well that may be helpful:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Accumulative-Sums/ba-p/1468010" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Accumulative-Sums/ba-p/1468010&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;BR /&gt;Brett&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 13:59:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-QlickView/m-p/1634961#M733665</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-10-14T13:59:43Z</dc:date>
    </item>
  </channel>
</rss>

