<?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 Calculation on the last 12 months in a chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculation-on-the-last-12-months-in-a-chart/m-p/608403#M224680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt; i met an problem with an chart i want to create but i can't i dont know why it doesn't work...&lt;/P&gt;&lt;P&gt;i try to have the total of an indicator during the last 12 month and for every month (of the current year (or max year) ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My set analysis is&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;Année=,Mois=,Période=,Date={"&amp;gt;=$(=MonthStart(AddMonths(Max([Date]),-12))) &amp;lt;$(=MonthEnd(Max([Date])))"}&amp;gt;}[indicator])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see on the print , the "MonthStart(AddMonths(Max([Date]),-12)))" and the "MonthEnd(Max([Date])" give me the good period for every month but the final calculation is wrong and i don t know the origin of the problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlikview.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/53501_qlikview.png" style="width: 620px; height: 471px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if somebody could help me...&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Feb 2014 17:21:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-19T17:21:08Z</dc:date>
    <item>
      <title>Calculation on the last 12 months in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-on-the-last-12-months-in-a-chart/m-p/608403#M224680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt; i met an problem with an chart i want to create but i can't i dont know why it doesn't work...&lt;/P&gt;&lt;P&gt;i try to have the total of an indicator during the last 12 month and for every month (of the current year (or max year) ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My set analysis is&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;Année=,Mois=,Période=,Date={"&amp;gt;=$(=MonthStart(AddMonths(Max([Date]),-12))) &amp;lt;$(=MonthEnd(Max([Date])))"}&amp;gt;}[indicator])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see on the print , the "MonthStart(AddMonths(Max([Date]),-12)))" and the "MonthEnd(Max([Date])" give me the good period for every month but the final calculation is wrong and i don t know the origin of the problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlikview.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/53501_qlikview.png" style="width: 620px; height: 471px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if somebody could help me...&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 17:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-on-the-last-12-months-in-a-chart/m-p/608403#M224680</guid>
      <dc:creator />
      <dc:date>2014-02-19T17:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation on the last 12 months in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-on-the-last-12-months-in-a-chart/m-p/608404#M224681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set analysis expression calculate one set per chart, not a set per row. If you use Mois as dimension and want a rolling 12 month sum per month you can use an AsOf table. See this document for a description of the problem and possible solutions: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-4252" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 17:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-on-the-last-12-months-in-a-chart/m-p/608404#M224681</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-02-19T17:29:41Z</dc:date>
    </item>
  </channel>
</rss>

