<?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 for different values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/cumulative-sum-for-different-values/m-p/1687917#M52448</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/33013"&gt;@c_pannese&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You have to do it in the back-end.&lt;/P&gt;&lt;P&gt;Create a new field with using this formula:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;&lt;STRONG&gt;If(prod = Previous(prod), (gg + Previous(gg)), gg)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; as CumulativeSum&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;don't forget to put order by clause in where condition (&lt;STRONG&gt;Order By date, prod&lt;/STRONG&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;attached link for the similar issue:&amp;nbsp;&lt;A title="@@@" href="https://community.qlik.com/t5/New-to-Qlik-Sense/Calculation/m-p/1687521/highlight/true#M161029" target="_blank" rel="noopener"&gt;Similar Post&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if works.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;AK&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Mar 2020 02:14:29 GMT</pubDate>
    <dc:creator>ashishkalia</dc:creator>
    <dc:date>2020-03-26T02:14:29Z</dc:date>
    <item>
      <title>cumulative sum for different values</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-sum-for-different-values/m-p/1687902#M52446</link>
      <description>&lt;TABLE border="1" width="65.85365363489262%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="13.048780487804876%" height="22px"&gt;prod&lt;/TD&gt;&lt;TD width="12.804878048780488%" height="22px"&gt;date&lt;/TD&gt;&lt;TD width="12.56097560975611%" height="22px"&gt;gg&lt;/TD&gt;&lt;TD width="27.461923527532214%" height="22px"&gt;Cumulative sum for product&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="13.048780487804876%" height="22px"&gt;A&lt;/TD&gt;&lt;TD width="12.804878048780488%" height="22px"&gt;12/01/20&lt;/TD&gt;&lt;TD width="12.56097560975611%" height="22px"&gt;10&lt;/TD&gt;&lt;TD width="27.461923527532214%" height="22px"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="13.048780487804876%" height="22px"&gt;A&lt;/TD&gt;&lt;TD width="12.804878048780488%" height="22px"&gt;15/02/20&lt;/TD&gt;&lt;TD width="12.56097560975611%" height="22px"&gt;20&lt;/TD&gt;&lt;TD width="27.461923527532214%" height="22px"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="13.048780487804876%" height="22px"&gt;B&lt;/TD&gt;&lt;TD width="12.804878048780488%" height="22px"&gt;18/01/20&lt;/TD&gt;&lt;TD width="12.56097560975611%" height="22px"&gt;5&lt;/TD&gt;&lt;TD width="27.461923527532214%" height="22px"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="13.048780487804876%" height="22px"&gt;C&lt;/TD&gt;&lt;TD width="12.804878048780488%" height="22px"&gt;1/01/20&lt;/TD&gt;&lt;TD width="12.56097560975611%" height="22px"&gt;5&lt;/TD&gt;&lt;TD width="27.461923527532214%" height="22px"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="13.048780487804876%" height="22px"&gt;C&lt;/TD&gt;&lt;TD width="12.804878048780488%" height="22px"&gt;3/03/20&lt;/TD&gt;&lt;TD width="12.56097560975611%" height="22px"&gt;12&lt;/TD&gt;&lt;TD width="27.461923527532214%" height="22px"&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can i obtain the cumulative sum for each product like the column ?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-sum-for-different-values/m-p/1687902#M52446</guid>
      <dc:creator>c_pannese</dc:creator>
      <dc:date>2024-11-16T02:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum for different values</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-sum-for-different-values/m-p/1687917#M52448</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/33013"&gt;@c_pannese&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You have to do it in the back-end.&lt;/P&gt;&lt;P&gt;Create a new field with using this formula:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;&lt;STRONG&gt;If(prod = Previous(prod), (gg + Previous(gg)), gg)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; as CumulativeSum&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;don't forget to put order by clause in where condition (&lt;STRONG&gt;Order By date, prod&lt;/STRONG&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;attached link for the similar issue:&amp;nbsp;&lt;A title="@@@" href="https://community.qlik.com/t5/New-to-Qlik-Sense/Calculation/m-p/1687521/highlight/true#M161029" target="_blank" rel="noopener"&gt;Similar Post&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if works.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;AK&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 02:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-sum-for-different-values/m-p/1687917#M52448</guid>
      <dc:creator>ashishkalia</dc:creator>
      <dc:date>2020-03-26T02:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum for different values</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-sum-for-different-values/m-p/1687934#M52452</link>
      <description>&lt;P&gt;I can't because gg is a measure. In the script i don' t have this field,it is a variabile value.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 05:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-sum-for-different-values/m-p/1687934#M52452</guid>
      <dc:creator>c_pannese</dc:creator>
      <dc:date>2020-03-26T05:17:58Z</dc:date>
    </item>
  </channel>
</rss>

