<?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: Average headcount over a period in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-headcount-over-a-period/m-p/363559#M135236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked like a charm.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2012 19:19:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-23T19:19:50Z</dc:date>
    <item>
      <title>Average headcount over a period</title>
      <link>https://community.qlik.com/t5/QlikView/Average-headcount-over-a-period/m-p/363557#M135234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to have 2 charts - one showing headcount for Jan, Feb and Mar.&lt;/P&gt;&lt;P&gt;The second showing average headcount for Q1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using this expression:&amp;nbsp; &lt;/P&gt;&lt;P&gt;= &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ({$&amp;lt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Active"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"LOA"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;nbsp;&amp;nbsp; &amp;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;EEID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;In chart one, i'm using dimension = month (e.g. 01/01/12)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;In chart two, i'm using dimension = quarter(e.g. 2012Q1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;In chart one, i'm using the 'average' plot for trend.&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;I want this same value showing in chart2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;How do i do it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;See attached pic for more clarity.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Pat&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 17:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-headcount-over-a-period/m-p/363557#M135234</guid>
      <dc:creator />
      <dc:date>2012-07-23T17:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Average headcount over a period</title>
      <link>https://community.qlik.com/t5/QlikView/Average-headcount-over-a-period/m-p/363558#M135235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using the aggr() function.&amp;nbsp; Then you can get the average over a period of time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AVG(aggr(&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ({$&amp;lt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Active"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"LOA"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;nbsp;&amp;nbsp; &amp;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;EEID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ) &lt;/SPAN&gt;,Month))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 18:43:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-headcount-over-a-period/m-p/363558#M135235</guid>
      <dc:creator>goldnejea8</dc:creator>
      <dc:date>2012-07-23T18:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Average headcount over a period</title>
      <link>https://community.qlik.com/t5/QlikView/Average-headcount-over-a-period/m-p/363559#M135236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked like a charm.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 19:19:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-headcount-over-a-period/m-p/363559#M135236</guid>
      <dc:creator />
      <dc:date>2012-07-23T19:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Average headcount over a period</title>
      <link>https://community.qlik.com/t5/QlikView/Average-headcount-over-a-period/m-p/363560#M135237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent, glad to hear!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 19:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-headcount-over-a-period/m-p/363560#M135237</guid>
      <dc:creator>goldnejea8</dc:creator>
      <dc:date>2012-07-23T19:21:11Z</dc:date>
    </item>
  </channel>
</rss>

