<?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 2 controls to encapsulate a date range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/2-controls-to-encapsulate-a-date-range/m-p/146960#M25436</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob is right -- this search session I found the following thread:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/p/15653/60952.aspx#60952"&gt;http://community.qlik.com/forums/p/15653/60952.aspx#60952&lt;/A&gt;&lt;/P&gt;&lt;P&gt;using two date-pickers, and setting these variables in my QV script:&lt;/P&gt;&lt;P&gt;&lt;B&gt;Let Date_hi&lt;/B&gt; = '2009-01-09'; Let Date_lo = '2009-01-05';&lt;/P&gt;&lt;P&gt;I was then able to make it work with setting bounds on the pickers to&lt;/P&gt;&lt;P&gt;=min(date_requested_on), =max(date_requested_on)&lt;/P&gt;&lt;P&gt;and then replacing the dimension with this construct:&lt;/P&gt;&lt;P&gt;=if(date_requested_on &amp;lt; Date_lo or date_requested_on &amp;gt; Date_hi, null(), date(date_requested_on))&lt;/P&gt;&lt;P&gt;and it works and is very cool.&lt;/P&gt;&lt;P&gt;However... the user can still choose a From-date far later than To-date and there's nothing you can do about it, unlike VB.NET (altho' it does give the expected snickering response "No data to display")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jun 2009 02:59:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-17T02:59:20Z</dc:date>
    <item>
      <title>2 controls to encapsulate a date range</title>
      <link>https://community.qlik.com/t5/QlikView/2-controls-to-encapsulate-a-date-range/m-p/146958#M25434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We know that with the calendar date-picker, we can select a date, or a range of dates, or even multiple ranges of dates. With the slider control, we can also select a range of dates as well.&lt;/P&gt;&lt;P&gt;We have an enduser who doesn't like the fiddly-ness of those two controls. They think working with those controls is too clunky and possibly confusing to some other endusers. They want to have a pair of controls to denote a "From-date" and a "To-date"; once set, the associativeness inherently knows that all dates must be concurrently &amp;gt;= the From-date and &amp;lt;= the To-date.&lt;/P&gt;&lt;P&gt;?So how do I get QlikView to realize this control set -- how exactly does the slider filter the date data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 22:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-controls-to-encapsulate-a-date-range/m-p/146958#M25434</guid>
      <dc:creator />
      <dc:date>2009-06-16T22:13:52Z</dc:date>
    </item>
    <item>
      <title>2 controls to encapsulate a date range</title>
      <link>https://community.qlik.com/t5/QlikView/2-controls-to-encapsulate-a-date-range/m-p/146959#M25435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are several threads in this forum discussing this exact issue. Search the site for "date range" and you'll find a wealth of information.&lt;/P&gt;&lt;P&gt;Let us know if you have more questions after reading the other posts.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 00:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-controls-to-encapsulate-a-date-range/m-p/146959#M25435</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-06-17T00:21:40Z</dc:date>
    </item>
    <item>
      <title>2 controls to encapsulate a date range</title>
      <link>https://community.qlik.com/t5/QlikView/2-controls-to-encapsulate-a-date-range/m-p/146960#M25436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob is right -- this search session I found the following thread:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/p/15653/60952.aspx#60952"&gt;http://community.qlik.com/forums/p/15653/60952.aspx#60952&lt;/A&gt;&lt;/P&gt;&lt;P&gt;using two date-pickers, and setting these variables in my QV script:&lt;/P&gt;&lt;P&gt;&lt;B&gt;Let Date_hi&lt;/B&gt; = '2009-01-09'; Let Date_lo = '2009-01-05';&lt;/P&gt;&lt;P&gt;I was then able to make it work with setting bounds on the pickers to&lt;/P&gt;&lt;P&gt;=min(date_requested_on), =max(date_requested_on)&lt;/P&gt;&lt;P&gt;and then replacing the dimension with this construct:&lt;/P&gt;&lt;P&gt;=if(date_requested_on &amp;lt; Date_lo or date_requested_on &amp;gt; Date_hi, null(), date(date_requested_on))&lt;/P&gt;&lt;P&gt;and it works and is very cool.&lt;/P&gt;&lt;P&gt;However... the user can still choose a From-date far later than To-date and there's nothing you can do about it, unlike VB.NET (altho' it does give the expected snickering response "No data to display")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 02:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-controls-to-encapsulate-a-date-range/m-p/146960#M25436</guid>
      <dc:creator />
      <dc:date>2009-06-17T02:59:20Z</dc:date>
    </item>
    <item>
      <title>2 controls to encapsulate a date range</title>
      <link>https://community.qlik.com/t5/QlikView/2-controls-to-encapsulate-a-date-range/m-p/146961#M25437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case you can use a macro that checks Date_hi &amp;gt; Date_lo, and does something about it - message or some deafult dates, etc..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 03:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-controls-to-encapsulate-a-date-range/m-p/146961#M25437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-17T03:12:32Z</dc:date>
    </item>
    <item>
      <title>2 controls to encapsulate a date range</title>
      <link>https://community.qlik.com/t5/QlikView/2-controls-to-encapsulate-a-date-range/m-p/146962#M25438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;rsarvas wrote:However... the user can still choose a From-date far later than To-date and there's nothing you can do about it&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;See this thread for a couple of solutions. (Read the entire thread)&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/p/16998/66939.aspx"&gt;http://community.qlik.com/forums/p/16998/66939.aspx&lt;/A&gt;&lt;A href="http://community.qlik.com/forums/p/16998/66939.aspx#66939"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 05:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-controls-to-encapsulate-a-date-range/m-p/146962#M25438</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-06-17T05:14:15Z</dc:date>
    </item>
  </channel>
</rss>

