<?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 CurrentYear MaxMonth vs LastYear MaxMonth in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/CurrentYear-MaxMonth-vs-LastYear-MaxMonth/m-p/823748#M290247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have difficulty to get the result that i want. Below is the result table, basically what i want is to show the Last Month sales amount for each year. The last month for 2008-&amp;gt; Dec, 2009-&amp;gt;Dec, 2010-&amp;gt; Jun. Attached with the data and qvw. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="204"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" width="64"&gt;Year&lt;/TD&gt;&lt;TD class="xl67" width="76"&gt;CurrentYear&lt;/TD&gt;&lt;TD class="xl67" width="64"&gt;Last year&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="17"&gt;2008&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: none;"&gt;136,136&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="17" style="border-top: none;"&gt;2009&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;105,083&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;136,136&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="17" style="border-top: none;"&gt;2010&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;86,978&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;105,083&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Nov 2014 13:43:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-26T13:43:33Z</dc:date>
    <item>
      <title>CurrentYear MaxMonth vs LastYear MaxMonth</title>
      <link>https://community.qlik.com/t5/QlikView/CurrentYear-MaxMonth-vs-LastYear-MaxMonth/m-p/823748#M290247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have difficulty to get the result that i want. Below is the result table, basically what i want is to show the Last Month sales amount for each year. The last month for 2008-&amp;gt; Dec, 2009-&amp;gt;Dec, 2010-&amp;gt; Jun. Attached with the data and qvw. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="204"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" width="64"&gt;Year&lt;/TD&gt;&lt;TD class="xl67" width="76"&gt;CurrentYear&lt;/TD&gt;&lt;TD class="xl67" width="64"&gt;Last year&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="17"&gt;2008&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: none;"&gt;136,136&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="17" style="border-top: none;"&gt;2009&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;105,083&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;136,136&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="17" style="border-top: none;"&gt;2010&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;86,978&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;105,083&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 13:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CurrentYear-MaxMonth-vs-LastYear-MaxMonth/m-p/823748#M290247</guid>
      <dc:creator />
      <dc:date>2014-11-26T13:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: CurrentYear MaxMonth vs LastYear MaxMonth</title>
      <link>https://community.qlik.com/t5/QlikView/CurrentYear-MaxMonth-vs-LastYear-MaxMonth/m-p/823749#M290248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone can help me on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 03:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CurrentYear-MaxMonth-vs-LastYear-MaxMonth/m-p/823749#M290248</guid>
      <dc:creator />
      <dc:date>2014-11-27T03:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: CurrentYear MaxMonth vs LastYear MaxMonth</title>
      <link>https://community.qlik.com/t5/QlikView/CurrentYear-MaxMonth-vs-LastYear-MaxMonth/m-p/823750#M290249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John &lt;/P&gt;&lt;P&gt;Will try with the data provided with you and revert you back with solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kushal T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 03:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CurrentYear-MaxMonth-vs-LastYear-MaxMonth/m-p/823750#M290249</guid>
      <dc:creator>kushalthakral</dc:creator>
      <dc:date>2014-11-27T03:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: CurrentYear MaxMonth vs LastYear MaxMonth</title>
      <link>https://community.qlik.com/t5/QlikView/CurrentYear-MaxMonth-vs-LastYear-MaxMonth/m-p/823751#M290250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First you convert months in number by using num(month(Date))&lt;/P&gt;&lt;P&gt;and then use the following expression&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;MonthNo={$(=(Max(MonthNo)))}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 05:34:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CurrentYear-MaxMonth-vs-LastYear-MaxMonth/m-p/823751#M290250</guid>
      <dc:creator>kushalthakral</dc:creator>
      <dc:date>2014-11-27T05:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: CurrentYear MaxMonth vs LastYear MaxMonth</title>
      <link>https://community.qlik.com/t5/QlikView/CurrentYear-MaxMonth-vs-LastYear-MaxMonth/m-p/823752#M290251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kushal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried but it doesn't give me the correct result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 11:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CurrentYear-MaxMonth-vs-LastYear-MaxMonth/m-p/823752#M290251</guid>
      <dc:creator />
      <dc:date>2014-11-27T11:30:43Z</dc:date>
    </item>
  </channel>
</rss>

