<?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: Distribute the value to the allocated months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Distribute-the-value-to-the-allocated-months/m-p/43897#M7414</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this something you are looking to do while loading the data or is this on the front end chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2018 18:56:30 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-06-01T18:56:30Z</dc:date>
    <item>
      <title>Distribute the value to the allocated months</title>
      <link>https://community.qlik.com/t5/QlikView/Distribute-the-value-to-the-allocated-months/m-p/43896#M7413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;I have to generate &lt;/P&gt;&lt;P&gt;Just need your help,&lt;/P&gt;&lt;P&gt;I need to split the value in that excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; As per data in the attached sheet:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="159" style="width: 765px; height: 103px;" width="763"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="25" style="padding-left: 30px;" width="217"&gt;If Column D is blank&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" colspan="2" height="25"&gt;Divide the value in Column B /12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" colspan="2" height="25"&gt;Place that value in each month from the Sale Start Date month&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63"&gt;E.g&amp;nbsp; Sale ID&amp;nbsp; 1, value '178,283' /12 = '14,857' which is placed in each month from the start of the Sale Start date, in this case, was Dec-16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" style="padding-left: 30px;"&gt;Sale ID 4: Value 57,757/12 which is equal to '4,813' I placed in each month from sale start month which is Apr-18 till Aug-20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-left: 36.0pt;"&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;BR /&gt; [&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Annual Sales]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Sale Start Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Sale End Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Profit End Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 36.0pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;//If &lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;[Sale End Date] is blank consider the date to be&amp;nbsp; Apr-2021&lt;/SPAN&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Sale Start Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Sale Start Month]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Sale Start Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Sale Start Year]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Sale End Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Sale End Month]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Sale End Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Sale End Year]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Profit End Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Profit End Month]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Profit End Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Profit End Year]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 11:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distribute-the-value-to-the-allocated-months/m-p/43896#M7413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-01T11:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Distribute the value to the allocated months</title>
      <link>https://community.qlik.com/t5/QlikView/Distribute-the-value-to-the-allocated-months/m-p/43897#M7414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this something you are looking to do while loading the data or is this on the front end chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 18:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distribute-the-value-to-the-allocated-months/m-p/43897#M7414</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-01T18:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Distribute the value to the allocated months</title>
      <link>https://community.qlik.com/t5/QlikView/Distribute-the-value-to-the-allocated-months/m-p/43898#M7415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Yes. the data is in excel, I have attached.&lt;/P&gt;&lt;P&gt;In the excel only the 4 inputs fields will get loaded.&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="442"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl68" height="48" width="129"&gt;Annual Sales&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="115"&gt;Sale Start Date&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="99"&gt;Sale End Date&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="99"&gt;Profit End Date&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given the data set, I want those calculated fields to do a loop or assign a number based on the months they belong.&lt;/P&gt;&lt;P&gt;I hope I was able to explain. 100Yrs, Tom P just mentioned your name.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 19:35:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distribute-the-value-to-the-allocated-months/m-p/43898#M7415</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-01T19:35:47Z</dc:date>
    </item>
  </channel>
</rss>

