<?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 Problem with YTD Average Cumulative calculation in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Problem-with-YTD-Average-Cumulative-calculation/m-p/1684767#M52157</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I calculated a YTD average cumulative value grouped by month_year that it is represented as the last day of the month.&lt;/P&gt;&lt;P&gt;(ex. 29/02/2020).&lt;/P&gt;&lt;P&gt;The problem is that when I filter a date month, for example 29/02/2020, I see only the value relative the date selected,&amp;nbsp; while I would like to see also the average cumulative value to January 2020.&lt;/P&gt;&lt;P&gt;The formula I used is:&lt;/P&gt;&lt;P&gt;(RangeSum(Above(sum({&amp;lt; tipo_misura={'Cessazioni'},date_month={"&amp;lt;$(=Addmonths(max(date_month),+1))"},Year={"$(=max(Year(date_month)))"},date_month=&amp;gt;} valore_misura), 0, RowNo()))&lt;BR /&gt;/Max(Num(Month(date_month))))*12&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;Francesca&lt;/P&gt;</description>
    <pubDate>Sun, 15 Mar 2020 13:34:18 GMT</pubDate>
    <dc:creator>francy8326</dc:creator>
    <dc:date>2020-03-15T13:34:18Z</dc:date>
    <item>
      <title>Problem with YTD Average Cumulative calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-with-YTD-Average-Cumulative-calculation/m-p/1684767#M52157</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I calculated a YTD average cumulative value grouped by month_year that it is represented as the last day of the month.&lt;/P&gt;&lt;P&gt;(ex. 29/02/2020).&lt;/P&gt;&lt;P&gt;The problem is that when I filter a date month, for example 29/02/2020, I see only the value relative the date selected,&amp;nbsp; while I would like to see also the average cumulative value to January 2020.&lt;/P&gt;&lt;P&gt;The formula I used is:&lt;/P&gt;&lt;P&gt;(RangeSum(Above(sum({&amp;lt; tipo_misura={'Cessazioni'},date_month={"&amp;lt;$(=Addmonths(max(date_month),+1))"},Year={"$(=max(Year(date_month)))"},date_month=&amp;gt;} valore_misura), 0, RowNo()))&lt;BR /&gt;/Max(Num(Month(date_month))))*12&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;Francesca&lt;/P&gt;</description>
      <pubDate>Sun, 15 Mar 2020 13:34:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-with-YTD-Average-Cumulative-calculation/m-p/1684767#M52157</guid>
      <dc:creator>francy8326</dc:creator>
      <dc:date>2020-03-15T13:34:18Z</dc:date>
    </item>
  </channel>
</rss>

