<?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: Line Chart to show last 6 months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Line-Chart-to-show-last-6-months/m-p/657324#M538883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understood you right, you want the last 6 month bzw. 6 weeks to be displayed.&lt;/P&gt;&lt;P&gt;First: how do you detect if you want to see weeks or months?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To the solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Switch off any dimension limits&lt;/LI&gt;&lt;LI&gt;In the Presentation tab, activate 'Enable X-Axis Scrollbar'&lt;/LI&gt;&lt;LI&gt;Set 'When Number of Items Exceeds' to 6 (or whatever suits you)&lt;/LI&gt;&lt;LI&gt;activate 'Reversed' so it will take the 6 last values&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should now display the last 6 months/ weeks only, just as you wish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess with that solution you can use simple expressions &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that did help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moritz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. See the attached file where I did what I wrote above&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2014 14:11:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-10T14:11:30Z</dc:date>
    <item>
      <title>Line Chart to show last 6 months</title>
      <link>https://community.qlik.com/t5/QlikView/Line-Chart-to-show-last-6-months/m-p/657323#M538881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Been struggling with this one for a while and although I find info on here it doesn't seem to do what I want or I can't get it to work at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached my qvw file with a graph. The layout is there or there about's, but I would like it to show the last six weeks/months of data regardless of filters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensional limits don't work as there is no latest/last option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been trying expressions like the one below but it only seems to group the last X months together in one column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Sum({&amp;lt; YearDimensionName=, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Quarter&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DimensionName=&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;, Month&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DimensionName&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; =, Date&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DimensionName&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;= {'&amp;gt;=$(=MonthStart(Max(DateDimensionName), -5))&amp;lt;=$(=Date(Max(DateDimensionName)))'}&amp;gt;} MeasureName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Any help appreciated.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 14:35:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-Chart-to-show-last-6-months/m-p/657323#M538881</guid>
      <dc:creator />
      <dc:date>2014-09-09T14:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Line Chart to show last 6 months</title>
      <link>https://community.qlik.com/t5/QlikView/Line-Chart-to-show-last-6-months/m-p/657324#M538883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understood you right, you want the last 6 month bzw. 6 weeks to be displayed.&lt;/P&gt;&lt;P&gt;First: how do you detect if you want to see weeks or months?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To the solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Switch off any dimension limits&lt;/LI&gt;&lt;LI&gt;In the Presentation tab, activate 'Enable X-Axis Scrollbar'&lt;/LI&gt;&lt;LI&gt;Set 'When Number of Items Exceeds' to 6 (or whatever suits you)&lt;/LI&gt;&lt;LI&gt;activate 'Reversed' so it will take the 6 last values&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should now display the last 6 months/ weeks only, just as you wish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess with that solution you can use simple expressions &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that did help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moritz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. See the attached file where I did what I wrote above&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 14:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-Chart-to-show-last-6-months/m-p/657324#M538883</guid>
      <dc:creator />
      <dc:date>2014-09-10T14:11:30Z</dc:date>
    </item>
  </channel>
</rss>

