<?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 Last 6 Months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-6-Months/m-p/680463#M1086571</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;PFA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show last 6 months data based on current selection.&lt;/P&gt;&lt;P&gt;I did something but it's not showing properly,&lt;/P&gt;&lt;P&gt;any thing wrong my expression..&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>Sat, 14 Jun 2014 03:32:25 GMT</pubDate>
    <dc:creator>paulwalker</dc:creator>
    <dc:date>2014-06-14T03:32:25Z</dc:date>
    <item>
      <title>Last 6 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-Months/m-p/680463#M1086571</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;PFA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show last 6 months data based on current selection.&lt;/P&gt;&lt;P&gt;I did something but it's not showing properly,&lt;/P&gt;&lt;P&gt;any thing wrong my expression..&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>Sat, 14 Jun 2014 03:32:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-Months/m-p/680463#M1086571</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2014-06-14T03:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-Months/m-p/680464#M1086572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest add new field for month sequence in your calendar table&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/60597_Untitled.png" /&gt;&lt;/P&gt;&lt;P&gt;After that your set analysis should be&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;MonthSeq = {"&amp;gt;=$(=Max(MonthSeq)-6)&amp;lt;=$(=Max(MonthSeq))"}&amp;gt;} Qty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jun 2014 03:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-Months/m-p/680464#M1086572</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2014-06-14T03:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-Months/m-p/680465#M1086573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sokkorn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not working, i want 6 months based on current selection&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jun 2014 04:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-Months/m-p/680465#M1086573</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2014-06-14T04:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-Months/m-p/680466#M1086574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jun 2014 05:36:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-Months/m-p/680466#M1086574</guid>
      <dc:creator>kumarnatarajan</dc:creator>
      <dc:date>2014-06-14T05:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-Months/m-p/680467#M1086575</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;You are almost there but only reason that your expression is failling due to date Format.&lt;/P&gt;&lt;P&gt;By Default it is taking as MM/DD/YYYY&lt;/P&gt;&lt;P&gt;There fore it is showing wrong output.&lt;/P&gt;&lt;P&gt;You can change your variable expression in to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SalesDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),-6),'DD/MM/YYYY') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Just use ,&lt;/P&gt;&lt;P&gt;this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SalesDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;$(=Date(MonthStart(AddMonths(SalesDate,-6)),'DD/MM/YYYY')) &amp;lt;=$(=max(SalesDate))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Qty&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jun 2014 06:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-Months/m-p/680467#M1086575</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-06-14T06:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-Months/m-p/680468#M1086576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is ok, but some values show's 7, but i want last 6 months onlyy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;01/10/2011&lt;/P&gt;&lt;P&gt;01/11/2011&lt;/P&gt;&lt;P&gt;01/12/2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see this date's&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jun 2014 06:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-Months/m-p/680468#M1086576</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2014-06-14T06:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-Months/m-p/680469#M1086577</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;But that was correct,&lt;/P&gt;&lt;P&gt;I checked data for Sales Date=01/12/2011&lt;/P&gt;&lt;P&gt;Then for last 6 month It is between 01/06/2011 to 01/12/2011&lt;/P&gt;&lt;P&gt;Which is correctly given by our expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select Sales Date=01/12/2011,&lt;/P&gt;&lt;P&gt;Then It showing me 7 Date which are&lt;/P&gt;&lt;P&gt;11/06/2011&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -It is showing because it is greater than min range which is 01/06/2011&lt;/P&gt;&lt;P&gt;01/07/2011&lt;/P&gt;&lt;P&gt;01/08/2011&lt;/P&gt;&lt;P&gt;01/09/2011&lt;/P&gt;&lt;P&gt;01/10/2011&lt;/P&gt;&lt;P&gt;01/11/2011&lt;/P&gt;&lt;P&gt;01/12/2011 - It showing because it is our max selection which is 01/12/2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose if you have one more entry between this range then it showing you more than 7&lt;/P&gt;&lt;P&gt;I hope you understand what i want to say&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jun 2014 06:41:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-Months/m-p/680469#M1086577</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-06-14T06:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Last 6 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-6-Months/m-p/680470#M1086578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;HI paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through the following link where u will found , rolling n period details&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jun 2014 06:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-6-Months/m-p/680470#M1086578</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-06-14T06:44:18Z</dc:date>
    </item>
  </channel>
</rss>

