<?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: Re: Date Range Selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/384999#M143805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply Juan.&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;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Sep 2013 11:46:30 GMT</pubDate>
    <dc:creator>techvarun</dc:creator>
    <dc:date>2013-09-02T11:46:30Z</dc:date>
    <item>
      <title>Date Range Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/384993#M143799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;My requirement is I have date column and my user needs wants to select the data by date ranges. Please let me know how can I achieve this. Currently I can only select only single date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 14:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/384993#M143799</guid>
      <dc:creator />
      <dc:date>2012-09-06T14:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/384994#M143800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recommend using a Master Calendar in your script. See 'Dates' tab in the attached example script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 14:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/384994#M143800</guid>
      <dc:creator />
      <dc:date>2012-09-06T14:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/384995#M143801</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;You can take &lt;A _jive_internal="true" href="https://community.qlik.com/qlikviews/http://community.qlik.com/qlikviews/1075"&gt;this QlikView app&lt;/A&gt; as an example using two calendar / slider objects using variables and how to use these variables in the chart expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 14:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/384995#M143801</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-09-06T14:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/384996#M143802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This code (written by Rob Wunderlich) is absolutely invaluable for creating common date ranges. Users love it!&amp;nbsp; I think a fuller example may be in his QV Cookbook (&lt;A class="loading" href="http://robwunderlich.com/downloads/"&gt;http://robwunderlich.com/downloads/&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;/* This section just creates some test data */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;LET vEndDate = num(today(1)); // End at today's date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;LET vStartDate = num(addmonths(today(1),-14)) -1; // Start at 14 months earlier than today&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;TestData:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;LOAD date($(vStartDate) + IterNo()) as Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;AUTOGENERATE 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;WHILE $(vStartDate) + IterNo() &amp;lt;= $(vEndDate)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;/* End of test data */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;/* This script demonstrates assigning Dates to named groups, such as "Yesterday" or "Last Week".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Date table was created on the previous tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;// Assign current date to a variable. Makes INLINE below a little neater and ensures we don't cross midnight boundry.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;LET vToday=today(1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Ranges:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;// Use the "evaluate()" function to execute the input function text and convert it to actual date values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;LOAD Range, date(evaluate(RangeStart)) as RangeStart, date(evaluate(RangeEnd)) as RangeEnd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;/* The INLINE data defines the Range Name, Starting date of the Range, and Ending date of the Range.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;The Start/End values are defined using standard QV date functions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Semicolon is used for a field delimeter because some of the functions contain commas.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Range; RangeStart; RangeEnd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Today; vToday; DayEnd(vToday)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Yesterday; vToday-1; DayEnd(vToday-1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;This Week; WeekStart(vToday); WeekEnd(vToday)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Last Week; WeekStart(vToday,-1); WeekEnd(vToday, -1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Last 2 Weeks; WeekStart(today(1),-1); WeekEnd(today(1))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;This Month; MonthStart(vToday); MonthEnd(vToday)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Last Month; MonthStart(vToday,-1); MonthEnd(vToday,-1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Last Two Months; MonthStart(vToday,-1); MonthEnd(vToday)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;This Year; YearStart(vToday); YearEnd(vToday)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Last Year; YearStart(vToday,-1); YearEnd(vToday,-1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;] (delimiter is ';')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;/*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Use IntervalMatch to link the Date field into multiple Range fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Doing a JOIN avoids creating a messy synthetic key.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;JOIN (Ranges) IntervalMatch (Date) LOAD RangeStart, RangeEnd RESIDENT Ranges;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;// Because we did a JOIN, we may drop the the Start/End fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;DROP FIELDS RangeStart, RangeEnd;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 14:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/384996#M143802</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-09-06T14:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/384997#M143803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is showing page not found &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 11:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/384997#M143803</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2013-09-02T11:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Date Range Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/384998#M143804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, &lt;/P&gt;&lt;P&gt;no idea what was the old document but here is what i used as example for my applications with data ranges. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 11:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/384998#M143804</guid>
      <dc:creator />
      <dc:date>2013-09-02T11:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Date Range Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/384999#M143805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply Juan.&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;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 11:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/384999#M143805</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2013-09-02T11:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/385000#M143806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey. I hope this document will help you figure it out. it's very simple.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 10:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/385000#M143806</guid>
      <dc:creator />
      <dc:date>2014-04-10T10:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/385001#M143807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 10:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range-Selection/m-p/385001#M143807</guid>
      <dc:creator />
      <dc:date>2014-04-10T10:25:36Z</dc:date>
    </item>
  </channel>
</rss>

