<?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: Creating a Table of Payment Breakdown in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-Table-of-Payment-Breakdown/m-p/17999#M778331</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;Is this what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2018 14:13:01 GMT</pubDate>
    <dc:creator>andrei_delta</dc:creator>
    <dc:date>2018-04-13T14:13:01Z</dc:date>
    <item>
      <title>Creating a Table of Payment Breakdown</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Table-of-Payment-Breakdown/m-p/17998#M778330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has been very challenging&amp;nbsp; for me. I need to create a table that calculates the monthly amount for a given cost schedule (Table 1) and for a given set of due dates (Table 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically from something like this:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="49" style="border: 1px solid rgb(0, 0, 0); width: 431px; height: 37px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Record ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Start Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;End Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Amount Due&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Schedule Type&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ZZZ&lt;/TD&gt;&lt;TD&gt;1/1/2018&lt;/TD&gt;&lt;TD&gt;12/31/2018&lt;/TD&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;TD&gt;Quarterly&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create this:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="131" style="border: 1px solid rgb(0, 0, 0); width: 331px; height: 133px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Record ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Payment Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Amount Paid&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ZZZ&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/1/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ZZZ&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4/1/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ZZZ&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7/1/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ZZZ&lt;/TD&gt;&lt;TD&gt;10/1/2018&lt;/TD&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA PROVIDED:&lt;/P&gt;&lt;P&gt;Table 1 shows the Start Date and End Date of the amount due for different records. The Schedule Type tells whether it is “Monthly” or “Quarterly”. So for example 100ABC there is a cost of 500 every month from 9/1/2017 to 3/31/2018. For 200AAA, there is a cost of 300 every quarter from 4/1/2017 to 3/31/2018. [Schedule Type] is also what links Table 1 to Table 2.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2 shows the actual Due Dates. The Due Dates are in the format of MM/DD. So “Monthly” is simply 1&lt;SUP&gt;st&lt;/SUP&gt; day of each month for each year until the End Date. For Quarterly_type01 it is 01/01 (Jan 1), 04/01 (April 1), 07/01 (July 1), 10/01 (October 1) of each year until the End Date. Quarterly_type02 has specific dates also. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REQUIRED OUTPUT:&lt;/P&gt;&lt;P&gt;So what I was trying to do at first is create a list of dates based on those Due Dates by attaching a year (starting from perhaps 2016 until 2020). Then from the data on Table 1 cost schedule, I have to split the schedule and map them onto the Due Dates. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far I have been failing miserably. What makes it even trickier is when the Start Date or End Date does not line up properly with the Due Dates. Record ID=300DEF and Record ID=&lt;SPAN style="color: black;"&gt;400MMM&lt;/SPAN&gt; are good examples. For those instances the amount for the partial month (or partial quarter) has to be prorated based on the number of days. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tab EXPECTED OUTPUT on the attached excel file is the desired generated table.&amp;nbsp; 3 fields… [Record ID], [Payment Date], [Amount Paid]. [Payment Date] is basically just the Due Dates attached to a year. Any guidance?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Table-of-Payment-Breakdown/m-p/17998#M778330</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Table of Payment Breakdown</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Table-of-Payment-Breakdown/m-p/17999#M778331</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;Is this what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 14:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Table-of-Payment-Breakdown/m-p/17999#M778331</guid>
      <dc:creator>andrei_delta</dc:creator>
      <dc:date>2018-04-13T14:13:01Z</dc:date>
    </item>
  </channel>
</rss>

