<?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: Peek Value from another table based on closest date (FIFO) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Peek-Value-from-another-table-based-on-closest-date-FIFO/m-p/575112#M1103378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to suffice the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Girish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2014 04:10:39 GMT</pubDate>
    <dc:creator>girish_talele</dc:creator>
    <dc:date>2014-04-16T04:10:39Z</dc:date>
    <item>
      <title>Peek Value from another table based on closest date (FIFO)</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-Value-from-another-table-based-on-closest-date-FIFO/m-p/575109#M1103375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;I have two data tables, one for &lt;STRONG&gt;Main Material&lt;/STRONG&gt; &amp;amp; second for &lt;STRONG&gt;Sub Material&lt;/STRONG&gt; as sown in below image.&lt;/P&gt;&lt;P&gt;As shown, requirement date of first two orders of &lt;STRONG&gt;main material&lt;/STRONG&gt; is same i.e. 15/04/2014&lt;/P&gt;&lt;P&gt;Only one order is created for &lt;STRONG&gt;Sub Material&lt;/STRONG&gt; (accumulation of orders) with Delivery date 10/04/2014 (5 days less than req date).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="57242" alt="Capture.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/57242_Capture.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now issue is - I have to link / display the Main Material’s Order no. in Sub material’s table (as shown below).&lt;/P&gt;&lt;P&gt;After trying applymap, peek, lookup functions I failed to get the required results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="57243" alt="Capture1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/57243_Capture1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Is there any function / method to achieve required result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Girish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:27:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-Value-from-another-table-based-on-closest-date-FIFO/m-p/575109#M1103375</guid>
      <dc:creator>girish_talele</dc:creator>
      <dc:date>2014-04-14T15:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Peek Value from another table based on closest date</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-Value-from-another-table-based-on-closest-date-FIFO/m-p/575110#M1103376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the common field between two tables?&lt;/P&gt;&lt;P&gt;May be IntervalMatch can do the trick..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-Value-from-another-table-based-on-closest-date-FIFO/m-p/575110#M1103376</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-14T15:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Peek Value from another table based on closest date</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-Value-from-another-table-based-on-closest-date-FIFO/m-p/575111#M1103377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Manish,&lt;/P&gt;&lt;P&gt;Thanks for looking into, there will not be a common field between these two tables except the Main Material will appear as a "&lt;STRONG&gt;Requirement From Material"&lt;/STRONG&gt; in Sub Material Table as shown below,&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/57228_Capture2.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;The data is taken from ERP (Make to Stock scenario) &amp;amp; against requirement of Main Material a order proposals are being created for Sub material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to link those tables on basis of Requirement Date &amp;amp; Delivery Date on FIFO (First-In First-Out) basis.&lt;/P&gt;&lt;P&gt;Even Order by will not work as there may be a case where the Requirement date of Main Material are different (e.g. 15/04/2014 &amp;amp; 16/04/2014) but ERP/user may club these two requirement in one order of Sub material with Delivery date as 10/04/2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;Girish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-Value-from-another-table-based-on-closest-date-FIFO/m-p/575111#M1103377</guid>
      <dc:creator>girish_talele</dc:creator>
      <dc:date>2014-04-14T15:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Peek Value from another table based on closest date (FIFO)</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-Value-from-another-table-based-on-closest-date-FIFO/m-p/575112#M1103378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to suffice the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Girish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 04:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-Value-from-another-table-based-on-closest-date-FIFO/m-p/575112#M1103378</guid>
      <dc:creator>girish_talele</dc:creator>
      <dc:date>2014-04-16T04:10:39Z</dc:date>
    </item>
  </channel>
</rss>

