<?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: Creating button to select date interval in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-button-to-select-date-interval/m-p/474053#M554043</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 calculate the search string like this:&lt;/P&gt;&lt;P&gt;= '&amp;gt;=' &amp;amp; Max(MyDate)-7&lt;/P&gt;&lt;P&gt;or&amp;nbsp; &lt;/P&gt;&lt;P&gt; = '&amp;gt;=' &amp;amp; Max({1} MyDate)-7 to discard the user selections.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Sep 2013 19:30:07 GMT</pubDate>
    <dc:creator>whiteline</dc:creator>
    <dc:date>2013-09-24T19:30:07Z</dc:date>
    <item>
      <title>Creating button to select date interval</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-button-to-select-date-interval/m-p/474052#M554042</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;I have a field with dates called &lt;EM&gt;MyDate&lt;/EM&gt;. I want to create a button that will allow the user to click and select the last 7 days. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the &lt;EM&gt;Select in Field &lt;/EM&gt;option, however I have had no luck with &lt;EM&gt;Interval&lt;/EM&gt;, or even just subtracting the dates. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help is appreciated! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 18:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-button-to-select-date-interval/m-p/474052#M554042</guid>
      <dc:creator />
      <dc:date>2013-09-24T18:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating button to select date interval</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-button-to-select-date-interval/m-p/474053#M554043</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 calculate the search string like this:&lt;/P&gt;&lt;P&gt;= '&amp;gt;=' &amp;amp; Max(MyDate)-7&lt;/P&gt;&lt;P&gt;or&amp;nbsp; &lt;/P&gt;&lt;P&gt; = '&amp;gt;=' &amp;amp; Max({1} MyDate)-7 to discard the user selections.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 19:30:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-button-to-select-date-interval/m-p/474053#M554043</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2013-09-24T19:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creating button to select date interval</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-button-to-select-date-interval/m-p/474054#M554044</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;If i put that in the search string, it still does not make the selection. In the Current Selections section, it doesn't show a selection. However, if I get rid of the "- 7", it shows the selection. I've tried wrapping it around a DATE(), but that doesn't seem to help either.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 20:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-button-to-select-date-interval/m-p/474054#M554044</guid>
      <dc:creator />
      <dc:date>2013-09-24T20:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating button to select date interval</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-button-to-select-date-interval/m-p/474055#M554045</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;Try to make it work with a static string, for example'&amp;gt;=2013/09/1'. Then you can write an expression with appropriate date format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the result of =Max(MyDate) expression if you put it in a TextBox ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 11:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-button-to-select-date-interval/m-p/474055#M554045</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2013-09-25T11:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Creating button to select date interval</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-button-to-select-date-interval/m-p/474056#M554046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The result of the =Max(MyDate) is 9/24/2013 9:00:11 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the question remains, how do i subtract 7 days from this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 14:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-button-to-select-date-interval/m-p/474056#M554046</guid>
      <dc:creator />
      <dc:date>2013-09-25T14:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating button to select date interval</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-button-to-select-date-interval/m-p/474057#M554047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's dual both text and numeric.&lt;/P&gt;&lt;P&gt;I think the problem is with text format.&lt;/P&gt;&lt;P&gt;Does string '&amp;gt;=09/15/2013' works as a search string ?&lt;/P&gt;&lt;P&gt;If so, try&lt;/P&gt;&lt;P&gt;= '&amp;gt;=' &amp;amp; Date(Max(MyDate)-7)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 15:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-button-to-select-date-interval/m-p/474057#M554047</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2013-09-25T15:38:23Z</dc:date>
    </item>
  </channel>
</rss>

