<?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: Past 3 month graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Past-3-month-graph/m-p/656401#M674946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was able to do what I did originally, it shows the first 3 months like I want it to, however, if you click on a month, it just filters down to that month, instead of also showing the 2 previous months according to that month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: I was doing some more testing and when you click on a month, it will show the previous 3 months for the month, but it will still keep whatever was last seen, is there a way to get rid of the months after the one clicked one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDITEDIT: So I figured out the problem, had misspelled the second statement, which is why it did not have a max, thanks so much for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2014 17:47:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-11T17:47:56Z</dc:date>
    <item>
      <title>Past 3 month graph</title>
      <link>https://community.qlik.com/t5/QlikView/Past-3-month-graph/m-p/656398#M674943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to have a graph filter for the last 3 months when a month is selected. For example, if April is selected as a filter, then in the graph it will show February, March, and April. I understand the AddMonths function can select previous months if using a negative value, however, it always just selects one. I can't seem to find a way to make it select all 3. I know it is a logic problem, I just can't seem to get the right answer. Any suggestions would be appreciated. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 16:04:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Past-3-month-graph/m-p/656398#M674943</guid>
      <dc:creator />
      <dc:date>2014-08-11T16:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Past 3 month graph</title>
      <link>https://community.qlik.com/t5/QlikView/Past-3-month-graph/m-p/656399#M674944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach a sample file please. Its easier to debug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 16:59:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Past-3-month-graph/m-p/656399#M674944</guid>
      <dc:creator />
      <dc:date>2014-08-11T16:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Past 3 month graph</title>
      <link>https://community.qlik.com/t5/QlikView/Past-3-month-graph/m-p/656400#M674945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider that you have below data...&lt;/P&gt;&lt;P&gt;From Date field we have created MonthYear which can be used in your chart...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=========================================&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; *, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Month(Date) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(MonthStart(Date#(Date,'DD/MM/YYYY')),'MMM YYYY') as MonthYear&lt;/P&gt;&lt;P&gt;Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date, Sales&lt;/P&gt;&lt;P&gt;&amp;nbsp; 15/08/2013, 120&lt;/P&gt;&lt;P&gt;&amp;nbsp; 22/09/2013, 100&lt;/P&gt;&lt;P&gt;&amp;nbsp; 05/10/2013, 1000&lt;/P&gt;&lt;P&gt;&amp;nbsp; 15/11/2013, 280&lt;/P&gt;&lt;P&gt;&amp;nbsp; 28/12/2013, 75&lt;/P&gt;&lt;P&gt;&amp;nbsp; 01/01/2014, 100&lt;/P&gt;&lt;P&gt;&amp;nbsp; 10/02/2014, 150&lt;/P&gt;&lt;P&gt;&amp;nbsp; 25/03/2014, 250&lt;/P&gt;&lt;P&gt;&amp;nbsp; 11/04/2014, 110&lt;/P&gt;&lt;P&gt;&amp;nbsp; 15/05/2014, 300&lt;/P&gt;&lt;P&gt;&amp;nbsp; 15/06/2014, 600&lt;/P&gt;&lt;P&gt;&amp;nbsp; 10/07/2014, 240&lt;/P&gt;&lt;P&gt;&amp;nbsp; 05/08/2014, 100&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;==============================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a Bar Chart or Straight Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;MonthYear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;MonthYear = , Date = {'&amp;gt;=$(=AddMonths(Max(MonthYear),-2))&amp;lt;=$(=AddMonths(Max(MonthYear),1))'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;==============================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a list box for MonthYear and try to select any MonthYear... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is what you want...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 17:05:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Past-3-month-graph/m-p/656400#M674945</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-08-11T17:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Past 3 month graph</title>
      <link>https://community.qlik.com/t5/QlikView/Past-3-month-graph/m-p/656401#M674946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was able to do what I did originally, it shows the first 3 months like I want it to, however, if you click on a month, it just filters down to that month, instead of also showing the 2 previous months according to that month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: I was doing some more testing and when you click on a month, it will show the previous 3 months for the month, but it will still keep whatever was last seen, is there a way to get rid of the months after the one clicked one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDITEDIT: So I figured out the problem, had misspelled the second statement, which is why it did not have a max, thanks so much for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 17:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Past-3-month-graph/m-p/656401#M674946</guid>
      <dc:creator />
      <dc:date>2014-08-11T17:47:56Z</dc:date>
    </item>
  </channel>
</rss>

