<?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: compare last two years in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/compare-last-two-years/m-p/822439#M289952</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 this expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For last 12 Months:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;TCMSALESORDERDATE = {"&amp;gt;=$(=MonthStart( Max(TCMSALESORDERDATE),-12))&amp;lt;=$(=Date(Max(TCMSALESORDERDATE)))"}&amp;gt;} LINEAMOUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For last 13 to 24 Months: &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;TCMSALESORDERDATE = {"&amp;gt;=$(=MonthStart(Max(TCMSALESORDERDATE),-24))&amp;lt;=$(=MonthEnd(Max(TCMSALESORDERDATE), -13)"}&amp;gt;} LINEAMOUNT)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps you.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If not working attach some sample file.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Nov 2014 09:05:50 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2014-11-26T09:05:50Z</dc:date>
    <item>
      <title>compare last two years</title>
      <link>https://community.qlik.com/t5/QlikView/compare-last-two-years/m-p/822437#M289950</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 want to report the last two years of my value "lineamount" in a chart&lt;/P&gt;&lt;P&gt;my dimensions are year and month&lt;/P&gt;&lt;P&gt;my expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;TCMSALESORDERDATE = {"&amp;gt;=$(=MonthStart( AddMonths(Max(TCMSALESORDERDATE),-12)))&amp;lt;=$(=Max(TCMSALESORDERDATE))"}&amp;gt;} LINEAMOUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;TCMSALESORDERDATE = {"&amp;gt;=$(=MonthStart( AddMonths(Max(TCMSALESORDERDATE),-24)))&amp;lt;=$(=Max(TCMSALESORDERDATE))"}&amp;gt;} LINEAMOUNT) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i get only one chart in which the values per month are added for the last two years...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can someone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 08:13:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-last-two-years/m-p/822437#M289950</guid>
      <dc:creator />
      <dc:date>2014-11-26T08:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: compare last two years</title>
      <link>https://community.qlik.com/t5/QlikView/compare-last-two-years/m-p/822438#M289951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/576525"&gt;Re: Compare period this year with same period last year.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 08:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-last-two-years/m-p/822438#M289951</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-11-26T08:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: compare last two years</title>
      <link>https://community.qlik.com/t5/QlikView/compare-last-two-years/m-p/822439#M289952</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 this expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For last 12 Months:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;TCMSALESORDERDATE = {"&amp;gt;=$(=MonthStart( Max(TCMSALESORDERDATE),-12))&amp;lt;=$(=Date(Max(TCMSALESORDERDATE)))"}&amp;gt;} LINEAMOUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For last 13 to 24 Months: &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;TCMSALESORDERDATE = {"&amp;gt;=$(=MonthStart(Max(TCMSALESORDERDATE),-24))&amp;lt;=$(=MonthEnd(Max(TCMSALESORDERDATE), -13)"}&amp;gt;} LINEAMOUNT)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps you.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If not working attach some sample file.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 09:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-last-two-years/m-p/822439#M289952</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-11-26T09:05:50Z</dc:date>
    </item>
  </channel>
</rss>

