<?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. :Set default DATE or time period ????? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-default-DATE-or-time-period/m-p/181917#M47768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you want to actually select the current month automatically? I've done this with macros that execute when you open the document. For example, this selects a bunch of fields and activates a particular sheet. It sets the month to the previous month. The current month wouldn't need the addmonths(...,-1). You might be able to do this with actions in 9.0. I haven't really used actions yet since we're officially on 8.5 still.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;sub initialSelections()&lt;BR /&gt; ActiveDocument.GetField("Date Type").Select "Activity Date"&lt;BR /&gt; ActiveDocument.GetField("Month").Select ActiveDocument.Evaluate("date(addmonths(monthstart(today(1)),-1),'MMM YY')")&lt;BR /&gt; ActiveDocument.GetField("Location").Select "PCM"&lt;BR /&gt; ActiveDocument.GetField("Show Weights In").Select "Tons"&lt;BR /&gt; ActiveDocument.GetField("Show Coating In").Select "oz/ft2"&lt;BR /&gt; ActiveDocument.GetSheet("Yields by Product").Activate&lt;BR /&gt;end sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Jun 2010 01:40:46 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-06-12T01:40:46Z</dc:date>
    <item>
      <title>Set default DATE or time period ?????</title>
      <link>https://community.qlik.com/t5/QlikView/Set-default-DATE-or-time-period/m-p/181912#M47763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How i can set default Current Date or Time Period in my report/Dashboard ???????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 07:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-default-DATE-or-time-period/m-p/181912#M47763</guid>
      <dc:creator />
      <dc:date>2010-06-09T07:16:16Z</dc:date>
    </item>
    <item>
      <title>Re. :Set default DATE or time period ?????</title>
      <link>https://community.qlik.com/t5/QlikView/Set-default-DATE-or-time-period/m-p/181913#M47764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You have to use =today() or =now() functions in a text area.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 07:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-default-DATE-or-time-period/m-p/181913#M47764</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2010-06-09T07:38:55Z</dc:date>
    </item>
    <item>
      <title>Re. :Set default DATE or time period ?????</title>
      <link>https://community.qlik.com/t5/QlikView/Set-default-DATE-or-time-period/m-p/181914#M47765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Martin , but i want it when i have to set for a default month ??????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any possibility that report automatically starts up at default month ????/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 07:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-default-DATE-or-time-period/m-p/181914#M47765</guid>
      <dc:creator />
      <dc:date>2010-06-09T07:51:16Z</dc:date>
    </item>
    <item>
      <title>Re. :Set default DATE or time period ?????</title>
      <link>https://community.qlik.com/t5/QlikView/Set-default-DATE-or-time-period/m-p/181915#M47766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All ,&lt;/P&gt;&lt;P&gt;Is there any option for getting default month on the report / dashboard..............???&lt;/P&gt;&lt;P&gt;I have tried but not getting it. i want to restrict my application to current month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 12:16:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-default-DATE-or-time-period/m-p/181915#M47766</guid>
      <dc:creator />
      <dc:date>2010-06-09T12:16:21Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Re. :Set default DATE or time period ?????</title>
      <link>https://community.qlik.com/t5/QlikView/Set-default-DATE-or-time-period/m-p/181916#M47767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried &lt;I&gt;=Month(Today())&lt;/I&gt; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 14:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-default-DATE-or-time-period/m-p/181916#M47767</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2010-06-09T14:48:53Z</dc:date>
    </item>
    <item>
      <title>Re. :Set default DATE or time period ?????</title>
      <link>https://community.qlik.com/t5/QlikView/Set-default-DATE-or-time-period/m-p/181917#M47768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you want to actually select the current month automatically? I've done this with macros that execute when you open the document. For example, this selects a bunch of fields and activates a particular sheet. It sets the month to the previous month. The current month wouldn't need the addmonths(...,-1). You might be able to do this with actions in 9.0. I haven't really used actions yet since we're officially on 8.5 still.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;sub initialSelections()&lt;BR /&gt; ActiveDocument.GetField("Date Type").Select "Activity Date"&lt;BR /&gt; ActiveDocument.GetField("Month").Select ActiveDocument.Evaluate("date(addmonths(monthstart(today(1)),-1),'MMM YY')")&lt;BR /&gt; ActiveDocument.GetField("Location").Select "PCM"&lt;BR /&gt; ActiveDocument.GetField("Show Weights In").Select "Tons"&lt;BR /&gt; ActiveDocument.GetField("Show Coating In").Select "oz/ft2"&lt;BR /&gt; ActiveDocument.GetSheet("Yields by Product").Activate&lt;BR /&gt;end sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jun 2010 01:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-default-DATE-or-time-period/m-p/181917#M47768</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-06-12T01:40:46Z</dc:date>
    </item>
  </channel>
</rss>

