<?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: Last x Days in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-x-Days/m-p/613728#M226458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A small mistake, the ordering of the variables were wrong in the inline part, correct it as:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Range; RangeStart; RangeEnd&lt;/P&gt;
&lt;P&gt;Last 7 Days; &lt;STRONG&gt;vLast7Days&lt;/STRONG&gt;; &lt;STRONG&gt;vToday&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Last 30 Days; &lt;STRONG&gt;&lt;EM&gt;vLast30Days&lt;/EM&gt;&lt;/STRONG&gt;; &lt;EM&gt;&lt;STRONG&gt;vToday&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e.- &lt;STRONG&gt;vToday&lt;/STRONG&gt; should be there under RangeEnd instead of RangeStart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2014 10:53:40 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2014-04-08T10:53:40Z</dc:date>
    <item>
      <title>Last x Days</title>
      <link>https://community.qlik.com/t5/QlikView/Last-x-Days/m-p/613726#M226456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having troubles with date grouping. I want to be able to select data for the last 'x' number of days (last 7 days, last 30 days etc). I have some date grouping working fine (Today, Yesterday, This Week, Last Week etc.) but can't find a way to get the last x days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a modified version of the excellent 'Date-Grouping.qvw' from the Qlikview Cookbook (Thanks Rob!). I've tried modifying the Inline table directly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last 7 Days; vToday; vToday-7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which doesn't work. I've also tried assigning a variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vLast7Days=Date(today(1)-7);&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Last 7 Days; vToday; vLast7Days&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which also doesn't work. I've stepped through the script load and the variables seem to assign properly but the end result is still not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Damien.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 10:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-x-Days/m-p/613726#M226456</guid>
      <dc:creator />
      <dc:date>2014-04-08T10:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Last x Days</title>
      <link>https://community.qlik.com/t5/QlikView/Last-x-Days/m-p/613727#M226457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think below link will help you on your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5921"&gt;A Rapid "Fast Calendar Selections...", a great boost of  multi periods analysis! ...&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 10:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-x-Days/m-p/613727#M226457</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-08T10:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Last x Days</title>
      <link>https://community.qlik.com/t5/QlikView/Last-x-Days/m-p/613728#M226458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A small mistake, the ordering of the variables were wrong in the inline part, correct it as:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Range; RangeStart; RangeEnd&lt;/P&gt;
&lt;P&gt;Last 7 Days; &lt;STRONG&gt;vLast7Days&lt;/STRONG&gt;; &lt;STRONG&gt;vToday&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Last 30 Days; &lt;STRONG&gt;&lt;EM&gt;vLast30Days&lt;/EM&gt;&lt;/STRONG&gt;; &lt;EM&gt;&lt;STRONG&gt;vToday&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e.- &lt;STRONG&gt;vToday&lt;/STRONG&gt; should be there under RangeEnd instead of RangeStart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 10:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-x-Days/m-p/613728#M226458</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-04-08T10:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Last x Days</title>
      <link>https://community.qlik.com/t5/QlikView/Last-x-Days/m-p/613729#M226459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Argh, so simple. Many Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 11:05:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-x-Days/m-p/613729#M226459</guid>
      <dc:creator />
      <dc:date>2014-04-08T11:05:19Z</dc:date>
    </item>
  </channel>
</rss>

