<?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: From and To Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551536#M483317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Settings &amp;gt; Document Properties &amp;gt; Triggers &amp;gt; Document Event Triggers &amp;gt; OnOpen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add a new Action "Select in Field"&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Field = Week ...if you don't have a week-field yet, simply create it in script ... week(yourdatefield)&lt;/LI&gt;&lt;LI&gt;Search String = week(today())&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jul 2013 14:50:10 GMT</pubDate>
    <dc:creator>pennetzdorfer</dc:creator>
    <dc:date>2013-07-08T14:50:10Z</dc:date>
    <item>
      <title>From and To Date</title>
      <link>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551534#M483315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I' am stuck with an issue. I have created two calendar objects. One of them points to StartDate while the other corresponds to EndDate. Things are working fine... but the client wants current week to be shown in the Calendar objects when they open the application.&lt;/P&gt;&lt;P&gt;Example let us say that today is Monday 08-07-2013 tomorrow will be 9th and so on.. when the end user opens the dashboard he/she should see charts based upon current week and also the main part is that the Calander objects should show the dates corresponding to current week.&lt;/P&gt;&lt;P&gt;If we consider period from 1st July to 5th july, then 'From' calander should show 1st july while the other that is 'To' Calander should show 5th July and these should happen when the dashboard opens&lt;/P&gt;&lt;P&gt;Thanks in advance for your help and suggestions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 14:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551534#M483315</guid>
      <dc:creator />
      <dc:date>2013-07-08T14:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: From and To Date</title>
      <link>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551535#M483316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create two variables&lt;/P&gt;&lt;P&gt;vStartDate =WeekStart(now())&lt;/P&gt;&lt;P&gt;vEndDate =WeekEnd(now())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Settings &amp;gt; Document Properties &amp;gt; Triggers &amp;gt; &lt;/P&gt;&lt;P&gt;OnOpen Action &amp;gt; Add Action &amp;gt; Add &amp;gt; Action Type "Selection" &amp;gt; Action "Select in Field" &amp;gt; OK &amp;gt; &lt;/P&gt;&lt;P&gt;= '&amp;gt;=$(=vStartDate) &amp;lt;=$(=vEndDate)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 14:48:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551535#M483316</guid>
      <dc:creator>RedSky001</dc:creator>
      <dc:date>2013-07-08T14:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: From and To Date</title>
      <link>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551536#M483317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Settings &amp;gt; Document Properties &amp;gt; Triggers &amp;gt; Document Event Triggers &amp;gt; OnOpen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add a new Action "Select in Field"&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Field = Week ...if you don't have a week-field yet, simply create it in script ... week(yourdatefield)&lt;/LI&gt;&lt;LI&gt;Search String = week(today())&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 14:50:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551536#M483317</guid>
      <dc:creator>pennetzdorfer</dc:creator>
      <dc:date>2013-07-08T14:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: From and To Date</title>
      <link>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551537#M483318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florian,&lt;/P&gt;&lt;P&gt;Many thanks for your help. Actually my requirement is that I have two calendar objects on the dashboard and user want that when the dashboard is opened, by default the current week Start and end date should be displayed on the Calendar.&lt;/P&gt;&lt;P&gt;You can see from the attchement that there are 2 calendars namely From Date and To Date and this is where we want the current week to be diplayed.&lt;/P&gt;&lt;P&gt;Example for this July month, the current week no. is 28 so the calanders should display 8th on the from Date and 9th on the To Date calanders respectively&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 07:28:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551537#M483318</guid>
      <dc:creator />
      <dc:date>2013-07-09T07:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: From and To Date</title>
      <link>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551538#M483319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;I tried your suggestion but it's not working for me.. Actually my requirement is that I have two calendar objects on the dashboard and user want that when the dashboard is opened, by default the current week Start and end date should be displayed on the Calendar.&lt;/P&gt;&lt;P&gt;You can see from the attchement that there are 2 calendars namely From Date and To Date and this is where we want the current week to be diplayed.&lt;/P&gt;&lt;P&gt;Example for this July month, the current week no. is 28 so the calanders should display 8th on the from Date and 9th on the To Date calanders respectively&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 07:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551538#M483319</guid>
      <dc:creator />
      <dc:date>2013-07-09T07:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: From and To Date</title>
      <link>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551539#M483320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if I understand your issue, but if you've got &lt;SPAN style="text-decoration: underline;"&gt;two&lt;/SPAN&gt; date fields (StartDate and EndDate) you could try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Settings &amp;gt; Document Properties &amp;gt; Triggers &amp;gt; Document Event Triggers &amp;gt; OnOpen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add &lt;SPAN style="text-decoration: underline;"&gt;two&lt;/SPAN&gt; Actions ("Select in Field")&lt;/P&gt;&lt;P&gt;1) Field: &lt;EM&gt;StartDate&lt;/EM&gt;, Search string: &lt;EM&gt;=WeekStart(Today())&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;2) Field: &lt;EM&gt;EndDate&lt;/EM&gt;, Search string: &lt;EM&gt;=floor(WeekEnd(Today()))-2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 08:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551539#M483320</guid>
      <dc:creator>pennetzdorfer</dc:creator>
      <dc:date>2013-07-09T08:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: From and To Date</title>
      <link>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551540#M483321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florian,&lt;/P&gt;&lt;P&gt;I have created two variables vStartWeek and vEndWeek for this purpose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 08:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551540#M483321</guid>
      <dc:creator />
      <dc:date>2013-07-09T08:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: From and To Date</title>
      <link>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551541#M483322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you upload a short example qvw that outlines your issue? That would simplify things &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 09:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551541#M483322</guid>
      <dc:creator>pennetzdorfer</dc:creator>
      <dc:date>2013-07-09T09:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: From and To Date</title>
      <link>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551542#M483323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florian,&lt;/P&gt;&lt;P&gt;I'am attaching a sample application for your reference. Here there are two calander objects and the requirement is that we need From calendar to display the starting day of the current week while the other&amp;nbsp; Calendar(To Date) should show the end date of current week on opening of the dashboard.&lt;/P&gt;&lt;P&gt;Thanks for your help in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 10:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551542#M483323</guid>
      <dc:creator />
      <dc:date>2013-07-09T10:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: From and To Date</title>
      <link>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551543#M483324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are at least two things you should change:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Don't use "=" in front of variable names in Actions&lt;BR /&gt;&lt;IMG __jive_id="43805" __jive_id="43805" class="jive-image-thumbnail jive-image" alt="2.jpg" src="https://community.qlik.com/legacyfs/online/43805_2.jpg" width="450" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;Your "OnAnySelect" triggers override the "OnOpen" triggers --&amp;gt; delete or modify them ...&lt;IMG __jive_id="43807" __jive_id="43807" class="jive-image-thumbnail jive-image" alt="1.jpg" src="https://community.qlik.com/legacyfs/online/43807_1.jpg" width="450" /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I adjusted 1) and 2) and the StartDate works now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apart from that: I'm wondering if you really need all triggers/variables ... I guess you could simply target the original field Q_CLOSEDDATEFORMAT for your triggers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 11:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551543#M483324</guid>
      <dc:creator>pennetzdorfer</dc:creator>
      <dc:date>2013-07-09T11:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: From and To Date</title>
      <link>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551544#M483325</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 your help Florian. Actually the 1st Calendar 'FROM DATE ' should display the starting date of the current week while the other calendar object should display the current date or todays date of the week. Also the Calendar objects should get clear when Clear All is pressed.&lt;/P&gt;&lt;P&gt;pls provide your inputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 11:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551544#M483325</guid>
      <dc:creator />
      <dc:date>2013-07-09T11:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: From and To Date</title>
      <link>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551545#M483326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem ...could you provide me your solution&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 18:48:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551545#M483326</guid>
      <dc:creator />
      <dc:date>2013-10-30T18:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: From and To Date</title>
      <link>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551546#M483327</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;Sorrry for late reply as I saw your query today.. have you found solution. If not I can send you the solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 15:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/From-and-To-Date/m-p/551546#M483327</guid>
      <dc:creator />
      <dc:date>2013-11-26T15:27:31Z</dc:date>
    </item>
  </channel>
</rss>

