<?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: Preselect a date on opening a document in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Preselect-a-date-on-opening-a-document/m-p/406091#M488902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try week(addmonths(LastWorkingDate,-9))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Dec 2012 17:32:06 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2012-12-04T17:32:06Z</dc:date>
    <item>
      <title>Preselect a date on opening a document</title>
      <link>https://community.qlik.com/t5/QlikView/Preselect-a-date-on-opening-a-document/m-p/406090#M488901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want the document on opening to select the last data working week. I know about Document Properties/Triggers/Document Event Trigger/OnOpenHasAction. So for example for Oct to Sep as the financial year if the last working date is 16/11/2012 then the working week should be 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is I have target data till 30/09/2013, so =maxstring(week) would return week 52. I have tried a number of ideas unsucessfully including a version of =Weektoday(). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can someone point me in the right direction. The script is attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 17:17:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Preselect-a-date-on-opening-a-document/m-p/406090#M488901</guid>
      <dc:creator>simongoodman</dc:creator>
      <dc:date>2012-12-04T17:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Preselect a date on opening a document</title>
      <link>https://community.qlik.com/t5/QlikView/Preselect-a-date-on-opening-a-document/m-p/406091#M488902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try week(addmonths(LastWorkingDate,-9))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 17:32:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Preselect-a-date-on-opening-a-document/m-p/406091#M488902</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-12-04T17:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Preselect a date on opening a document</title>
      <link>https://community.qlik.com/t5/QlikView/Preselect-a-date-on-opening-a-document/m-p/406092#M488903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks I think that did the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 10:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Preselect-a-date-on-opening-a-document/m-p/406092#M488903</guid>
      <dc:creator>simongoodman</dc:creator>
      <dc:date>2012-12-05T10:58:57Z</dc:date>
    </item>
  </channel>
</rss>

