<?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: QlikView Calendar object is not filtering chart? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-Calendar-object-is-not-filtering-chart/m-p/1068861#M924937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think closing braces...am n sure&lt;IMG alt="scr.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120760_scr.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Apr 2016 16:58:34 GMT</pubDate>
    <dc:creator>Chanty4u</dc:creator>
    <dc:date>2016-04-06T16:58:34Z</dc:date>
    <item>
      <title>QlikView Calendar object is not filtering chart?</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Calendar-object-is-not-filtering-chart/m-p/1068859#M924934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new to QlikView, primarily being a C#/SQL developer.&amp;nbsp; I have a Straight Table chart with some data, including a specific date that I want to filter on.&amp;nbsp; My requirements are that I'm to add a widget to allow the user to select a start/end date range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created two Slider/Calendar objects, set to Calendar for the display type.&amp;nbsp; I have the following code in my Script (names have been anonymized) for the date variables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Start of Script */&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Date_Range:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Date(Max(Deduction_Date)) AS Max,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Date(Min(Deduction_Date)) AS Min&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;RESIDENT Deductions_Table;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vMax = Date(Peek('Max', 0, 'Date_Range'), 'MM/DD/YYYY';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vMin = Date(Peek('Min', 0, 'Date_Range'), 'MM/DD/YYYY';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vStartDate = '';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vEndDate = '';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;/* End of Script */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume that Deductions_Table is a straightforward SQL select of some rows in a database table that just loads the information into Qlik.&amp;nbsp; My calendar controls are set to Variable(s) with the correct variable specified for each and I have verified through the use of an Input Box control that they are populating when I select a date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Document Properties, under the Triggers tab, I have added actions for vStartDate and vEndDate as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OnChange -&amp;gt; Select in Field&lt;/P&gt;&lt;P&gt;Field: Deduction_Date&lt;/P&gt;&lt;P&gt;Search String: ='&amp;gt;=' &amp;amp; vStartDate &amp;amp; '&amp;lt;=' &amp;amp; vEndDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would expect to happen is if I select a start date of 4/1/2016 and an end date of 4/5/2016 that my chart will filter to only records where the Deduction_Date field falls within that range.&amp;nbsp; However, it doesn't seem to be filtering at all and I see dates that are from, using the prior example, 3/1/2016 even though I have the date range specified as &lt;STRONG&gt;4/1/2016 - 4/5/2016&lt;/STRONG&gt;.&amp;nbsp; I have a tab with a "data dump" of the records and can see that the Deduction_Date list box is NOT showing any filters applied when I change the dates in the calendar control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am clearly missing something, but I am not sure what.&amp;nbsp; Any advice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wayne Molina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Calendar-object-is-not-filtering-chart/m-p/1068859#M924934</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Calendar object is not filtering chart?</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Calendar-object-is-not-filtering-chart/m-p/1068860#M924936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Your variable definitions are missing the closing parentheses of the Date() function&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;LET vMax = Date(Peek('Max', 0, 'Date_Range'), 'MM/DD/YYYY' &lt;STRONG&gt;)&lt;/STRONG&gt; ;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-family: inherit; line-height: 1.5em; font-weight: inherit;"&gt;LET vMin = Date(Peek('Min', 0, 'Date_Range'), 'MM/DD/YYYY' &lt;STRONG&gt;) &lt;/STRONG&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 16:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Calendar-object-is-not-filtering-chart/m-p/1068860#M924936</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-06T16:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Calendar object is not filtering chart?</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Calendar-object-is-not-filtering-chart/m-p/1068861#M924937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think closing braces...am n sure&lt;IMG alt="scr.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120760_scr.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 16:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Calendar-object-is-not-filtering-chart/m-p/1068861#M924937</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-04-06T16:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Calendar object is not filtering chart?</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Calendar-object-is-not-filtering-chart/m-p/1068862#M924938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thing you miss the Closing Barces&amp;nbsp; on vMax and vMin variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 17:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Calendar-object-is-not-filtering-chart/m-p/1068862#M924938</guid>
      <dc:creator>agustinbobba</dc:creator>
      <dc:date>2016-04-06T17:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Calendar object is not filtering chart?</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Calendar-object-is-not-filtering-chart/m-p/1068863#M924939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I might have just fat-fingered that since I didn't copy it.&amp;nbsp; In the script editor it is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vMax = Date(peek('Max', 0, 'DataRage'), 'MM/DD/YYYY');&lt;/P&gt;&lt;P&gt;LET vMin = Date(peek('Min', 0, 'DataRage'), 'MM/DD/YYYY');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which looks like it has the right closing brace.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 17:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Calendar-object-is-not-filtering-chart/m-p/1068863#M924939</guid>
      <dc:creator />
      <dc:date>2016-04-06T17:08:20Z</dc:date>
    </item>
  </channel>
</rss>

