<?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: Load/Join data based on valid from date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816179#M662857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm doing it, wait a bit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Feb 2015 13:46:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-03T13:46:29Z</dc:date>
    <item>
      <title>Load/Join data based on valid from date</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816174#M662852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there anyone who can help me with the following Problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one with documents containing a Costtype and a CreationDate&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DocumentTable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/76983_1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;and one with costs per costtype depending on a valid from date&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CostTable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/76984_2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I would like to get the following result tables with documents with correct cost depending on the Costtype and CreadtionDate of the document&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ResultTable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="3.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/76990_3.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can't simply join them, because there is no excact match in both tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, is there something like a conditional lookup function I can use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 13:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816174#M662852</guid>
      <dc:creator />
      <dc:date>2015-02-03T13:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Load/Join data based on valid from date</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816175#M662853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If The costtype is not the same in both table the only way is to normalize the fields making them equal, if you mean that dates do not match then give us the complete rule to let them match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let us know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 13:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816175#M662853</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-02-03T13:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Load/Join data based on valid from date</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816176#M662854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand the logic to choose what field ll remain at result table but i think you can do it with something like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; ResultTable:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Document,Key,CreationDate,Cost&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;rowNextDocumentTable&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NoOfRows&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('DocumentTable');&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;for&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;iDocument&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;to&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(rowNextDocumentTable)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;vDocumentTableDocument&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN&gt;('Document',&lt;STRONG&gt;&lt;EM&gt;$(&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;iDocument&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'DocumentTable');&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;vDocumentTableKey&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN&gt;('Key',&lt;STRONG&gt;&lt;EM&gt;$(&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;iDocument&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'DocumentTable');&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;vDocumentTableCreationDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN&gt;('CreationDate',&lt;STRONG&gt;&lt;EM&gt;$(&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;iDocument&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'DocumentTable');&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;for&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;iCost&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;to&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(rowNextCostTable)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;vCostTableKey&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN&gt;('Key',&lt;STRONG&gt;&lt;EM&gt;$(&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;iCost&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'CostTable');&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;vCostTableValidFrom&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN&gt;('Valid From',&lt;STRONG&gt;&lt;EM&gt;$(&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;iCost&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'CostTable');&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;vCostTableCost&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN&gt;('Cost',&lt;STRONG&gt;&lt;EM&gt;$(&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;iCost&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'CostTable');&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;// do your logic here&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(ResultTable)&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; &lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;NEXT&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;NEXT&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 13:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816176#M662854</guid>
      <dc:creator />
      <dc:date>2015-02-03T13:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Load/Join data based on valid from date</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816177#M662855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Hello Alessandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;yes, I mean that the dates do not match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;To the rule&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;In the CostTable if the costprice changes a new record is added with a valid from date. So each CostPrice for a Costtype is valid from its validfrom date to the day before the valid from date of a new CostPrice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;In my example for Costtype A we have two records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Valid from 01.01.2015 - 95&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Valid from 01.01.2014 - 88&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;So if a Document from the DocumentTable contains 'Costtype A' and a Creation Date &amp;gt;= 01.01.2015 the CostAmmount of 95 must be linked, if the creation date is &amp;gt;=01.01.2014 and &amp;lt;= 31.12.2014 the CostAmmount of 88 must be linked.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;regards&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11pt;"&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 13:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816177#M662855</guid>
      <dc:creator />
      <dc:date>2015-02-03T13:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Load/Join data based on valid from date</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816178#M662856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jean,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the result table all records of the document table should remain, with the added field of the cost-amount from the CostTable based on CostType and CreationDate of the Document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 13:41:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816178#M662856</guid>
      <dc:creator />
      <dc:date>2015-02-03T13:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Load/Join data based on valid from date</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816179#M662857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm doing it, wait a bit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 13:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816179#M662857</guid>
      <dc:creator />
      <dc:date>2015-02-03T13:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Load/Join data based on valid from date</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816180#M662858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look if this help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 14:30:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816180#M662858</guid>
      <dc:creator />
      <dc:date>2015-02-03T14:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Load/Join data based on valid from date</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816181#M662859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Times New Roman;"&gt;Hello Jean.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Times New Roman;"&gt;first off all, thank you very much for your effort. The results are correct. But what I don't like is, that the document records get multiplied by the costtype records. Because where I want to use that, there are large amounts of records in the DocumentTable as well as in the CostTable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Times New Roman;"&gt;Isn't there a possibility to include a statement within the LOAD Statement for the DocumentTable to lookup the first record in the CostTable where the Costtype matches the Costtype of the current document line and the validfromDate is less equals DocumentCreationDate, and write the Cost-amount into a field of the documentTable. In that case I only had to sort the CostTable by ValidFromDate descending.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 16:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816181#M662859</guid>
      <dc:creator />
      <dc:date>2015-02-03T16:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Load/Join data based on valid from date</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816182#M662860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if you can do it without a load, but if you will look for each record of document table the value at cost table, i think to do it you ll need 2 "for" functions and its slower then left join and residente load with order by.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just made another transformation at table and here it is &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 16:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816182#M662860</guid>
      <dc:creator />
      <dc:date>2015-02-03T16:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Load/Join data based on valid from date</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816183#M662861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you. I'll give it a try. But in my document table there are ~1.300.000 records and in the costtable for each costtype at this moment 6 different date records, so that would result in ~ 7.800.000 in the resulttable before you begin to drop the records with no "flag_correct_value_row = 1".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if our System can handle that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 07:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Join-data-based-on-valid-from-date/m-p/816183#M662861</guid>
      <dc:creator />
      <dc:date>2015-02-04T07:17:13Z</dc:date>
    </item>
  </channel>
</rss>

