<?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: Calendar object date restriction in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calendar-object-date-restriction/m-p/1346991#M414428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean you want the limits to remain the same even after you've selected a date? Then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set vLimit1 = =Min({1} Date);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set vLimit2 = =Max({1} Date);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num() is probably unnecessary here - it is a formatting function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jul 2017 05:25:46 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2017-07-21T05:25:46Z</dc:date>
    <item>
      <title>Calendar object date restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-object-date-restriction/m-p/1346990#M414427</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;In one of my application i have created two calendar objects two select date range for user. These steps i have followed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create 4 variables: Date is the field in my app&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vLimit1 - =Min(Num(Date))&lt;/P&gt;&lt;P&gt;vLimit2 = =Max(Num(Date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vToDate = Null()&amp;nbsp; - Changes based on user selection&lt;/P&gt;&lt;P&gt;vFromDate = Null()&amp;nbsp; - Changes based on user selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created two calendar objects using vToDate and vFromDate variables with min and max values are vLimit1 and vLimit2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Applied variable level triggers on vToDate and vFromDate with below expression on Date field (select in field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='&amp;gt;='&amp;amp;Date(vToDate)&amp;amp;'&amp;lt;='&amp;amp;Date(vFromDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this is working absolutely fine, if i select date range from calendar objects then Date field getting selected. But however i cannot able to select out of the range (which i have already selected ) unless i clear the date field. This is may because of Min and Max date for vLimit1 and vLimit2 variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is, can we select any date range without clearing the date filter? Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a ton,&lt;/P&gt;&lt;P&gt;Raju.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 02:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-object-date-restriction/m-p/1346990#M414427</guid>
      <dc:creator>raju_salmon</dc:creator>
      <dc:date>2017-07-21T02:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar object date restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-object-date-restriction/m-p/1346991#M414428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean you want the limits to remain the same even after you've selected a date? Then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set vLimit1 = =Min({1} Date);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set vLimit2 = =Max({1} Date);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num() is probably unnecessary here - it is a formatting function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 05:25:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-object-date-restriction/m-p/1346991#M414428</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-07-21T05:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar object date restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-object-date-restriction/m-p/1346992#M414429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give sample Example of It. then it will understand more .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arvind Patil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 05:31:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-object-date-restriction/m-p/1346992#M414429</guid>
      <dc:creator>arvind_patil</dc:creator>
      <dc:date>2017-07-21T05:31:33Z</dc:date>
    </item>
  </channel>
</rss>

