<?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: Headcount vs Budget with variance in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Headcount-vs-Budget-with-variance/m-p/753335#M268440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Arnie,&lt;/P&gt;&lt;P&gt;i created 4 version of the linear gauge. worked out great!&lt;/P&gt;&lt;P&gt;thx again!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/111559_Capture.JPG" style="width: 620px; height: 191px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jan 2016 22:12:18 GMT</pubDate>
    <dc:creator>sbgipson7788</dc:creator>
    <dc:date>2016-01-13T22:12:18Z</dc:date>
    <item>
      <title>Headcount vs Budget with variance</title>
      <link>https://community.qlik.com/t5/QlikView/Headcount-vs-Budget-with-variance/m-p/753329#M268434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on showing variance to budget for headcount, hours and dollars. The headcount piece is difficult to show correctly due to way I'm calculating the values for headcount: actual is the distinct count of employee id while budget is the max headcount value by area (I don't want to enter employee id records into the budget so I enter a value by area, by day).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Aggr and Max, I can get the values to show correctly for each day and for multiple days, but the total, difference and variance don't calculate how I want them to. You can see 3 different attempts in the attached example. The first is a simple calculation using expression totals and doesn't give meaningful results. The second filters out null values from the budget and uses Sum of rows for the total - the difference works for a day but not multiple days and the variance doesn't work. In the third I attempted to fix the variance to adjust for zero values in the budget or actuals but that's not any better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how I should attack this problem?&lt;/P&gt;&lt;P&gt;Arnie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Headcount.jpg" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/80076_Headcount.jpg" style="width: 620px; height: 284px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 02:23:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Headcount-vs-Budget-with-variance/m-p/753329#M268434</guid>
      <dc:creator>arniewolff</dc:creator>
      <dc:date>2015-03-06T02:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Headcount vs Budget with variance</title>
      <link>https://community.qlik.com/t5/QlikView/Headcount-vs-Budget-with-variance/m-p/753330#M268435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if I&amp;nbsp; have understood you correctly. However, based on your first attempt change the budget expression to this:&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;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FactType&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Budget"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Headcount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Area&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;and the Var % expressioin to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Diff/Actual&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this solve your problem? Or have I misunderstood you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 09:23:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Headcount-vs-Budget-with-variance/m-p/753330#M268435</guid>
      <dc:creator>chrislofthouse</dc:creator>
      <dc:date>2015-03-06T09:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Headcount vs Budget with variance</title>
      <link>https://community.qlik.com/t5/QlikView/Headcount-vs-Budget-with-variance/m-p/753331#M268436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Christopher! Adding the Sum() corrected the budget expression and allowed the existing Diff and Var % expressions to work as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 16:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Headcount-vs-Budget-with-variance/m-p/753331#M268436</guid>
      <dc:creator>arniewolff</dc:creator>
      <dc:date>2015-03-06T16:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Headcount vs Budget with variance</title>
      <link>https://community.qlik.com/t5/QlikView/Headcount-vs-Budget-with-variance/m-p/753332#M268437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi arnie,&lt;/P&gt;&lt;P&gt;did you ever convert the data to a graph or chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 18:03:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Headcount-vs-Budget-with-variance/m-p/753332#M268437</guid>
      <dc:creator>sbgipson7788</dc:creator>
      <dc:date>2015-12-23T18:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Headcount vs Budget with variance</title>
      <link>https://community.qlik.com/t5/QlikView/Headcount-vs-Budget-with-variance/m-p/753333#M268438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I pulled the data into a straight table and used a linear gauge to show performance vs plan visually. That seemed the best solution for our needs.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Headcount table.JPG" class="jive-image image-1" src="/legacyfs/online/109898_Headcount table.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 19:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Headcount-vs-Budget-with-variance/m-p/753333#M268438</guid>
      <dc:creator>arniewolff</dc:creator>
      <dc:date>2015-12-23T19:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Headcount vs Budget with variance</title>
      <link>https://community.qlik.com/t5/QlikView/Headcount-vs-Budget-with-variance/m-p/753334#M268439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Arnie,&lt;/P&gt;&lt;P&gt;ive been away &amp;amp; busy start of the year. But my team likes your linear gauge &amp;amp; wants me use that since what we have in excel isnt recreatable in QV yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 15:16:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Headcount-vs-Budget-with-variance/m-p/753334#M268439</guid>
      <dc:creator>sbgipson7788</dc:creator>
      <dc:date>2016-01-13T15:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Headcount vs Budget with variance</title>
      <link>https://community.qlik.com/t5/QlikView/Headcount-vs-Budget-with-variance/m-p/753335#M268440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Arnie,&lt;/P&gt;&lt;P&gt;i created 4 version of the linear gauge. worked out great!&lt;/P&gt;&lt;P&gt;thx again!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/111559_Capture.JPG" style="width: 620px; height: 191px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 22:12:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Headcount-vs-Budget-with-variance/m-p/753335#M268440</guid>
      <dc:creator>sbgipson7788</dc:creator>
      <dc:date>2016-01-13T22:12:18Z</dc:date>
    </item>
  </channel>
</rss>

