<?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: Total count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-count/m-p/1088813#M937477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;count(if(Aggr(Count(EmpCode),Branch, Jobtitle )&amp;lt;&amp;gt;0 and MATCH(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Empcode&lt;/SPAN&gt;,'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Vacancy1&lt;/SPAN&gt;','&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Vacancy2&lt;/SPAN&gt;'),EmpCode))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Feb 2016 13:58:26 GMT</pubDate>
    <dc:creator>sasikanth</dc:creator>
    <dc:date>2016-02-10T13:58:26Z</dc:date>
    <item>
      <title>Total count</title>
      <link>https://community.qlik.com/t5/QlikView/Total-count/m-p/1088806#M937470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i m working on employee dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have the following table.&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load Branch,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jobtitle,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Empcode&lt;/P&gt;&lt;P&gt;from table.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jobtitle has values like Manager, Director, Assistants, etc.&lt;/P&gt;&lt;P&gt;Empcode has Vacancy1, Vacancy2, Left, Poor Performance, etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have done a pivot table with branch &amp;amp; Jobtitle as dimension, Count(&lt;SPAN style="font-size: 13.3333px;"&gt;Empcode) as expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;i need to calculate values which is not equal to zeros and filter particular &lt;SPAN style="font-size: 13.3333px;"&gt;Empcode.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, i did the expression as:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(COUNT(&lt;SPAN style="font-size: 13.3333px;"&gt;Empcode &lt;/SPAN&gt;)&amp;lt;&amp;gt;0 and MATCH(&lt;SPAN style="font-size: 13.3333px;"&gt;Empcode&lt;/SPAN&gt;,'&lt;SPAN style="font-size: 13.3333px;"&gt;Vacancy1&lt;/SPAN&gt;','&lt;SPAN style="font-size: 13.3333px;"&gt;Vacancy2&lt;/SPAN&gt;''),COUNT(&lt;SPAN style="font-size: 13.3333px;"&gt;Empcode&lt;/SPAN&gt;),'')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works fine. but the totals are giving nulls.&lt;/P&gt;&lt;P&gt;Please help me to correct the expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 13:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-count/m-p/1088806#M937470</guid>
      <dc:creator />
      <dc:date>2016-02-10T13:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Total count</title>
      <link>https://community.qlik.com/t5/QlikView/Total-count/m-p/1088807#M937471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding Sum(Aggr()) around your expression with all the chart dimensions and see if that works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 13:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-count/m-p/1088807#M937471</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-10T13:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Total count</title>
      <link>https://community.qlik.com/t5/QlikView/Total-count/m-p/1088808#M937472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum( Aggr( &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;if(COUNT(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Empcode &lt;/SPAN&gt;)&amp;lt;&amp;gt;0 and MATCH(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Empcode&lt;/SPAN&gt;,'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Vacancy1&lt;/SPAN&gt;','&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Vacancy2&lt;/SPAN&gt;'), COUNT(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Empcode&lt;/SPAN&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Branch, Jobtitle))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 13:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-count/m-p/1088808#M937472</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-10T13:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Total count</title>
      <link>https://community.qlik.com/t5/QlikView/Total-count/m-p/1088809#M937473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post your application with sample data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 13:06:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-count/m-p/1088809#M937473</guid>
      <dc:creator>sathishkumar_go</dc:creator>
      <dc:date>2016-02-10T13:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Total count</title>
      <link>https://community.qlik.com/t5/QlikView/Total-count/m-p/1088810#M937474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNT({&amp;lt;Empcode -={0}&amp;gt;} Distinct Empcode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 13:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-count/m-p/1088810#M937474</guid>
      <dc:creator />
      <dc:date>2016-02-10T13:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Total count</title>
      <link>https://community.qlik.com/t5/QlikView/Total-count/m-p/1088811#M937475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Swuehl, Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i do sum(aggr()), it is giving total correctly but displaying zeros in some vacancies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the condition is &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;COUNT(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Empcode &lt;/SPAN&gt;)&amp;lt;&amp;gt;0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 13:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-count/m-p/1088811#M937475</guid>
      <dc:creator />
      <dc:date>2016-02-10T13:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Total count</title>
      <link>https://community.qlik.com/t5/QlikView/Total-count/m-p/1088812#M937476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Dimensionality() = 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sum( Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(COUNT(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Empcode &lt;/SPAN&gt;)&amp;lt;&amp;gt;0 and MATCH(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Empcode&lt;/SPAN&gt;,'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Vacancy1&lt;/SPAN&gt;','&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Vacancy2&lt;/SPAN&gt;'), COUNT(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Empcode&lt;/SPAN&gt;)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Branch, Jobtitle))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(COUNT(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Empcode &lt;/SPAN&gt;)&amp;lt;&amp;gt;0 and MATCH(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Empcode&lt;/SPAN&gt;,'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Vacancy1&lt;/SPAN&gt;','&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Vacancy2&lt;/SPAN&gt;'), COUNT(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Empcode&lt;/SPAN&gt;),'')&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;I have the feeling there must be a better way to perform your count. Could you upload a small sample QVW?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 13:31:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-count/m-p/1088812#M937476</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-10T13:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Total count</title>
      <link>https://community.qlik.com/t5/QlikView/Total-count/m-p/1088813#M937477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;count(if(Aggr(Count(EmpCode),Branch, Jobtitle )&amp;lt;&amp;gt;0 and MATCH(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Empcode&lt;/SPAN&gt;,'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Vacancy1&lt;/SPAN&gt;','&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Vacancy2&lt;/SPAN&gt;'),EmpCode))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 13:58:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-count/m-p/1088813#M937477</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2016-02-10T13:58:26Z</dc:date>
    </item>
  </channel>
</rss>

