<?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: Predefined selection based on current date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591805#M1111425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Setting &amp;gt;&amp;gt; Document Properties &amp;gt;&amp;gt; Document Event Triggers &amp;gt;&amp;gt; On Open &amp;gt;&amp;gt; AddAction &amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;Add &amp;gt;&amp;gt; Selection &amp;gt;&amp;gt; Select in Field &amp;gt;&amp;gt; Field = Your Date field (i.e. Date)&lt;/P&gt;&lt;P&gt;Search String = Today() (i.e. =Today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same way if you keep Field = Month&lt;/P&gt;&lt;P&gt;Search String = &lt;/P&gt;&lt;P&gt;=Month(Today())&lt;/P&gt;&lt;P&gt;will give you desired result..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Mar 2014 08:22:08 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-03-03T08:22:08Z</dc:date>
    <item>
      <title>Predefined selection based on current date</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591804#M1111424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have three different listboxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year, Month and Day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the current time to be selection by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when i start the application. 2014 is choosed in the year, mars i choosed in the month and all the days choosed in the day list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And ofcourse, i want this to be dynamic, so when April starts, i want it to select April instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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>Mon, 03 Mar 2014 08:17:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591804#M1111424</guid>
      <dc:creator />
      <dc:date>2014-03-03T08:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined selection based on current date</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591805#M1111425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Setting &amp;gt;&amp;gt; Document Properties &amp;gt;&amp;gt; Document Event Triggers &amp;gt;&amp;gt; On Open &amp;gt;&amp;gt; AddAction &amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;Add &amp;gt;&amp;gt; Selection &amp;gt;&amp;gt; Select in Field &amp;gt;&amp;gt; Field = Your Date field (i.e. Date)&lt;/P&gt;&lt;P&gt;Search String = Today() (i.e. =Today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same way if you keep Field = Month&lt;/P&gt;&lt;P&gt;Search String = &lt;/P&gt;&lt;P&gt;=Month(Today())&lt;/P&gt;&lt;P&gt;will give you desired result..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 08:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591805#M1111425</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-03T08:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined selection based on current date</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591806#M1111426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added action to "OnPostReload"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select in Field, Field =DayA and Search String =Today()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this does not work..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 08:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591806#M1111426</guid>
      <dc:creator />
      <dc:date>2014-03-03T08:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined selection based on current date</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591807#M1111427</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 like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Setting - Document Properties - Triggers-&amp;gt; Document Event Triggers - On Open &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Add Action&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Field&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SearchString&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month&amp;nbsp;&amp;nbsp;&amp;nbsp; =Month(Today())&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Year(Today())&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Day&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ='&amp;gt;='&amp;amp; Day(MonthStart(Today())) &amp;amp; '&amp;lt;=' &amp;amp; Day(Today())&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 08:33:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591807#M1111427</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2014-03-03T08:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined selection based on current date</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591808#M1111428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Document event trigger OnOpen and use 'Select in Field' action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add field name and mention below expression in Search string:&lt;/P&gt;&lt;P&gt;=Year(Today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 08:37:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591808#M1111428</guid>
      <dc:creator />
      <dc:date>2014-03-03T08:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined selection based on current date</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591809#M1111429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just realised that i dont need to choose days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My tables names are MonthA and YearA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if i can choose Mars and 2014 by default that would be great. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want it to be selected everytime i reload the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 08:38:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591809#M1111429</guid>
      <dc:creator />
      <dc:date>2014-03-03T08:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined selection based on current date</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591810#M1111430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use OnOpen event trigger instead of OnPostReload event trigger.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 08:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591810#M1111430</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-03-03T08:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined selection based on current date</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591811#M1111431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now i have "Select in Field"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field =MonthA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search String =Month(Today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But that does not work....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 09:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591811#M1111431</guid>
      <dc:creator />
      <dc:date>2014-03-03T09:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined selection based on current date</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591812#M1111432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Monthnames mentioned in below SET line should match with database month.&lt;/P&gt;&lt;P&gt;SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz change SET statement to make all the months in sync.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 09:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591812#M1111432</guid>
      <dc:creator />
      <dc:date>2014-03-03T09:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined selection based on current date</title>
      <link>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591813#M1111433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just want to confirm. did you used like this&lt;/P&gt;&lt;P&gt;For Field it is &lt;STRONG&gt;MonthA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For Search String it is &lt;STRONG&gt;=Month(Today())&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 10:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Predefined-selection-based-on-current-date/m-p/591813#M1111433</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-03-03T10:18:19Z</dc:date>
    </item>
  </channel>
</rss>

