<?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 values between two dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-values-between-two-dates/m-p/382464#M142707</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope you can help me. I thought it should be quite easy but either it is not or I am still too much of a beginner&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ich have a set of data regarding the acceptance tests of our machines containing amongst others a column with the date of acceptance test and a column with the number of the acceptance certificate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would I would like to display is the number of acceptance test conducted in the last 4 weeks. Therefore I created a variable "MonthBack" (today - 31 days) and this is what I tried without success:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if([AC Results.Date]&amp;gt;=(MonthBack), Count([AC no.]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable is ok and giving the correct date, but the code does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2012 14:42:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-30T14:42:09Z</dc:date>
    <item>
      <title>Count values between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Count-values-between-two-dates/m-p/382464#M142707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope you can help me. I thought it should be quite easy but either it is not or I am still too much of a beginner&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ich have a set of data regarding the acceptance tests of our machines containing amongst others a column with the date of acceptance test and a column with the number of the acceptance certificate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would I would like to display is the number of acceptance test conducted in the last 4 weeks. Therefore I created a variable "MonthBack" (today - 31 days) and this is what I tried without success:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if([AC Results.Date]&amp;gt;=(MonthBack), Count([AC no.]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable is ok and giving the correct date, but the code does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 14:42:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-values-between-two-dates/m-p/382464#M142707</guid>
      <dc:creator />
      <dc:date>2012-08-30T14:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Count values between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Count-values-between-two-dates/m-p/382465#M142708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=if([AC Results.Date]&amp;gt;='$(MonthBack)', Count([AC no.]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 15:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-values-between-two-dates/m-p/382465#M142708</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-08-30T15:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Count values between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Count-values-between-two-dates/m-p/382466#M142709</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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did you check both format is same . MonthBack and [AC Results.Date] ? If so,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or use date(MonthBack,'DD/MM/YYYY') like this ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count({&amp;lt;[AC Results.Date] = {'&amp;gt;=$(=MonthBack)'} &amp;gt;}[AC no.])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 16:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-values-between-two-dates/m-p/382466#M142709</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-08-30T16:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Count values between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Count-values-between-two-dates/m-p/382467#M142710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, that's it&amp;nbsp; - date format is both the same, but my code was wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Big thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 16:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-values-between-two-dates/m-p/382467#M142710</guid>
      <dc:creator />
      <dc:date>2012-08-30T16:51:30Z</dc:date>
    </item>
  </channel>
</rss>

