<?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: Matching Orders and Payments Within the Same Time Frame in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Matching-Orders-and-Payments-Within-the-Same-Time-Frame/m-p/2475708#M100173</link>
    <description>&lt;P&gt;I appreciate the responses, but the output wasn't as expected, could you kindly review the code again?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LoKi_asterix_0-1723413513420.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/170473iADC09B43C795B4B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LoKi_asterix_0-1723413513420.png" alt="LoKi_asterix_0-1723413513420.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Aug 2024 22:00:37 GMT</pubDate>
    <dc:creator>LoKi_asterix</dc:creator>
    <dc:date>2024-08-11T22:00:37Z</dc:date>
    <item>
      <title>Matching Orders and Payments Within the Same Time Frame</title>
      <link>https://community.qlik.com/t5/App-Development/Matching-Orders-and-Payments-Within-the-Same-Time-Frame/m-p/2475606#M100161</link>
      <description>&lt;P&gt;So essentially, I have an order table and a payment table, both connected by the store ID and Order ID. Payments aren't always made on the same day the order is placed, so the order date and payment date can differ significantly.&lt;/P&gt;
&lt;P&gt;My goal is to align orders and payments within the same period under review. For example, if I'm examining orders within 2024, I want to see their corresponding payments within that same timeframe.&lt;/P&gt;
&lt;P&gt;I'd appreciate it with a working script.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 20:53:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Matching-Orders-and-Payments-Within-the-Same-Time-Frame/m-p/2475606#M100161</guid>
      <dc:creator>LoKi_asterix</dc:creator>
      <dc:date>2024-11-15T20:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Matching Orders and Payments Within the Same Time Frame</title>
      <link>https://community.qlik.com/t5/App-Development/Matching-Orders-and-Payments-Within-the-Same-Time-Frame/m-p/2475618#M100162</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/31892"&gt;@LoKi_asterix&lt;/a&gt;&amp;nbsp; please share example data with expected output?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 19:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Matching-Orders-and-Payments-Within-the-Same-Time-Frame/m-p/2475618#M100162</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2024-08-09T19:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Matching Orders and Payments Within the Same Time Frame</title>
      <link>https://community.qlik.com/t5/App-Development/Matching-Orders-and-Payments-Within-the-Same-Time-Frame/m-p/2475624#M100163</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;See attached, thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 20:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Matching-Orders-and-Payments-Within-the-Same-Time-Frame/m-p/2475624#M100163</guid>
      <dc:creator>LoKi_asterix</dc:creator>
      <dc:date>2024-08-09T20:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Matching Orders and Payments Within the Same Time Frame</title>
      <link>https://community.qlik.com/t5/App-Development/Matching-Orders-and-Payments-Within-the-Same-Time-Frame/m-p/2475651#M100165</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/31892"&gt;@LoKi_asterix&lt;/a&gt;&amp;nbsp; try below. Interval match between Order and Payment is on OrderID &amp;amp; StoreID, hence make sure that Name of both fields are same in both the tables.&lt;/P&gt;
&lt;P&gt;Payment:&lt;BR /&gt;LOAD&lt;BR /&gt;RECEIPT_DATE,&lt;BR /&gt;RECIEPT_NO,&lt;BR /&gt;STORE_ID,&lt;BR /&gt;ORRDER_ID,&lt;BR /&gt;PAYMENT_AMOUNT&lt;BR /&gt;FROM [lib://DataFiles/payments.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Order:&lt;BR /&gt;LOAD&lt;BR /&gt;TRANS_DATE,&lt;BR /&gt;STORE_ID,&lt;BR /&gt;ORRDER_ID,&lt;BR /&gt;CLIENT_ID,&lt;BR /&gt;PURCHASE_AMOUNT&lt;BR /&gt;FROM [lib://DataFiles/Order.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;
&lt;P&gt;Left Join(Order)&lt;BR /&gt;LOAD date(max(RECEIPT_DATE)) as max_reciept_date,&lt;BR /&gt;STORE_ID,&lt;BR /&gt;ORRDER_ID&lt;BR /&gt;Resident Payment&lt;BR /&gt;Group by STORE_ID,&lt;BR /&gt;ORRDER_ID;&lt;/P&gt;
&lt;P&gt;Inner Join (Order)&lt;BR /&gt;IntervalMatch ( RECEIPT_DATE, ORRDER_ID,STORE_ID )&lt;BR /&gt;LOAD TRANS_DATE, &lt;BR /&gt;max_reciept_date, &lt;BR /&gt;ORRDER_ID,&lt;BR /&gt;STORE_ID&lt;BR /&gt;Resident Order;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Inner join (Order)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Load *&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Resident Payment;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Drop Table Payment;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;If results are not correct then remove highlighted part in red and keep synthetic key.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Aug 2024 20:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Matching-Orders-and-Payments-Within-the-Same-Time-Frame/m-p/2475651#M100165</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2024-08-10T20:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Matching Orders and Payments Within the Same Time Frame</title>
      <link>https://community.qlik.com/t5/App-Development/Matching-Orders-and-Payments-Within-the-Same-Time-Frame/m-p/2475708#M100173</link>
      <description>&lt;P&gt;I appreciate the responses, but the output wasn't as expected, could you kindly review the code again?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LoKi_asterix_0-1723413513420.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/170473iADC09B43C795B4B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LoKi_asterix_0-1723413513420.png" alt="LoKi_asterix_0-1723413513420.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Aug 2024 22:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Matching-Orders-and-Payments-Within-the-Same-Time-Frame/m-p/2475708#M100173</guid>
      <dc:creator>LoKi_asterix</dc:creator>
      <dc:date>2024-08-11T22:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Matching Orders and Payments Within the Same Time Frame</title>
      <link>https://community.qlik.com/t5/App-Development/Matching-Orders-and-Payments-Within-the-Same-Time-Frame/m-p/2475713#M100174</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/31892"&gt;@LoKi_asterix&lt;/a&gt;&amp;nbsp; Looks like your date is not in proper date format. First convert it to proper date format using Date#&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 00:00:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Matching-Orders-and-Payments-Within-the-Same-Time-Frame/m-p/2475713#M100174</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2024-08-12T00:00:54Z</dc:date>
    </item>
  </channel>
</rss>

