<?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 Getting last 6 months of data for current month selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-last-6-months-of-data-for-current-month-selected/m-p/260471#M1184490</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I'm pretty new to Qlikview and I'm trying to display the last 6 months of data based on the current month selected from a list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex. If I have Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sept, Oct in my list box if I clear the data the trending graph should display all months which it does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If however I select only Aug, the graph should display all months from Mar - Aug (that is last 6 months with respect to current selection)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with this?&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, 19 Oct 2011 14:46:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-19T14:46:42Z</dc:date>
    <item>
      <title>Getting last 6 months of data for current month selected</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-last-6-months-of-data-for-current-month-selected/m-p/260471#M1184490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I'm pretty new to Qlikview and I'm trying to display the last 6 months of data based on the current month selected from a list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex. If I have Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sept, Oct in my list box if I clear the data the trending graph should display all months which it does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If however I select only Aug, the graph should display all months from Mar - Aug (that is last 6 months with respect to current selection)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with this?&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, 19 Oct 2011 14:46:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-last-6-months-of-data-for-current-month-selected/m-p/260471#M1184490</guid>
      <dc:creator />
      <dc:date>2011-10-19T14:46:42Z</dc:date>
    </item>
    <item>
      <title>Getting last 6 months of data for current month selected</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-last-6-months-of-data-for-current-month-selected/m-p/260472#M1184491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sajdmalik....what you want ....I mean you want to get the last 6 months sales or what you exactly want&lt;/P&gt;&lt;P&gt;If you want to get salesw of last six month ...than you can go for set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(if(inmonth(Field1, $(vPeriod), -6), Sales))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; here $(vPeriod)=num(MY)&lt;/P&gt;&lt;P&gt;and&amp;nbsp; MY will be&lt;/P&gt;&lt;P&gt;date(monthstart($(vMinDate) + rowno() - 1), 'MMM-YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 09:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-last-6-months-of-data-for-current-month-selected/m-p/260472#M1184491</guid>
      <dc:creator>kamalqlik</dc:creator>
      <dc:date>2011-10-20T09:48:01Z</dc:date>
    </item>
    <item>
      <title>Getting last 6 months of data for current month selected</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-last-6-months-of-data-for-current-month-selected/m-p/260473#M1184493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Kamal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a trending graph that displays the field 'Reporting Period' as Jan-2011, Feb-2011......July-2011 and so on on the X-axis and corresponding cost for a particular metric on the Y-axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what I want is when nothing is selected the trending should be displayed for all the months present in the dataset. But if user selects a particular month for Ex: July-2011 the graph should display months from Feb-2011 up until July-2011 i.e basically the last six months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 12:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-last-6-months-of-data-for-current-month-selected/m-p/260473#M1184493</guid>
      <dc:creator />
      <dc:date>2011-10-20T12:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Getting last 6 months of data for current month selected</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-last-6-months-of-data-for-current-month-selected/m-p/260474#M1184494</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;did u get the solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do the same thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to limit the dimension to 6 months, I mean I want to display previous 6 months from last month or selected month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I want to limit the dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 12:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-last-6-months-of-data-for-current-month-selected/m-p/260474#M1184494</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-09T12:40:24Z</dc:date>
    </item>
  </channel>
</rss>

