<?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 Show last 12 months data based on filter selected &amp; Year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-last-12-months-data-based-on-filter-selected-Year/m-p/1735#M250</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; i have data from Dec2016, to Dec2018 in my report and want to be able to view the last 12months of data from when a date is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have implemented this solution in my report. but i have an issue with the years on the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUM({$&amp;lt;MONTH_NUMERIC = {"&amp;gt;=$(=vMaxMonth-11)&amp;lt;=$(=vMaxMonth)"},Month&amp;gt;} if([Question Category]='Overall Customer Satisfaction',[Question Score],0))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i select the Month Year of "December 2017" for example, i want the data to go back 12months from then. &lt;/P&gt;&lt;P&gt;Using the expression above, expected result is : Dec2017,Nov2017,Oct2017,Sept2017,Aug2017,Jul2017,Jun2017,May2017,Apr2017,Mar2017,Feb2017,Jan2017.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using the expression above, it seems to be including both "December2016" and "December2017", and "January2017" and "January2018" on the chart, irrespective of what year it they are in. so the data now goes from Dec2016 to Jan2018.&lt;/P&gt;&lt;P&gt;how can i handle this?&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jan 2018 20:36:45 GMT</pubDate>
    <dc:creator>triekong</dc:creator>
    <dc:date>2018-01-16T20:36:45Z</dc:date>
    <item>
      <title>Show last 12 months data based on filter selected &amp; Year</title>
      <link>https://community.qlik.com/t5/QlikView/Show-last-12-months-data-based-on-filter-selected-Year/m-p/1735#M250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; i have data from Dec2016, to Dec2018 in my report and want to be able to view the last 12months of data from when a date is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have implemented this solution in my report. but i have an issue with the years on the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUM({$&amp;lt;MONTH_NUMERIC = {"&amp;gt;=$(=vMaxMonth-11)&amp;lt;=$(=vMaxMonth)"},Month&amp;gt;} if([Question Category]='Overall Customer Satisfaction',[Question Score],0))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i select the Month Year of "December 2017" for example, i want the data to go back 12months from then. &lt;/P&gt;&lt;P&gt;Using the expression above, expected result is : Dec2017,Nov2017,Oct2017,Sept2017,Aug2017,Jul2017,Jun2017,May2017,Apr2017,Mar2017,Feb2017,Jan2017.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using the expression above, it seems to be including both "December2016" and "December2017", and "January2017" and "January2018" on the chart, irrespective of what year it they are in. so the data now goes from Dec2016 to Jan2018.&lt;/P&gt;&lt;P&gt;how can i handle this?&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 20:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-last-12-months-data-based-on-filter-selected-Year/m-p/1735#M250</guid>
      <dc:creator>triekong</dc:creator>
      <dc:date>2018-01-16T20:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Show last 12 months data based on filter selected &amp; Year</title>
      <link>https://community.qlik.com/t5/QlikView/Show-last-12-months-data-based-on-filter-selected-Year/m-p/1736#M251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({$&amp;lt;MonthYear = {"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -11), 'MMM-YYYY'))&amp;lt;=$(=Date(Max(MonthYear), 'MMM-YYYY'))"}, Month, [Question Category]= {'Overall Customer Satisfaction'}&amp;gt;} [Question Score])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 20:41:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-last-12-months-data-based-on-filter-selected-Year/m-p/1736#M251</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-16T20:41:17Z</dc:date>
    </item>
  </channel>
</rss>

