<?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: Counts Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Counts-Expression/m-p/995087#M953954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Let VPassDate=Date('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;November 11, 2015&lt;/SPAN&gt;','DD/MMM/YYYY');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;make sure &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;PassedDateField &lt;/STRONG&gt;should be in 'DD/MMM/YYYY' format..&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=count({&amp;lt;&lt;STRONG&gt;StudentStatus&lt;/STRONG&gt;={'Pass'}, &lt;STRONG&gt;Phase&lt;/STRONG&gt; -={'Absent'}, &lt;STRONG&gt;PassedDateField&lt;/STRONG&gt;={'&amp;lt;=$(=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;VPassDate)'&lt;/SPAN&gt;} &amp;gt;} distinct StudentID)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope this will help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Nov 2015 13:35:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-27T13:35:48Z</dc:date>
    <item>
      <title>Counts Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Counts-Expression/m-p/995085#M953952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scenario where i need to show the records which are&amp;nbsp; Student&amp;nbsp; Status = &lt;SPAN style="font-size: 13.3333px;"&gt;Pass and i should exclude Phase = Absent. My Max Reporting date is November 11, 2015. Now i want&amp;nbsp; the students list who are pass before November 11, 2015.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[Student Status]={'Pass'},StartDate={'&amp;lt;$(=vMaxReportDate)'}, [Phase]-={'Absent'}&amp;gt; + &lt;/P&gt;&lt;P&gt;&amp;lt;[&lt;SPAN style="font-size: 13.3333px;"&gt;Student &lt;/SPAN&gt;Status]={'&lt;SPAN style="font-size: 13.3333px;"&gt;Pass&lt;/SPAN&gt;'},[Phase]-={'&lt;SPAN style="font-size: 13.3333px;"&gt;Absent&lt;/SPAN&gt;'}, EndDate={'&amp;lt;$(=vMaxReportDate)'}&amp;gt;} Distinct [Student ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Fri, 27 Nov 2015 03:33:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counts-Expression/m-p/995085#M953952</guid>
      <dc:creator />
      <dc:date>2015-11-27T03:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Counts Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Counts-Expression/m-p/995086#M953953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi Jack,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Not sure what is your start date and end date. I assume you want the count of student ID's whose phase is not absent and enf date which is less than Report date. Check the below one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Count({&amp;lt;[Student Status]={'Pass'},EndDate={'&amp;lt;$(=vMaxReportDate)'}, [Phase]-={'Absent'&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;'}&amp;gt;} Distinct [Student ID])&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;Also note your End Date field format should match with vMaxReportDate variable format.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 13:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counts-Expression/m-p/995086#M953953</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-11-27T13:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Counts Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Counts-Expression/m-p/995087#M953954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Let VPassDate=Date('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;November 11, 2015&lt;/SPAN&gt;','DD/MMM/YYYY');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;make sure &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;PassedDateField &lt;/STRONG&gt;should be in 'DD/MMM/YYYY' format..&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=count({&amp;lt;&lt;STRONG&gt;StudentStatus&lt;/STRONG&gt;={'Pass'}, &lt;STRONG&gt;Phase&lt;/STRONG&gt; -={'Absent'}, &lt;STRONG&gt;PassedDateField&lt;/STRONG&gt;={'&amp;lt;=$(=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;VPassDate)'&lt;/SPAN&gt;} &amp;gt;} distinct StudentID)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope this will help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 13:35:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counts-Expression/m-p/995087#M953954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-27T13:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Counts Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Counts-Expression/m-p/995088#M953955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both my start and end date is less than November 11, 2015&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Nov 2015 10:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counts-Expression/m-p/995088#M953955</guid>
      <dc:creator />
      <dc:date>2015-11-29T10:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Counts Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Counts-Expression/m-p/995089#M953956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({&amp;lt;[Student Status]={'Pass'},&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;StartDate={'&amp;lt;$(=vMaxReportDate)'},&lt;/SPAN&gt;EndDate={'&amp;lt;$(=vMaxReportDate)'}, [Phase]-={'Absent'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;}&amp;gt;} Distinct [Student ID])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;As already mentioned, your &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMaxReportDate variable format should match with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;StartDate and end date fields.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 01:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counts-Expression/m-p/995089#M953956</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-11-30T01:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Counts Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Counts-Expression/m-p/995090#M953957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;try this&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({&amp;lt;&lt;/SPAN&gt;StudentStatus&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;={'Pass'}, &lt;/SPAN&gt;Phase&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; -={'Absent'}, &lt;/SPAN&gt;Date&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;={'&amp;lt;=$(=max(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date)'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;} &amp;gt;} distinct ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 02:23:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counts-Expression/m-p/995090#M953957</guid>
      <dc:creator />
      <dc:date>2015-11-30T02:23:46Z</dc:date>
    </item>
  </channel>
</rss>

