<?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 if in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-if/m-p/1098632#M364782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure thing &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 May 2016 20:28:48 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-05-18T20:28:48Z</dc:date>
    <item>
      <title>Count if</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if/m-p/1098629#M364779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to calculate the number of requests that have gone through two selected steps.&amp;nbsp; There are a total of 8 steps in the lifecycle and a request may go through some of the steps but not trough other steps.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need is the total count of distinct requests that at a given time have gone through "both" selected steps and their status is closed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = {'Closed'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;REQUEST_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;but this expression gives me the count of requests that have been in either step. For example if I filter by step 3 and 4 for FY16, it should return a count of 1 and show only May-2016 since there is only one request (#8216) that have been in both step3 and step4.&amp;nbsp; Instead it is returning the count of all steps that have been in one or the other step.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="1.png" class="jive-image image-1" height="154" src="https://community.qlik.com/legacyfs/online/124977_1.png" style="height: 153.968px; width: 370px;" width="370" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Any help is appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Carlos &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 19:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if/m-p/1098629#M364779</guid>
      <dc:creator>clondono</dc:creator>
      <dc:date>2016-05-18T19:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Count if</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if/m-p/1098630#M364780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({$&amp;lt;REQUEST_ID = {"=Count(STEP) = GetSelectedCount(STEP)"}&amp;gt;}DISTINCT REQUEST_ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124971_Capture.PNG" style="height: 282px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 20:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if/m-p/1098630#M364780</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-18T20:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Count if</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if/m-p/1098631#M364781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny.&amp;nbsp; It looks correct, I will validate and let you know!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 20:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if/m-p/1098631#M364781</guid>
      <dc:creator>clondono</dc:creator>
      <dc:date>2016-05-18T20:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Count if</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if/m-p/1098632#M364782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure thing &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 20:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if/m-p/1098632#M364782</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-18T20:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count if</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if/m-p/1098633#M364783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that was the perfect solution.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Sunny!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 21:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if/m-p/1098633#M364783</guid>
      <dc:creator>clondono</dc:creator>
      <dc:date>2016-05-18T21:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count if</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if/m-p/1098634#M364784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 21:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if/m-p/1098634#M364784</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-18T21:12:11Z</dc:date>
    </item>
  </channel>
</rss>

