<?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: Payment credited one day, same or similar amount out the next day in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Payment-credited-one-day-same-or-similar-amount-out-the-next-day/m-p/1598849#M444113</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;So you can, below toy script (note DD/MM/YYYY date format) shows how to start by identifying candidate matches. it raises the immediate questions - what is similar &amp;amp; what would you do if you have 2 (or more) candidate matches;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20190703_1.png" style="width: 776px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14889i1E21CF7F499862B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="20190703_1.png" alt="20190703_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;data:
LOAD * INLINE [
    TransID, PaymentDate, Customer, DRCR, Value
    1, 01/01/2019, a, dr, 10
    2, 01/01/2019, b, dr, 10
    3, 02/01/2019, a, cr, 11
    4, 02/01/2019, b, dr, 10
];

left join (data)
Load
	TransID AS MatchTransID,
	PaymentDate-1 AS PaymentDate,
	Customer,
	If(DRCR='cr','dr','cr') AS DRCR,
	Value AS MatchValue
Resident data;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2019 20:06:42 GMT</pubDate>
    <dc:creator>chrismarlow</dc:creator>
    <dc:date>2019-07-03T20:06:42Z</dc:date>
    <item>
      <title>Payment credited one day, same or similar amount out the next day</title>
      <link>https://community.qlik.com/t5/QlikView/Payment-credited-one-day-same-or-similar-amount-out-the-next-day/m-p/1598813#M444108</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I would like to know if it is possible to highlight values that are paid into a customers account on one day, and the same or similar amount is paid out a day later.&lt;/P&gt;&lt;P&gt;I have the following fields:&lt;/P&gt;&lt;P&gt;Transaction value (e.g. 100 USD)&lt;/P&gt;&lt;P&gt;Inward or outward (credit or debit)&lt;/P&gt;&lt;P&gt;Customer name&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date of payment&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help on this one?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 18:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Payment-credited-one-day-same-or-similar-amount-out-the-next-day/m-p/1598813#M444108</guid>
      <dc:creator>Harrydickinson</dc:creator>
      <dc:date>2019-07-03T18:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Payment credited one day, same or similar amount out the next day</title>
      <link>https://community.qlik.com/t5/QlikView/Payment-credited-one-day-same-or-similar-amount-out-the-next-day/m-p/1598849#M444113</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;So you can, below toy script (note DD/MM/YYYY date format) shows how to start by identifying candidate matches. it raises the immediate questions - what is similar &amp;amp; what would you do if you have 2 (or more) candidate matches;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20190703_1.png" style="width: 776px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14889i1E21CF7F499862B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="20190703_1.png" alt="20190703_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;data:
LOAD * INLINE [
    TransID, PaymentDate, Customer, DRCR, Value
    1, 01/01/2019, a, dr, 10
    2, 01/01/2019, b, dr, 10
    3, 02/01/2019, a, cr, 11
    4, 02/01/2019, b, dr, 10
];

left join (data)
Load
	TransID AS MatchTransID,
	PaymentDate-1 AS PaymentDate,
	Customer,
	If(DRCR='cr','dr','cr') AS DRCR,
	Value AS MatchValue
Resident data;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 20:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Payment-credited-one-day-same-or-similar-amount-out-the-next-day/m-p/1598849#M444113</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-07-03T20:06:42Z</dc:date>
    </item>
  </channel>
</rss>

