<?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 Count Records Less than Date Selection in Listbox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Records-Less-than-Date-Selection-in-Listbox/m-p/878465#M660917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've created a test file where I am attempting to count records less than or equal to a variable date value.&amp;nbsp; When a selection is made in the YearQuarter listbox, I want the count to include all records &amp;lt;= the variable vFPYQuarterEnd.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example, if you select 2014-3, the variable vFPYQuarterEnd = 9/30/2014 and all records less than or equal to this date should be counted, including those that do not fall within the the actual quarter.&amp;nbsp; I would expect to see a count of 12 records.&amp;nbsp; Instead, I am receiving a count of 9 records which represents on the records in the 2014-3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Apr 2015 14:03:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-08T14:03:46Z</dc:date>
    <item>
      <title>Count Records Less than Date Selection in Listbox</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Records-Less-than-Date-Selection-in-Listbox/m-p/878465#M660917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've created a test file where I am attempting to count records less than or equal to a variable date value.&amp;nbsp; When a selection is made in the YearQuarter listbox, I want the count to include all records &amp;lt;= the variable vFPYQuarterEnd.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example, if you select 2014-3, the variable vFPYQuarterEnd = 9/30/2014 and all records less than or equal to this date should be counted, including those that do not fall within the the actual quarter.&amp;nbsp; I would expect to see a count of 12 records.&amp;nbsp; Instead, I am receiving a count of 9 records which represents on the records in the 2014-3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 14:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Records-Less-than-Date-Selection-in-Listbox/m-p/878465#M660917</guid>
      <dc:creator />
      <dc:date>2015-04-08T14:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Count Records Less than Date Selection in Listbox</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Records-Less-than-Date-Selection-in-Listbox/m-p/878466#M660918</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;You have to exclude YearQuarter from filter like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='# IDs &amp;lt;= Max Quarter End Date = ' &amp;amp; COUNT({$&amp;lt;&lt;/P&gt;&lt;P&gt;YearQuarter=,&lt;/P&gt;&lt;P&gt;MASTERDATE={"&amp;lt;=$(=$(vFPYQuarterEnd))"}&lt;/P&gt;&lt;P&gt;&amp;gt;} ID_NUM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sergey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 14:13:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Records-Less-than-Date-Selection-in-Listbox/m-p/878466#M660918</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-04-08T14:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count Records Less than Date Selection in Listbox</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Records-Less-than-Date-Selection-in-Listbox/m-p/878467#M660919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is that when you select a yearQuarter it restrict your date to that particular quarter itself. If you want to ignore selection in YearQuarter you can use your expression like this instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=COUNT({$&amp;lt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;MASTERDATE={"&amp;lt;=$(=$(vFPYQuarterEnd))"}, YearQuarter = &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;&amp;gt;} ID_NUM)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 14:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Records-Less-than-Date-Selection-in-Listbox/m-p/878467#M660919</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-08T14:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count Records Less than Date Selection in Listbox</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Records-Less-than-Date-Selection-in-Listbox/m-p/878468#M660920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attaching your qvw for reference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 14:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Records-Less-than-Date-Selection-in-Listbox/m-p/878468#M660920</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-08T14:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Count Records Less than Date Selection in Listbox</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Records-Less-than-Date-Selection-in-Listbox/m-p/878469#M660921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the info from both of you.&amp;nbsp; It's working exactly as I wanted now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 14:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Records-Less-than-Date-Selection-in-Listbox/m-p/878469#M660921</guid>
      <dc:creator />
      <dc:date>2015-04-08T14:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Count Records Less than Date Selection in Listbox</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Records-Less-than-Date-Selection-in-Listbox/m-p/878470#M660922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 14:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Records-Less-than-Date-Selection-in-Listbox/m-p/878470#M660922</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-08T14:42:18Z</dc:date>
    </item>
  </channel>
</rss>

