<?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: Calculating FTE dependent on Selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169321#M380292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well would you be able to elaborate as to what your expected output is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2016 15:36:02 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-09-09T15:36:02Z</dc:date>
    <item>
      <title>Calculating FTE dependent on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169318#M380289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a hard time with calculating FTE (Full-time equivalents while including selections).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In calculating FTE, depending on dimension (time) you divide hours worked by 1920 (year), 160 (month), 480 (quarter), etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I have a situation where it is possible to have more than 1 year, so therefore, I would say, &lt;EM&gt;2015 and 2016 have been selected, sum hours from both years and then divide by (1920*2)&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This makes things complicated when it comes to dynamic calculations. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance it is currently September 2016 so if I had that year and month selected I would calculate like so : sum(hours) / 9*160 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I had both 2015 and 2016 and September I would need the FTE of Jan - Sep for both years. Therefore, sum(hours) / (9*160)*2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I have the logic down I'm just having trouble bringing it to life with expression(s). Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Channing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 15:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169318#M380289</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-08T15:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating FTE dependent on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169319#M380290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum(hours)/((Num(Month) * 160) * Count(DISTINCT Year))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 19:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169319#M380290</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-08T19:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating FTE dependent on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169320#M380291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works great and is very close. Now, I need to figure out how to have a rolling sum of the hours worked from the previous month. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is where&amp;nbsp; your expression has me now (I'd like to ignore those that fall under August as it's missing data and 160 is a default value): &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="rollingSum.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136978_rollingSum.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Channing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 15:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169320#M380291</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-09T15:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating FTE dependent on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169321#M380292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well would you be able to elaborate as to what your expected output is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 15:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169321#M380292</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-09T15:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating FTE dependent on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169322#M380293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add the hours from the previous month (creating a cumulative sum) just like that which is happening under the Employed field in my last image. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you refer to my image February's Hours would&amp;nbsp; be 1752.08+1737.48 and Employed would be 320 (as it is in the image). If this logic was in place I'd get the total of Jan - July hours to divide by 1120 Employed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can probably use Set Analysis to omit anything beyond July (this data is outdated, but I'd be omitting any month that hasn't occurred yet). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this make more sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 15:45:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169322#M380293</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-09T15:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating FTE dependent on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169323#M380294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Above(&lt;/STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(hours)/((Num(Month) * 160) * Count(DISTINCT Year)), 0, RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 16:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169323#M380294</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-09T16:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating FTE dependent on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169324#M380295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using =Rangesum(&lt;STRONG&gt;"4th column"&lt;/STRONG&gt;,rowno())&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_3.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136982_Screenshot_3.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 16:07:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169324#M380295</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-09-09T16:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating FTE dependent on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169325#M380296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The rangesum works! Now I can omit the late rmonths with Set Analysis. Is it possible to retain these range sum values upon the selection of let's say May? So, when I select May I get 9965.19&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="rollingSum.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136995_rollingSum.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Channing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 18:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169325#M380296</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-09T18:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating FTE dependent on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169326#M380297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&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;RangeSum(Above(&lt;/STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt;hours)/((Num(&lt;SPAN style="color: #ff0000;"&gt;Only({1}&lt;/SPAN&gt;Month&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;) * 160) * Count(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt;DISTINCT Year)), 0, RowNo())) &lt;SPAN style="color: #ff0000;"&gt;* Avg(1)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 19:06:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169326#M380297</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-09T19:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating FTE dependent on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169327#M380298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The numbers don't quite line up. I'm sort of at a loss. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="rollingSum.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/137161_rollingSum.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 19:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169327#M380298</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-12T19:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating FTE dependent on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169328#M380299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I am guessing that the last column is not the expected result? What exactly are you expecting to see?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 23:42:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169328#M380299</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-12T23:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating FTE dependent on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169329#M380300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The second column from the right are the values I need to see. I need to see the ratio of Hours to Employed Hours (Hours / Employed) with a rolling sum from the numbers above. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first three columns are correct. However, if I select May I will not get the right Hours / Employed ratio because it is not taking into account the rolling sum (the previous month's hours accumulated). I want to be able to select May and still retain the correct hours and employed hours respectively 9965.19 and 800 without having to include the other selections (essential it performs a rolling sum whether or not the other periods are selected)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Channing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 16:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-FTE-dependent-on-Selections/m-p/1169329#M380300</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-13T16:55:31Z</dc:date>
    </item>
  </channel>
</rss>

