<?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: Employee Headcount in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Employee-Headcount/m-p/345238#M127642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This was correct, I tried that just before you posted and it returned the right number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On another note, this is a pivot with the month end along the top. Any idea how I can change just the total field to show the average month head count?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevermind, found the secondarydimensionality ( ) function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Mar 2012 18:48:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-09T18:48:25Z</dc:date>
    <item>
      <title>Employee Headcount</title>
      <link>https://community.qlik.com/t5/QlikView/Employee-Headcount/m-p/345235#M127639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to do an employee headcount based on a hire date and inactive date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the formula I am using. Note: Active Date is just today() * 2 to put it into the future.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(CalendarMonthEnd&amp;gt;=[Hire Date] and CalendarMonthEnd &amp;lt;if(isnull([Inactive Date]),[Active Date],[Inactive Date]),1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dimension is CalendarMonthEnd. &lt;/P&gt;&lt;P&gt;My issue is that it is summing it for every day in the month. So Month ending 10/31/2011 for 1 employee should return 1. It currently returns 31. How can I go abount doing this? Would Aggr work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 15:53:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Employee-Headcount/m-p/345235#M127639</guid>
      <dc:creator />
      <dc:date>2012-03-09T15:53:08Z</dc:date>
    </item>
    <item>
      <title>Employee Headcount</title>
      <link>https://community.qlik.com/t5/QlikView/Employee-Headcount/m-p/345236#M127640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; by look of it... i guess using avg or count can solve ur issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 16:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Employee-Headcount/m-p/345236#M127640</guid>
      <dc:creator />
      <dc:date>2012-03-09T16:06:53Z</dc:date>
    </item>
    <item>
      <title>Employee Headcount</title>
      <link>https://community.qlik.com/t5/QlikView/Employee-Headcount/m-p/345237#M127641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;sum(Aggr(if(CalendarMonthEnd&amp;gt;=[Hire Date] and CalendarMonthEnd &amp;lt;if(isnull([Inactive Date]),[Active Date],[Inactive Date]),1),EmployeeField))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Celambarasan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 16:38:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Employee-Headcount/m-p/345237#M127641</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-09T16:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Employee Headcount</title>
      <link>https://community.qlik.com/t5/QlikView/Employee-Headcount/m-p/345238#M127642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This was correct, I tried that just before you posted and it returned the right number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On another note, this is a pivot with the month end along the top. Any idea how I can change just the total field to show the average month head count?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevermind, found the secondarydimensionality ( ) function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 18:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Employee-Headcount/m-p/345238#M127642</guid>
      <dc:creator />
      <dc:date>2012-03-09T18:48:25Z</dc:date>
    </item>
  </channel>
</rss>

