<?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 Trigger OnOpen Date Range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trigger-OnOpen-Date-Range/m-p/212946#M500962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Sorry its not clear. Normally we add the from date and to_date in charts .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So do u want to add it in charts ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Feb 2011 12:48:13 GMT</pubDate>
    <dc:creator>deepakk</dc:creator>
    <dc:date>2011-02-11T12:48:13Z</dc:date>
    <item>
      <title>Trigger OnOpen Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-OnOpen-Date-Range/m-p/212943#M500959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am pretty sure there is a simple answer to this but I have drawn a blank!&lt;/P&gt;&lt;P&gt;I have two date variables populated with a Start and an End date.&lt;/P&gt;&lt;P&gt;What I need is the date field to be set to this date range when the document is opened.&lt;/P&gt;&lt;P&gt;I cannot see a way of setting a range in the Select in Field Action of the Document Event Triggers.&lt;/P&gt;&lt;P&gt;Any help will be appreciated!&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 11:21:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-OnOpen-Date-Range/m-p/212943#M500959</guid>
      <dc:creator>thomastc</dc:creator>
      <dc:date>2011-02-11T11:21:29Z</dc:date>
    </item>
    <item>
      <title>Trigger OnOpen Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-OnOpen-Date-Range/m-p/212944#M500960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI.&lt;/P&gt;&lt;P&gt;Go to Document properties--&amp;gt; Trigger-- &amp;gt; OnOpen --&amp;gt; Add Action--&amp;gt; External--&amp;gt;Setvariable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YOu might have to do it twice to add values to from and to date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 11:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-OnOpen-Date-Range/m-p/212944#M500960</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-02-11T11:27:31Z</dc:date>
    </item>
    <item>
      <title>Trigger OnOpen Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-OnOpen-Date-Range/m-p/212945#M500961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the reply. My issue is not setting the variables, that part is fine. Sorry if I was not clear.&lt;/P&gt;&lt;P&gt;My problem is applying the values of the variables to the date field when the document is opened.&lt;/P&gt;&lt;P&gt;For instance, I set the end date to the latest activity in the financial year (say 15/10/2010), and the start date is simply the beginning of that year (01/04/2010 for example). Now, when the document is opened, I would like the date field to be set to the range 01/04/2010 to 15/10/2009.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 11:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-OnOpen-Date-Range/m-p/212945#M500961</guid>
      <dc:creator>thomastc</dc:creator>
      <dc:date>2011-02-11T11:37:34Z</dc:date>
    </item>
    <item>
      <title>Trigger OnOpen Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-OnOpen-Date-Range/m-p/212946#M500962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Sorry its not clear. Normally we add the from date and to_date in charts .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So do u want to add it in charts ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 12:48:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-OnOpen-Date-Range/m-p/212946#M500962</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-02-11T12:48:13Z</dc:date>
    </item>
    <item>
      <title>Trigger OnOpen Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-OnOpen-Date-Range/m-p/212947#M500963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;Hi,&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;The field is used all over the application.&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;Is there a way to make an OnOpen trigger that will set the a DateField field to a range as opposed to an individual date. Essentially I require the equivalent of:&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;Settings &amp;gt; Document Properties &amp;gt; Triggers &amp;gt; OnOpen&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;Action: Select in Field&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;Field =DateField&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;SerachString: =Between varStartDate AND varEndDate&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;So when the user opens the application the DateField will already be set to the year to date latest data.&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;Maybe I need a Macro for this and fire the Macro in the OnOpen trigger.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 13:47:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-OnOpen-Date-Range/m-p/212947#M500963</guid>
      <dc:creator>thomastc</dc:creator>
      <dc:date>2011-02-11T13:47:00Z</dc:date>
    </item>
    <item>
      <title>Trigger OnOpen Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-OnOpen-Date-Range/m-p/212948#M500964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;D'oh I knew it was going to be simple enough:&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='&amp;gt;=' &amp;amp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;I&gt;varStartDate&lt;/I&gt;&lt;/B&gt; &amp;amp; '&amp;lt;=' &amp;amp; &lt;B&gt;&lt;I&gt;varEndDate&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;I&gt;&lt;/I&gt; &lt;P&gt;Silly me.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 14:00:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-OnOpen-Date-Range/m-p/212948#M500964</guid>
      <dc:creator>thomastc</dc:creator>
      <dc:date>2011-02-11T14:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger OnOpen Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-OnOpen-Date-Range/m-p/1610688#M500965</link>
      <description>&lt;P&gt;In addition to the date range, my customer also wants to see the applications with blank date. How to achieve this?&lt;/P&gt;&lt;P&gt;I have tried below 2 options but they don't work:&lt;/P&gt;&lt;P&gt;1) ='&amp;gt;='&amp;amp;Date(vStartDate,'MM/DD/YYYY') &amp;amp; '&amp;lt;='&amp;amp;Date(vEndDate,'MM/DD/YYYY') &amp;amp; '=' &amp;amp; NULL()&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;='&amp;gt;='&amp;amp;Date(vStartDate,'MM/DD/YYYY') &amp;amp; '&amp;lt;='&amp;amp;Date(vEndDate,'MM/DD/YYYY') &amp;amp; '=' &amp;amp; ''&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 13:03:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-OnOpen-Date-Range/m-p/1610688#M500965</guid>
      <dc:creator>devaljain5</dc:creator>
      <dc:date>2019-08-08T13:03:16Z</dc:date>
    </item>
  </channel>
</rss>

