<?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: Count between 2 dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-between-2-dates/m-p/1310391#M407409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Full context, please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be best if you post a small sample QVW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Apr 2017 20:29:10 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2017-04-24T20:29:10Z</dc:date>
    <item>
      <title>Count between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Count-between-2-dates/m-p/1310390#M407408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My logic below is not pulling the correct count when AdminDate=MedStartTime.&amp;nbsp; For instance, when AdminDate is 3/17/2017 and MedStartTime is 3/17/2017 when Given='Y', it needs to be a count of 1 and not 0. Could someone please assist?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF((AdminDate&amp;gt;=MedStartTime and AdminDate&amp;lt;=MedDiscountieTime) and Given='Y', 1,0)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/161081_pastedImage_0.jpg" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 20:17:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-between-2-dates/m-p/1310390#M407408</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-24T20:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Count-between-2-dates/m-p/1310391#M407409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Full context, please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be best if you post a small sample QVW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 20:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-between-2-dates/m-p/1310391#M407409</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-04-24T20:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Count between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Count-between-2-dates/m-p/1310392#M407410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Formula you shared above looks fine, checked in frontend and backend, worked fine, may be prob is somewhere else - &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/161087_Capture.PNG" style="height: 79px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 20:52:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-between-2-dates/m-p/1310392#M407410</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2017-04-24T20:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Count between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Count-between-2-dates/m-p/1310393#M407411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with True false Condition in your way with each row or you may share application to check. Image is not the correct reply&lt;/P&gt;&lt;P&gt;&lt;IMG alt="download.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/161083_download.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 01:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-between-2-dates/m-p/1310393#M407411</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-04-25T01:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Count between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Count-between-2-dates/m-p/1310394#M407412</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;Please check the Date Formats for all the Date columns, they should be in same format as you do not have any format on the formula.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 02:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-between-2-dates/m-p/1310394#M407412</guid>
      <dc:creator>prachisangewar</dc:creator>
      <dc:date>2017-04-25T02:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Count between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Count-between-2-dates/m-p/1310395#M407413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishal,&lt;/P&gt;&lt;P&gt;Try The Below &lt;STRONG&gt;Expression,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt;&amp;gt; &lt;IMG alt="col111.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/161100_col111.JPG" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="outputcol111.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/161108_outputcol111.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this Works,&lt;/P&gt;&lt;P&gt;Thank's &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Sumit Jadhav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 06:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-between-2-dates/m-p/1310395#M407413</guid>
      <dc:creator>sumitjadhav</dc:creator>
      <dc:date>2017-04-25T06:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Count between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Count-between-2-dates/m-p/1310396#M407414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue was with the date format in my sql script. I used the same date format for all the 3 dates and the same formula worked fine. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 12:53:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-between-2-dates/m-p/1310396#M407414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-25T12:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Count between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Count-between-2-dates/m-p/1310397#M407415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The date (textual) &lt;EM&gt;format&lt;/EM&gt; should not be a problem, if the values show an underlying numeric value as well, as all date field values should:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2622"&gt;Get the Dates Right&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A problem could arise if you are in fact coping with timestamps and just format these as dates (so there is still a numeric value, that for example shows a time around noon, but the text representation dismisses this part).&lt;/P&gt;&lt;P&gt;For example, it's not enough to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(TIMESTAMP) as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Floor(TIMESTAMP)) as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dayname(TIMESTAMP) as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get rid of the time part.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 13:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-between-2-dates/m-p/1310397#M407415</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-04-25T13:22:05Z</dc:date>
    </item>
  </channel>
</rss>

