<?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 filter on data column in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798335#M64611</link>
    <description>&lt;P&gt;Yes but like I mentioned in the question this does not work because then the filter on TYPE is lost and all currencies are shown in the chart&lt;/P&gt;</description>
    <pubDate>Fri, 09 Apr 2021 13:10:58 GMT</pubDate>
    <dc:creator>jellejansen</dc:creator>
    <dc:date>2021-04-09T13:10:58Z</dc:date>
    <item>
      <title>Cumulative sum with filter on data column</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798271#M64596</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a long format table, attached as xls doc. The table contains three columns, date, type (which currency) and the daily return.&amp;nbsp; I want to create a chart that shows the cumulative return only for the EUR (so not the USD).&amp;nbsp; I do not want to use the data load editor for this. The chart should look as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jellejansen_0-1617963142832.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/52731iE04840063388D9FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jellejansen_0-1617963142832.png" alt="jellejansen_0-1617963142832.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jellejansen_0-1617965263027.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/52734iD52DD7D2952E0CE6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jellejansen_0-1617965263027.png" alt="jellejansen_0-1617965263027.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried setting the 'modifier' to 'Accumulated' but then it shows all currencies and not just the EUR.&lt;/P&gt;&lt;P&gt;Any ideas on doing this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jelle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 20:40:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798271#M64596</guid>
      <dc:creator>jellejansen</dc:creator>
      <dc:date>2021-12-22T20:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum with filter on data column</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798277#M64598</link>
      <description>&lt;P&gt;Have you tried adding add set analysis to your expression?&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Type={'EUR'}&amp;gt;} Return)&lt;/P&gt;&lt;P&gt;Then, use &lt;SPAN&gt;Accumulated.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you only have 1 value per Date for EUR, sum should work.&amp;nbsp; You could also use Avg or Only.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 10:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798277#M64598</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-04-09T10:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum with filter on data column</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798281#M64600</link>
      <description>&lt;P&gt;Yes I have tried that but it doesn't work because i have multiple returns per date (which I should have shown in the xls example I suppose). So every date will have multiple returns because i have several different currencies.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 10:31:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798281#M64600</guid>
      <dc:creator>jellejansen</dc:creator>
      <dc:date>2021-04-09T10:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum with filter on data column</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798286#M64602</link>
      <description>&lt;P&gt;Does each currency on have 1 entry per date?&amp;nbsp; Are there mulitple entries per Date for Type='EUR'?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 10:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798286#M64602</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-04-09T10:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum with filter on data column</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798290#M64603</link>
      <description>&lt;P&gt;I have updated the xls so the example is a bit more clear. each currency has one return figure per date and the dates are the same for all currencies (as seen in the updated data example)&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 10:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798290#M64603</guid>
      <dc:creator>jellejansen</dc:creator>
      <dc:date>2021-04-09T10:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum with filter on data column</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798296#M64604</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Based on the data in the spreadsheet, this statement should work fine.&amp;nbsp; Note:&amp;nbsp; I did change the capitalization to match the field names in the spreadsheet.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum({$&amp;lt;TYPE={'EUR'}&amp;gt;} RETURN)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 10:57:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798296#M64604</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-04-09T10:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum with filter on data column</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798303#M64606</link>
      <description>&lt;P&gt;Well that does not give the cumulative return, just the daily return. I suspect we need to do something with&amp;nbsp;&lt;STRONG&gt;Aggr, RangeSum and Above&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 11:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798303#M64606</guid>
      <dc:creator>jellejansen</dc:creator>
      <dc:date>2021-04-09T11:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum with filter on data column</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798310#M64607</link>
      <description>&lt;P&gt;You should be able to set the Modifier to Accumulation for the measure in your line chart.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 11:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798310#M64607</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-04-09T11:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum with filter on data column</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798335#M64611</link>
      <description>&lt;P&gt;Yes but like I mentioned in the question this does not work because then the filter on TYPE is lost and all currencies are shown in the chart&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 13:10:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-sum-with-filter-on-data-column/m-p/1798335#M64611</guid>
      <dc:creator>jellejansen</dc:creator>
      <dc:date>2021-04-09T13:10:58Z</dc:date>
    </item>
  </channel>
</rss>

