<?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: Relate Payments to Invoices (FIFO method) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Relate-Payments-to-Invoices-FIFO-method/m-p/1744497#M591809</link>
    <description>&lt;P&gt;i dont think you have any choice but to use some combination of aggregations, peek function, and loop through your data set&lt;/P&gt;&lt;P&gt;there is a possibility that the payment could be for multiple invoices (its not just multiple payments for single invoices - it becomes many to many).&amp;nbsp;&lt;/P&gt;&lt;P&gt;i think you need some sort of customized logic to pair the debits and credits.&amp;nbsp; this may not be achieved by regular table operations using joins.&amp;nbsp; if QV is slow with the looping logic you may want to move this to your ETL prior to QV load&lt;/P&gt;&lt;P&gt;thats my opinion&lt;/P&gt;</description>
    <pubDate>Wed, 16 Sep 2020 22:24:24 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2020-09-16T22:24:24Z</dc:date>
    <item>
      <title>Relate Payments to Invoices (FIFO method)</title>
      <link>https://community.qlik.com/t5/QlikView/Relate-Payments-to-Invoices-FIFO-method/m-p/1709444#M591808</link>
      <description>&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;I need to relate payments to invoices following the FIFO (First In First Out) method, that is, the oldest invoices are settled first.&lt;/P&gt;&lt;P&gt;Initially I tried to solve it by following the steps detailed in the answer marked "solution" in the following thread: &lt;A href="https://community.qlik.com/t5/QlikView-App-Development/Help-Needed-On-knock-off-Debit-With-Credit-on-Script/td-p/411319" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Development/Help-Needed-On-knock-off-Debit-With-Credit-on-Script/td-p/411319&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Although the script does what I need, I cannot use it for my case due to the number of records that my transaction table (Invoices and Payments) has, more than 2 million. In 3 hours he had covered only 10% of the invoices.&lt;/P&gt;&lt;P&gt;I would appreciate guidance to address the problem because I am stuck.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RelacionarPagosFacturas.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35223i23D02958177E0629/image-size/large?v=v2&amp;amp;px=999" role="button" title="RelacionarPagosFacturas.png" alt="RelacionarPagosFacturas.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would like to read the suggestions from:&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22245"&gt;@swuehl&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;,&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6622"&gt;@hic&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18624"&gt;@Gysbert_Wassenaar&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6077"&gt;@johnw&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much to all who like to participate.&lt;/P&gt;&lt;P&gt;I await your comments.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 15:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relate-Payments-to-Invoices-FIFO-method/m-p/1709444#M591808</guid>
      <dc:creator>JGMDataAnalysis</dc:creator>
      <dc:date>2020-06-09T15:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Relate Payments to Invoices (FIFO method)</title>
      <link>https://community.qlik.com/t5/QlikView/Relate-Payments-to-Invoices-FIFO-method/m-p/1744497#M591809</link>
      <description>&lt;P&gt;i dont think you have any choice but to use some combination of aggregations, peek function, and loop through your data set&lt;/P&gt;&lt;P&gt;there is a possibility that the payment could be for multiple invoices (its not just multiple payments for single invoices - it becomes many to many).&amp;nbsp;&lt;/P&gt;&lt;P&gt;i think you need some sort of customized logic to pair the debits and credits.&amp;nbsp; this may not be achieved by regular table operations using joins.&amp;nbsp; if QV is slow with the looping logic you may want to move this to your ETL prior to QV load&lt;/P&gt;&lt;P&gt;thats my opinion&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 22:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relate-Payments-to-Invoices-FIFO-method/m-p/1744497#M591809</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-09-16T22:24:24Z</dc:date>
    </item>
  </channel>
</rss>

