<?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: CALCULATE EXPRESSIONS FOR LAST 12 Months !! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/CALCULATE-EXPRESSIONS-FOR-LAST-12-Months/m-p/791623#M1041583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;datefield={"&amp;gt;=$(Date(Addmonths(max(datefield),-12)))&amp;lt;=$(=monthend(addmonths(max(datefield),-1))}&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Dec 2014 07:06:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-08T07:06:49Z</dc:date>
    <item>
      <title>CALCULATE EXPRESSIONS FOR LAST 12 Months !!</title>
      <link>https://community.qlik.com/t5/QlikView/CALCULATE-EXPRESSIONS-FOR-LAST-12-Months/m-p/791618#M1041578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating a report where i need to show data for last 12 months , For e.g ( if i enter date as 5 nov 2014 , then it should show me data from nov 2013 to oct 2014 ) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Till Now i have created a field with MonthName() function in my script which gives me month along with the year like ( Dec 2014 ,sep2013)&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody suggest me the logic which i need to apply over here .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 04:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CALCULATE-EXPRESSIONS-FOR-LAST-12-Months/m-p/791618#M1041578</guid>
      <dc:creator />
      <dc:date>2014-12-08T04:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: CALCULATE EXPRESSIONS FOR LAST 12 Months !!</title>
      <link>https://community.qlik.com/t5/QlikView/CALCULATE-EXPRESSIONS-FOR-LAST-12-Months/m-p/791619#M1041579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;datefield={"&amp;gt;=$(Date(Addmonths(max(datefield),-12)))&amp;lt;=$(=Date(max(datefield)))}&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 05:06:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CALCULATE-EXPRESSIONS-FOR-LAST-12-Months/m-p/791619#M1041579</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-12-08T05:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: CALCULATE EXPRESSIONS FOR LAST 12 Months !!</title>
      <link>https://community.qlik.com/t5/QlikView/CALCULATE-EXPRESSIONS-FOR-LAST-12-Months/m-p/791620#M1041580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/599876"&gt;Re: Set Analysis for last 13 months of Data&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 05:18:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CALCULATE-EXPRESSIONS-FOR-LAST-12-Months/m-p/791620#M1041580</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2014-12-08T05:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: CALCULATE EXPRESSIONS FOR LAST 12 Months !!</title>
      <link>https://community.qlik.com/t5/QlikView/CALCULATE-EXPRESSIONS-FOR-LAST-12-Months/m-p/791621#M1041581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this too&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;DATE={"&amp;gt;=$(=MonthStart(Max(DATE),-12)) &amp;lt;=$(=MonthEnd(Max(DATE)))"}&amp;gt;} SALES)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 06:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CALCULATE-EXPRESSIONS-FOR-LAST-12-Months/m-p/791621#M1041581</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-12-08T06:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: CALCULATE EXPRESSIONS FOR LAST 12 Months !!</title>
      <link>https://community.qlik.com/t5/QlikView/CALCULATE-EXPRESSIONS-FOR-LAST-12-Months/m-p/791622#M1041582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({&amp;lt;datefield={"&amp;gt;=$(Date(Addmonths(max(datefield),-12)))&amp;lt;$(=Date(max(datefield)))}&amp;gt;}Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 07:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CALCULATE-EXPRESSIONS-FOR-LAST-12-Months/m-p/791622#M1041582</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-12-08T07:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: CALCULATE EXPRESSIONS FOR LAST 12 Months !!</title>
      <link>https://community.qlik.com/t5/QlikView/CALCULATE-EXPRESSIONS-FOR-LAST-12-Months/m-p/791623#M1041583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;datefield={"&amp;gt;=$(Date(Addmonths(max(datefield),-12)))&amp;lt;=$(=monthend(addmonths(max(datefield),-1))}&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 07:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CALCULATE-EXPRESSIONS-FOR-LAST-12-Months/m-p/791623#M1041583</guid>
      <dc:creator />
      <dc:date>2014-12-08T07:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: CALCULATE EXPRESSIONS FOR LAST 12 Months !!</title>
      <link>https://community.qlik.com/t5/QlikView/CALCULATE-EXPRESSIONS-FOR-LAST-12-Months/m-p/791624#M1041584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes ashok,you are right .my formula calculate before today and last 12 months&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 07:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CALCULATE-EXPRESSIONS-FOR-LAST-12-Months/m-p/791624#M1041584</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-12-08T07:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: CALCULATE EXPRESSIONS FOR LAST 12 Months !!</title>
      <link>https://community.qlik.com/t5/QlikView/CALCULATE-EXPRESSIONS-FOR-LAST-12-Months/m-p/791625#M1041585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I missed the = sign in set anlysis&lt;/P&gt;&lt;P&gt;update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;datefield={"&amp;gt;=$(&lt;STRONG&gt;=&lt;/STRONG&gt;Date(Addmonths(max(datefield),-12)))&amp;lt;=$(=Date(max(datefield)))}&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 08:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CALCULATE-EXPRESSIONS-FOR-LAST-12-Months/m-p/791625#M1041585</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-12-08T08:34:31Z</dc:date>
    </item>
  </channel>
</rss>

