<?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: Is there a way to do a prorated calculation without adding to script? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-do-a-prorated-calculation-without-adding-to/m-p/424624#M158168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Could you please attache the sample QVW file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Apr 2013 06:19:23 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2013-04-05T06:19:23Z</dc:date>
    <item>
      <title>Is there a way to do a prorated calculation without adding to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-do-a-prorated-calculation-without-adding-to/m-p/424623#M158167</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;BR /&gt;I'm working on a similar issue with this link: &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/message/330465#330465"&gt;http://community.qlik.com/message/330465#330465&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But - I'm wondering if there's a way to do a Prorated calculation based on a Start Date. The date model has an Activity table - the Employee joined by Employee ID and the calendar joined to the Activity table by date.&amp;nbsp; Here's what I have thus far and it results in a static number, which is correct - but if someone starts in a year (say 2012), I need to prorate the days available based on when a sales rep started:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr&lt;SPAN style="font-size: 10pt;"&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;TOTAL&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Available Days]&lt;/SPAN&gt;)),&lt;SPAN style="color: #800000;"&gt;[Date]&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;[Sales Rep]&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;[Date Year]&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;[Employee Start Date]&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;[Employee ID]&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Neal&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 21:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-do-a-prorated-calculation-without-adding-to/m-p/424623#M158167</guid>
      <dc:creator />
      <dc:date>2013-04-04T21:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to do a prorated calculation without adding to script?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-do-a-prorated-calculation-without-adding-to/m-p/424624#M158168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Could you please attache the sample QVW file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 06:19:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-do-a-prorated-calculation-without-adding-to/m-p/424624#M158168</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-04-05T06:19:23Z</dc:date>
    </item>
  </channel>
</rss>

