<?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/1381771#M613083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For May&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;Sum({&amp;lt;MonthName = {'$(=Max(MonthName))'}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For May - April &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;Sum({&amp;lt;MonthName = {'$(=Max(MonthName))'}&amp;gt;} Sales) - &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;Sum({&amp;lt;MonthName = {'$(=AddMonths(Max(MonthName),-1))'}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Sep 2017 13:16:46 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-09-20T13:16:46Z</dc:date>
    <item>
      <title>Last 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-12-months/m-p/1381770#M613082</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 have extracted the data for the last 12 months and now need to do month on month analysis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a user selects lets say May 2017, I need to show the data for May and difference from April, ie May - April. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So do I use GetFieldSelections and then use Addmonths(month, -1)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In another table I need to show a trend as well, so to sort the data from last month to the current month, how would I sort it?&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, 20 Sep 2017 13:01:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-12-months/m-p/1381770#M613082</guid>
      <dc:creator>qliktech_uk</dc:creator>
      <dc:date>2017-09-20T13:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Last 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-12-months/m-p/1381771#M613083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For May&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;Sum({&amp;lt;MonthName = {'$(=Max(MonthName))'}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For May - April &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;Sum({&amp;lt;MonthName = {'$(=Max(MonthName))'}&amp;gt;} Sales) - &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;Sum({&amp;lt;MonthName = {'$(=AddMonths(Max(MonthName),-1))'}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 13:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-12-months/m-p/1381771#M613083</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-20T13:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Last 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-12-months/m-p/1381772#M613084</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 style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Sum({&amp;lt;MonthName = {"$(=Max(MonthName))"}&amp;gt;} Sales) - &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; font-size: 10pt;"&gt;Sum({&amp;lt;MonthName&amp;nbsp; = {"$(=AddMonths(Max(MonthName),-1))}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; font-size: 10pt;"&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Pratik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 13:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-12-months/m-p/1381772#M613084</guid>
      <dc:creator>mostwanted123</dc:creator>
      <dc:date>2017-09-20T13:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Last 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-12-months/m-p/1381773#M613085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. Shouldnt the months be ordered?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 14:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-12-months/m-p/1381773#M613085</guid>
      <dc:creator>qliktech_uk</dc:creator>
      <dc:date>2017-09-20T14:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Last 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-12-months/m-p/1381774#M613086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Means&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 14:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-12-months/m-p/1381774#M613086</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-20T14:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Last 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-12-months/m-p/1381775#M613087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I have months from May 17 to Apr 16, I cant use the month numbers as then december would be 12 and I will get the max as December. How would I manage the order of the months&lt;/P&gt;&lt;P&gt;5,4,3,2,1,12,11,10,9,8,7,6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would I have to create an inline table to define this order. If so wouldnt I have to manually change it for each month?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 15:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-12-months/m-p/1381775#M613087</guid>
      <dc:creator>qliktech_uk</dc:creator>
      <dc:date>2017-09-20T15:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Last 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-12-months/m-p/1381776#M613088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use MonthNum / MonthName as Dimension and expression where i gave you can use and check..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 15:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-12-months/m-p/1381776#M613088</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-20T15:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Last 12 months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-12-months/m-p/1381777#M613089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Anil. Testing it, will let you know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 18:10:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-12-months/m-p/1381777#M613089</guid>
      <dc:creator>qliktech_uk</dc:creator>
      <dc:date>2017-09-20T18:10:34Z</dc:date>
    </item>
  </channel>
</rss>

