<?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 If in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/1007577#M467385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am trying to complete this calculation only counting data where the Location Column reads 'Remote'. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='T',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Time (Min)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/60/24)+&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='NT',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Time (Min)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/60/24)&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff8000; font-size: 8pt; text-decoration: underline;"&gt;)&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;/&lt;BR /&gt;&lt;BR /&gt;((((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))*480)/60/24)-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='P',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Time (Min)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/60/24)-(((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='P',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Quantity&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))*30)/60/24)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Nov 2015 20:14:10 GMT</pubDate>
    <dc:creator>danm84306</dc:creator>
    <dc:date>2015-11-16T20:14:10Z</dc:date>
    <item>
      <title>Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/1007577#M467385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am trying to complete this calculation only counting data where the Location Column reads 'Remote'. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='T',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Time (Min)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/60/24)+&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='NT',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Time (Min)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/60/24)&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff8000; font-size: 8pt; text-decoration: underline;"&gt;)&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;/&lt;BR /&gt;&lt;BR /&gt;((((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))*480)/60/24)-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='P',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Time (Min)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/60/24)-(((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='P',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Quantity&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))*30)/60/24)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 20:14:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If/m-p/1007577#M467385</guid>
      <dc:creator>danm84306</dc:creator>
      <dc:date>2015-11-16T20:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/1007578#M467386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;Sum&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Location = {'Remote'}&amp;gt;}&lt;/SPAN&gt; if(Type='T',[Time (Min)])/60/24) + Sum(&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Location = {'Remote'}&amp;gt;}&lt;/SPAN&gt; &lt;/STRONG&gt;if(Type='NT',[Time (Min)])/60/24))&lt;BR /&gt;&lt;BR /&gt;/&lt;BR /&gt;&lt;BR /&gt;((((Count(&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Location = {'Remote'}&amp;gt;}&lt;/SPAN&gt; &lt;/STRONG&gt;Distinct Date&amp;amp;Name))*480)/60/24)-Sum(&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Location = {'Remote'}&amp;gt;}&lt;/SPAN&gt; &lt;/STRONG&gt;if(Type='P',[Time (Min)])/60/24)-(((Count(&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Location = {'Remote'}&amp;gt;}&lt;/SPAN&gt; &lt;/STRONG&gt;Distinct Date&amp;amp;Name)-Sum(&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Location = {'Remote'}&amp;gt;}&lt;/SPAN&gt; &lt;/STRONG&gt;if(Type='P',Quantity&lt;/STRONG&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;)))*30)/60/24))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 20:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If/m-p/1007578#M467386</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-16T20:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/1007579#M467387</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;try every expression in set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Location = {'Remote'},Type={'T','NT'}&amp;gt;}[Time (Min)])/60/24&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;(&lt;BR /&gt; (&lt;BR /&gt;&amp;nbsp; (&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count({&amp;lt;Location = {'Remote'}&amp;gt;} Distinct Date&amp;amp;Name)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; )*480&lt;BR /&gt;&amp;nbsp; )/60/24&lt;BR /&gt; )&lt;BR /&gt; -&lt;BR /&gt; Sum({&amp;lt;Location = {'Remote'},Type={'P'}&amp;gt;}[Time (Min)])/60/24 &lt;BR /&gt; -&lt;BR /&gt; (&lt;BR /&gt;&amp;nbsp; (&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count({&amp;lt;Location = {'Remote'}&amp;gt;} Distinct Date&amp;amp;Name)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;Location = {'Remote'},Type={'P'}&amp;gt;} Quantity)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; )*30&lt;BR /&gt;&amp;nbsp; )/60/24&lt;BR /&gt; )&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 04:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If/m-p/1007579#M467387</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-11-17T04:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If/m-p/1007580#M467388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=((Sum({&amp;lt;Type{'T'}&amp;gt;}[Time (Min)])/60/24)+(Sum({&amp;lt;Type{'NT'}&amp;gt;}[Time (Min)])/60/24))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(((Count(Distinct Date&amp;amp;Name)*480)/60/24)-(Sum({&amp;lt;Type={'P'}&amp;gt;}[Time (Min)])/60/24)-(((Count(Distinct Date&amp;amp;Name)-Sum({&amp;lt;Type={'P'}&amp;gt;}Quantity))*30)/60/24))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 06:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If/m-p/1007580#M467388</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-11-17T06:37:36Z</dc:date>
    </item>
  </channel>
</rss>

