<?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: Selecting Dates based upon Input in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selecting-Dates-based-upon-Input/m-p/1097162#M364394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for the quick response!&amp;nbsp; I was so close.&amp;nbsp; For the | part I missed the double quotes inside the single.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jan 2016 20:29:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-15T20:29:20Z</dc:date>
    <item>
      <title>Selecting Dates based upon Input</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-Dates-based-upon-Input/m-p/1097160#M364392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know I've seen this topic before but I'm looking to go a little farther.&amp;nbsp; What I am trying to do is allow for the user to input a start date and an end date and then click a button that will apply to filter and select only the dates between them.&amp;nbsp; That part is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also want to select the previous year for the same time frame as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if the start date is 1/7/2013 and the end date is 1/13/2013, I would like 1/7/13 - 1/13/13 selected as well as 1/7/12 - 1/13/12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a SELECT IN FIELD action on a button to do this.&amp;nbsp; The current search string is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='&amp;gt;='&amp;amp;date(vStartDate) &amp;amp; '&amp;lt;=' &amp;amp; date(vEndDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That works.&amp;nbsp; Anyone know how to add to that to allow the previous year dates to be selected as well?&amp;nbsp; I have uploaded my sample. !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2016 19:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-Dates-based-upon-Input/m-p/1097160#M364392</guid>
      <dc:creator />
      <dc:date>2016-01-15T19:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting Dates based upon Input</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-Dates-based-upon-Input/m-p/1097161#M364393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;='("&amp;gt;='&amp;amp;date(vStartDate) &amp;amp; '&amp;lt;=' &amp;amp; date(vEndDate) &amp;amp; '"|"' &amp;amp; '&amp;gt;=' &amp;amp; date(AddYears(vStartDate, -1)) &amp;amp; '&amp;lt;=' &amp;amp; date(AddYears(vEndDate, -1)) &amp;amp; '")'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2016 20:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-Dates-based-upon-Input/m-p/1097161#M364393</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-15T20:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting Dates based upon Input</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-Dates-based-upon-Input/m-p/1097162#M364394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for the quick response!&amp;nbsp; I was so close.&amp;nbsp; For the | part I missed the double quotes inside the single.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2016 20:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-Dates-based-upon-Input/m-p/1097162#M364394</guid>
      <dc:creator />
      <dc:date>2016-01-15T20:29:20Z</dc:date>
    </item>
  </channel>
</rss>

