<?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: Equally distribute the Total Value across months based on a Duration in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Equally-distribute-the-Total-Value-across-months-based-on-a/m-p/655638#M239416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's kind of a weird way of doing it: cross tabling. See attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jun 2014 22:10:00 GMT</pubDate>
    <dc:creator>vgutkovsky</dc:creator>
    <dc:date>2014-06-25T22:10:00Z</dc:date>
    <item>
      <title>Equally distribute the Total Value across months based on a Duration</title>
      <link>https://community.qlik.com/t5/QlikView/Equally-distribute-the-Total-Value-across-months-based-on-a/m-p/655637#M239415</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;I am in need of some help generating a value on a monthly basis that is equal across the months. The current scenario is, I have a From Date, Duration and a Total Value. What I want to achieve is, based on the duration distribute the Total Value starting from the From Date across months for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total Value: 3000&lt;/P&gt;&lt;P&gt;Duration: 3&lt;/P&gt;&lt;P&gt;From Date: 04/08/14&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally I want to divide the Total Value by the duration (Total Value/Duration) and distribute it across 3 months from the 04/08/14, resulting in:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aug 2014 = 1000&lt;/P&gt;&lt;P&gt;Sept 2014 = 1000&lt;/P&gt;&lt;P&gt;Oct 2014 = 1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attempted this so far by creating a To Date based on the duration and then using a iterno() and while statement. This works to an extent as it effectively creates a daily rate opposed to a monthly rate however as it is based on days rather than months when you group the values by Month the Values are not equal as there are less days in Sept etc. The Total will still equal 3000 but when reporting in the month the value is incorrect as my requirement is to equally distribute the Total Value across the months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nikki &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 21:36:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Equally-distribute-the-Total-Value-across-months-based-on-a/m-p/655637#M239415</guid>
      <dc:creator />
      <dc:date>2014-06-25T21:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Equally distribute the Total Value across months based on a Duration</title>
      <link>https://community.qlik.com/t5/QlikView/Equally-distribute-the-Total-Value-across-months-based-on-a/m-p/655638#M239416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's kind of a weird way of doing it: cross tabling. See attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 22:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Equally-distribute-the-Total-Value-across-months-based-on-a/m-p/655638#M239416</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2014-06-25T22:10:00Z</dc:date>
    </item>
  </channel>
</rss>

