<?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 Distinct count with 2 conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374831#M419773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to count the number of failures with 2 conditions:&lt;/P&gt;&lt;P&gt;If the machine is the same, and also the start day/time is equal the final end/time of the previous order, should not count as a failure.&lt;/P&gt;&lt;P&gt;Follow the files and example.&lt;/P&gt;&lt;P&gt;I need to bring the correct failure count as you guys can see in the last column.&lt;/P&gt;&lt;P&gt;wo_no = work order number&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 610px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="96"&gt;MACHINE&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="53"&gt;WO_NO&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="110"&gt;REAL_S_DATE&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="110"&gt;REAL_F_DATE&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="102"&gt;Count(WO_NO)&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="139"&gt;Correct failure count&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;" width="96"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="53"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="110"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="110"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="102"&gt;12&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="139"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="53"&gt;125678&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;02/10/2017 07:30&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;02/10/2017 07:48&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="139"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="53"&gt;125752&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;03/10/2017 07:30&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;03/10/2017 09:00&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="139"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="53"&gt;125757&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;03/10/2017 09:00&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;03/10/2017 12:50&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="139"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="53"&gt;125714&lt;/TD&gt;&lt;TD class="xl73" style="border-top: none; border-left: none;"&gt;03/10/2017 14:30&lt;/TD&gt;&lt;TD class="xl74" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;03/10/2017 15:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="139"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="53"&gt;125711&lt;/TD&gt;&lt;TD class="xl74" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;03/10/2017 15:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl73" style="border-top: none; border-left: none;"&gt;03/10/2017 16:00&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="139"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="53"&gt;126420&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;05/10/2017 13:42&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;05/10/2017 14:06&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="139"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="53"&gt;127639&lt;/TD&gt;&lt;TD class="xl73" style="border-top: none; border-left: none;"&gt;06/10/2017 14:30&lt;/TD&gt;&lt;TD class="xl73" style="border-top: none; border-left: none;"&gt;06/10/2017 15:00&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="139"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="53"&gt;127638&lt;/TD&gt;&lt;TD class="xl73" style="border-top: none; border-left: none;"&gt;06/10/2017 15:00&lt;/TD&gt;&lt;TD class="xl73" style="border-top: none; border-left: none;"&gt;06/10/2017 16:00&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="139"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="53"&gt;127172&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;08/10/2017 15:06&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;08/10/2017 16:54&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="139"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="53"&gt;602027&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;09/10/2017 07:24&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;09/10/2017 11:00&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="139"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Oct 2017 14:19:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-16T14:19:42Z</dc:date>
    <item>
      <title>Distinct count with 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374831#M419773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to count the number of failures with 2 conditions:&lt;/P&gt;&lt;P&gt;If the machine is the same, and also the start day/time is equal the final end/time of the previous order, should not count as a failure.&lt;/P&gt;&lt;P&gt;Follow the files and example.&lt;/P&gt;&lt;P&gt;I need to bring the correct failure count as you guys can see in the last column.&lt;/P&gt;&lt;P&gt;wo_no = work order number&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 610px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="96"&gt;MACHINE&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="53"&gt;WO_NO&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="110"&gt;REAL_S_DATE&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="110"&gt;REAL_F_DATE&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="102"&gt;Count(WO_NO)&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="139"&gt;Correct failure count&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;" width="96"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="53"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="110"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="110"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="102"&gt;12&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="139"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="53"&gt;125678&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;02/10/2017 07:30&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;02/10/2017 07:48&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="139"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="53"&gt;125752&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;03/10/2017 07:30&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;03/10/2017 09:00&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="139"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="53"&gt;125757&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;03/10/2017 09:00&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;03/10/2017 12:50&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="139"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="53"&gt;125714&lt;/TD&gt;&lt;TD class="xl73" style="border-top: none; border-left: none;"&gt;03/10/2017 14:30&lt;/TD&gt;&lt;TD class="xl74" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;03/10/2017 15:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="139"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="53"&gt;125711&lt;/TD&gt;&lt;TD class="xl74" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;03/10/2017 15:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl73" style="border-top: none; border-left: none;"&gt;03/10/2017 16:00&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="139"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="53"&gt;126420&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;05/10/2017 13:42&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;05/10/2017 14:06&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="139"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="53"&gt;127639&lt;/TD&gt;&lt;TD class="xl73" style="border-top: none; border-left: none;"&gt;06/10/2017 14:30&lt;/TD&gt;&lt;TD class="xl73" style="border-top: none; border-left: none;"&gt;06/10/2017 15:00&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="139"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="53"&gt;127638&lt;/TD&gt;&lt;TD class="xl73" style="border-top: none; border-left: none;"&gt;06/10/2017 15:00&lt;/TD&gt;&lt;TD class="xl73" style="border-top: none; border-left: none;"&gt;06/10/2017 16:00&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;" width="139"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="53"&gt;127172&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;08/10/2017 15:06&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;08/10/2017 16:54&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="139"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;" width="96"&gt;FW47&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="53"&gt;602027&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;09/10/2017 07:24&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;09/10/2017 11:00&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="102"&gt;1&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;" width="139"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 14:19:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374831#M419773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T14:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count with 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374832#M419774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(If(REAL_S_DATE) &amp;lt;&amp;gt; Above(REAL_F_DATE), WO_NO)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 14:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374832#M419774</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-16T14:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count with 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374833#M419775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;didn't work:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/179778_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 15:00:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374833#M419775</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T15:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count with 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374834#M419776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;May be typo error?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Count(If(REAL_S_DATE &amp;lt;&amp;gt; Above(REAL_F_DATE), WO_NO))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 15:02:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374834#M419776</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-16T15:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count with 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374835#M419777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 15:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374835#M419777</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T15:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count with 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374836#M419778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Checking Machine also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #575757; text-decoration: line-through;"&gt;Count(If(REAL_S_DATE) &amp;lt;&amp;gt; Above(REAL_F_DATE) and &lt;/EM&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;SPAN style="color: #575757; font-size: 13px; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; text-decoration: line-through;"&gt;&lt;EM&gt;MACHINE &amp;lt;&amp;gt; Above(&lt;SPAN style="font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px;"&gt;MACHINE&lt;/SPAN&gt;)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;EM style=": ; color: #575757; text-decoration: line-through;"&gt;, WO_NO)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #575757;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #575757;"&gt;This is correct&lt;/EM&gt;&lt;STRONG&gt;&lt;EM style="color: #575757;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #575757;"&gt;&lt;STRONG&gt;&lt;EM&gt;Count(If(REAL_S_DATE) &amp;lt;&amp;gt; Above(REAL_F_DATE) and &lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;MACHINE &amp;lt;&amp;gt; Above(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MACHINE&lt;/SPAN&gt;)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;, WO_NO)) &lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 15:15:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374836#M419778</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-16T15:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count with 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374837#M419779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;also getting error with this expression...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ERROR.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/179799_ERROR.JPG" style="width: 620px; height: 244px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 15:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374837#M419779</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T15:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count with 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374838#M419780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try with NUM dates though&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit; color: #575757;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit; color: #575757;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Count( If NUM( REAL_S_DATE )&amp;nbsp; &amp;lt;&amp;gt; Above( NUM(REAL_F_DATE)) and &lt;/EM&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;MACHINE &amp;lt;&amp;gt; Above(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;MACHINE&lt;/SPAN&gt;)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;, WO_NO))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit; color: #575757;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit; color: #575757;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Or&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit; color: #575757;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit; color: #575757;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit; color: #575757;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Count( If NUM( REAL_S_DATE )&amp;nbsp; &amp;lt;&amp;gt; Above( NUM(REAL_F_DATE)) &lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;, WO_NO))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 15:31:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374838#M419780</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-16T15:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count with 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374839#M419781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Samuel,&lt;/P&gt;&lt;P&gt;Maybe:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;MACHINE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;WO_NO&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;REAL_S_DATE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;REAL_F_DATE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;if(REAL_S_DATE= Above(TOTAL REAL_F_DATE),0,1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;FW47&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;125678&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;02/10/2017 07:30&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;02/10/2017 07:48&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;FW47&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;125752&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;03/10/2017 07:30&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;03/10/2017 09:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;FW47&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;125757&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;03/10/2017 09:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;03/10/2017 12:50&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;FW47&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;125714&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;03/10/2017 14:30&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;03/10/2017 15:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;FW47&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;125711&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;03/10/2017 15:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;03/10/2017 16:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;FW47&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;126420&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;05/10/2017 13:42&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;05/10/2017 14:06&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;FW47&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;127639&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;06/10/2017 14:30&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;06/10/2017 15:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;FW47&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;127638&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;06/10/2017 15:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;06/10/2017 16:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;FW47&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;127172&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;08/10/2017 15:06&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;08/10/2017 16:54&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;FW47&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;602027&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;09/10/2017 07:24&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;09/10/2017 11:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count of failures =Sum(Aggr(if(REAL_S_DATE= Above(TOTAL REAL_F_DATE),0,1),(REAL_S_DATE,(NUMERIC,ASCENDING)))) &lt;/P&gt;&lt;P&gt;=7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 15:38:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374839#M419781</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-10-16T15:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count with 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374840#M419782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;same error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ERROR 2.JPG" class="jive-image image-1" src="/legacyfs/online/179800_ERROR 2.JPG" style="width: 620px; height: 180px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 15:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374840#M419782</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T15:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count with 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374841#M419783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Andrew,&lt;/P&gt;&lt;P&gt;getting this error:&lt;/P&gt;&lt;P&gt;Am I doing something wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ERROR 3.JPG" class="jive-image image-1" src="/legacyfs/online/179807_ERROR 3.JPG" style="width: 620px; height: 207px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 15:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374841#M419783</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T15:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count with 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374842#M419784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On script part do calculation and UI do count of expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,IF(REAL_S_DATE = Previous(REAL_F_DATE),1,0) as [Correct Failure];&lt;/P&gt;&lt;P&gt;LOAD MACHINE, WO_NO,&lt;/P&gt;&lt;P&gt;(Timestamp( Timestamp#( REAL_S_DATE,'DD/MM/YYYY hh:mm'),'DD/MM/YYYY hh:mm')) as REAL_S_DATE,&lt;/P&gt;&lt;P&gt;(Timestamp( Timestamp#( REAL_F_DATE,'DD/MM/YYYY hh:mm'),'DD/MM/YYYY hh:mm')) as REAL_F_DATE, CWO_NO, [Correct failure count];&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;MACHINE, WO_NO, REAL_S_DATE, REAL_F_DATE, CWO_NO, Correct failure count&lt;/P&gt;&lt;P&gt;FW47, 125678, 02/10/2017 07:30, 02/10/2017 07:48, 1, 1&lt;/P&gt;&lt;P&gt;FW47, 125752, 03/10/2017 07:30, 03/10/2017 09:00, 1, 1&lt;/P&gt;&lt;P&gt;FW47, 125757, 03/10/2017 09:00, 03/10/2017 12:50, 1, 1&lt;/P&gt;&lt;P&gt;FW47, 125714, 03/10/2017 14:30, 03/10/2017 15:00, 1, 1&lt;/P&gt;&lt;P&gt;FW47, 125711, 03/10/2017 15:00, 03/10/2017 16:00, 1, 0&lt;/P&gt;&lt;P&gt;FW47, 126420, 05/10/2017 13:42, 05/10/2017 14:06, 1, 1&lt;/P&gt;&lt;P&gt;FW47, 127639, 06/10/2017 14:30, 06/10/2017 15:00, 1, 1&lt;/P&gt;&lt;P&gt;FW47, 127638, 06/10/2017 15:00, 06/10/2017 16:00, 1, 0&lt;/P&gt;&lt;P&gt;FW47, 127172, 08/10/2017 15:06, 08/10/2017 16:54, 1, 1&lt;/P&gt;&lt;P&gt;FW47, 602027, 09/10/2017 07:24, 09/10/2017 11:00, 1, 1&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 15:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374842#M419784</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-16T15:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count with 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374843#M419785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Samuel,&lt;/P&gt;&lt;P&gt;The expression&lt;/P&gt;&lt;P&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;Sum(Aggr(if(REAL_S_DATE= Above(TOTAL REAL_F_DATE),0,1),(REAL_S_DATE,(NUMERIC,ASCENDING))))&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;belongs in a text box and with the data provided should return the value 7.&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;Kind regards&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;Andrew&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 16:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374843#M419785</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-10-16T16:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count with 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374844#M419786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't know what is going on, but I'm getting the same error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 16:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374844#M419786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T16:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct count with 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374845#M419787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Anand,&lt;/P&gt;&lt;P&gt;Used this one and got it!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOAD *,IF(REAL_S_DATE = Previous(REAL_F_DATE) and MACHINE = Previous(MACHINE) ,0,1) as n_failure;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 16:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-count-with-2-conditions/m-p/1374845#M419787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T16:38:47Z</dc:date>
    </item>
  </channel>
</rss>

