<?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: Last 12 Months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-12-Months/m-p/1195574#M385736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny . It works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Oct 2016 09:27:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-10-28T09:27:07Z</dc:date>
    <item>
      <title>Last 12 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-12-Months/m-p/1195572#M385734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I managed to set up the set analysis &lt;SPAN style="font-size: 16px;"&gt;expression&amp;nbsp; &lt;/SPAN&gt;that generates the sum of the &lt;STRONG&gt;rolling 12-month&lt;/STRONG&gt; from &lt;SPAN style="font-size: 16px;"&gt;MAX&amp;nbsp; &lt;/SPAN&gt;the month loaded data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;But the problem is that by selecting one/many month (&lt;SPAN style="font-size: 13.3333px;"&gt;MMMYYYY&lt;/SPAN&gt;) of the selection list, it takes &lt;SPAN style="font-size: 16px;"&gt;maximum &lt;/SPAN&gt;months slected as the reference !!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set analysis expression is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[MARQUE]={'BMW'},YYYY= ,MMM= ,MMMYYYY=,[&lt;SPAN style="font-size: 13.3333px;"&gt;MMMYYYY&lt;/SPAN&gt;]={'&amp;gt;=&lt;STRONG&gt;$&lt;/STRONG&gt;(=AddMonths(max([&lt;SPAN style="font-size: 13.3333px;"&gt;MMMYYYY&lt;/SPAN&gt;]),-11))'}&amp;gt;&lt;/P&gt;&lt;P&gt;+&amp;lt;[PW]={'286'},&lt;SPAN style="font-size: 13.3333px;"&gt;YYYY&lt;/SPAN&gt;= ,&lt;SPAN style="font-size: 13.3333px;"&gt;MMM&lt;/SPAN&gt;= ,&lt;SPAN style="font-size: 13.3333px;"&gt;MMMYYYY&lt;/SPAN&gt;= ,[&lt;SPAN style="font-size: 13.3333px;"&gt;MMMYYYY&lt;/SPAN&gt;]={'&amp;gt;=&lt;STRONG&gt;$&lt;/STRONG&gt;(=AddMonths(max([&lt;SPAN style="font-size: 13.3333px;"&gt;MMMYYYY&lt;/SPAN&gt;]),-11))'}&amp;gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 16:40:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-12-Months/m-p/1195572#M385734</guid>
      <dc:creator />
      <dc:date>2016-10-26T16:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Last 12 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-12-Months/m-p/1195573#M385735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;[MARQUE]={'BMW'},YYYY= ,MMM= ,MMMYYYY=,[MMMYYYY]={'&amp;gt;=$(=AddMonths(Max(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt;[MMMYYYY]),-11))'}&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+&amp;lt;[PW]={'286'},YYYY= ,MMM= ,MMMYYYY= ,[MMMYYYY]={'&amp;gt;=$(=AddMonths(Max(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{1}&lt;/STRONG&gt;[MMMYYYY]),-11))'}&amp;gt;Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 16:49:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-12-Months/m-p/1195573#M385735</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-26T16:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Last 12 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-12-Months/m-p/1195574#M385736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny . It works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 09:27:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-12-Months/m-p/1195574#M385736</guid>
      <dc:creator />
      <dc:date>2016-10-28T09:27:07Z</dc:date>
    </item>
  </channel>
</rss>

