<?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 Between Dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Between-Dates/m-p/597840#M1107351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;What is the best way to filter data between dates?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to count records where&lt;/P&gt;&lt;P&gt;Status&amp;lt;&amp;gt; Closed and Today is after Sched Date and Today is before Intended Completion Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt;{&amp;lt;&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;[Internal Audits.Status]&lt;/SPAN&gt;-={'Closed'},&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;[Internal Audits.Sched Date]&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;lt;=$(=Date(Today(),'MM/DD/YYYY'))"&lt;/SPAN&gt;},&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;[Internal Audits.Intended Completion Date]&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;gt;=$(=Date(Today(),'MM/DD/YYYY'))"&lt;/SPAN&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;[Internal Audits.Audit No]&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I run the report and I am not picking up one record where the status is Not Closed, the Sched Date is 3/1/2014 and the Intended Comp Date is 4/13/2014. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an issue with my Expression? Is there a better way to filter between dates?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Mar 2014 00:35:38 GMT</pubDate>
    <dc:creator>jmonroe918</dc:creator>
    <dc:date>2014-03-20T00:35:38Z</dc:date>
    <item>
      <title>Between Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Between-Dates/m-p/597840#M1107351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;What is the best way to filter data between dates?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to count records where&lt;/P&gt;&lt;P&gt;Status&amp;lt;&amp;gt; Closed and Today is after Sched Date and Today is before Intended Completion Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt;{&amp;lt;&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;[Internal Audits.Status]&lt;/SPAN&gt;-={'Closed'},&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;[Internal Audits.Sched Date]&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;lt;=$(=Date(Today(),'MM/DD/YYYY'))"&lt;/SPAN&gt;},&lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;[Internal Audits.Intended Completion Date]&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;gt;=$(=Date(Today(),'MM/DD/YYYY'))"&lt;/SPAN&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;[Internal Audits.Audit No]&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I run the report and I am not picking up one record where the status is Not Closed, the Sched Date is 3/1/2014 and the Intended Comp Date is 4/13/2014. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an issue with my Expression? Is there a better way to filter between dates?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 00:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Between-Dates/m-p/597840#M1107351</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2014-03-20T00:35:38Z</dc:date>
    </item>
  </channel>
</rss>

