<?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 with Set Analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1604108#M44708</link>
    <description>&lt;P&gt;You can remove 0's by unchecking 'Include zero values' under Add-ons -&amp;gt; Data handling&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jul 2019 11:12:45 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-07-19T11:12:45Z</dc:date>
    <item>
      <title>Cumulative sum with Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1603506#M44670</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;I have an App where are shown some information by month, filtering one year.&lt;BR /&gt;In this App there are 2 tables: in the first one there are the values of the year selected, in the second one there are the values of the previous year (using Set Analysis).&lt;/P&gt;&lt;P&gt;One of the fields is a cumulative sum, based on the values shown in the table.&lt;BR /&gt;In the first table, I was able to get this value, but in the second one I cannot understand how to get it.&lt;/P&gt;&lt;P&gt;The cumulative sum I'm talking about have this formula:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;RangeSum(Before(Sum(([S_ODL.LORDO]-[S_ODL.SCARTITOT])*[DT_ARTICOLI.TCICMEDSTD]/3600),0,NumMese))&lt;/LI-CODE&gt;&lt;P&gt;(&lt;EM&gt;NumMese&lt;/EM&gt; it's the number that represents the month)&lt;/P&gt;&lt;P&gt;Here the Set Analysis I'm trying to mix with that formula:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{$&amp;lt;Anno={$(=Max(Anno)-1)}&amp;gt;}&lt;/LI-CODE&gt;&lt;P&gt;(&lt;EM&gt;Anno&lt;/EM&gt; it's my Year field)&lt;/P&gt;&lt;P&gt;I have tried in many ways (like the one below), but nothing to do.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;RangeSum(Before({$&amp;lt;Anno={$(=Max(Anno)-1)}&amp;gt;} Sum(([S_ODL.LORDO]-[S_ODL.SCARTITOT])*[DT_ARTICOLI.TCICMEDSTD]/3600),0,NumMese))&lt;/LI-CODE&gt;&lt;P&gt;Anyone can help me, please?&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1603506#M44670</guid>
      <dc:creator>RighettiAndrea</dc:creator>
      <dc:date>2024-11-16T20:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum with Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1603885#M44694</link>
      <description>&lt;P&gt;Try to see if one of these work for you&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;RangeSum(Before(Sum({$&amp;lt;Anno={$(=Max(Anno)-1)}&amp;gt;} [S_ODL.LORDO]-[S_ODL.SCARTITOT])*[DT_ARTICOLI.TCICMEDSTD]/3600), 0, NumMese))&lt;/LI-CODE&gt;&lt;P&gt;or&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;RangeSum(Before(Sum({$&amp;lt;Anno={$(=Max(Anno)-1)}&amp;gt;} [S_ODL.LORDO]-[S_ODL.SCARTITOT])*[DT_ARTICOLI.TCICMEDSTD]/3600), 0, Only({$&amp;lt;Anno={$(=Max(Anno)-1)}&amp;gt;}NumMese)))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 18:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1603885#M44694</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-07-18T18:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum with Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1604009#M44701</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I've tried but none of these works unfortunately...&lt;/P&gt;&lt;P&gt;With the second one, I get the value of the Month for the previous year but the table now shows also the months of the year selected, filling the cells with all 0 (zero).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotazione 2019-07-19 081508.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15700iA0901E57C5C6D835/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotazione 2019-07-19 081508.png" alt="Annotazione 2019-07-19 081508.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(The row I'm talking about, it's the penultimate one).&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 06:18:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1604009#M44701</guid>
      <dc:creator>RighettiAndrea</dc:creator>
      <dc:date>2019-07-19T06:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum with Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1604108#M44708</link>
      <description>&lt;P&gt;You can remove 0's by unchecking 'Include zero values' under Add-ons -&amp;gt; Data handling&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 11:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1604108#M44708</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-07-19T11:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum with Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1604149#M44712</link>
      <description>&lt;P&gt;I don't care about zero.&lt;/P&gt;&lt;P&gt;The result should be like the screenschot down here.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotazione 2019-07-19 145140.png" style="width: 442px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15726i9EA3FEAECFA3EC3D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotazione 2019-07-19 145140.png" alt="Annotazione 2019-07-19 145140.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The field named "Progressive Sum" is the one I'm trying to create (as I wrote in the first post).&lt;/P&gt;&lt;P&gt;Thankyou!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 12:54:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1604149#M44712</guid>
      <dc:creator>RighettiAndrea</dc:creator>
      <dc:date>2019-07-19T12:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum with Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1604152#M44714</link>
      <description>&lt;P&gt;The expression looks okay to me... may be if you are able to share a sample to check this, I might be able to help you better?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 12:57:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1604152#M44714</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-07-19T12:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum with Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1604178#M44717</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Annotazione 2019-07-19 152705.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15728iA6A2CCA7E2A544DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotazione 2019-07-19 152705.png" alt="Annotazione 2019-07-19 152705.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The measures in the rectangle are the one I need. I was doing tests with the second one (it's the one I askd for in the post).&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 13:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1604178#M44717</guid>
      <dc:creator>RighettiAndrea</dc:creator>
      <dc:date>2019-07-19T13:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum with Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1604182#M44718</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;RangeSum(Before(Sum({$&amp;lt;Anno={$(=Max(Anno)-1)}&amp;gt;} ([S_ODL.LORDO]-[S_ODL.SCARTITOT])*[DT_ARTICOLI.TCICMEDSTD]/3600), 0, Only({$&amp;lt;Anno={$(=Max(Anno)-1)}&amp;gt;}NumMese)))&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 19 Jul 2019 13:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1604182#M44718</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-07-19T13:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum with Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1604204#M44719</link>
      <description>&lt;P&gt;It worked perfectly!&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 14:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-Set-Analysis/m-p/1604204#M44719</guid>
      <dc:creator>RighettiAndrea</dc:creator>
      <dc:date>2019-07-19T14:55:05Z</dc:date>
    </item>
  </channel>
</rss>

