<?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: Conditionally joining 2 QVDs in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditionally-joining-2-QVDs/m-p/414268#M1155136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are two ways to do this: One is to join the two tables straight off on account number, then run a second pass through the created table, making the calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second method is to use Applymap() as a lookup function to fetch a value from table B when you load table A. Also here you will need the account number to find the right value. See more on &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/09/18/one-favorite-function-applymap" title="http://community.qlik.com/blogs/qlikviewdesignblog/2012/09/18/one-favorite-function-applymap"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2012/09/18/one-favorite-function-applymap&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A problem is if there is more than one payment tied to an account. Then you don't know which payment date to use for the comparison...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2013 14:35:22 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2013-02-07T14:35:22Z</dc:date>
    <item>
      <title>Conditionally joining 2 QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-joining-2-QVDs/m-p/414267#M1155135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have 2 QVDs. QVD A has payment date and account number- QVD B has transaction date, transaction amount and account number. I would like to join A to B so that I can include the sum of transaction amount from QVD B where the transaction date in QVD is greater than or equal to the payment date in QVD A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know the best way to achieve this. I am at my wits end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 13:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-joining-2-QVDs/m-p/414267#M1155135</guid>
      <dc:creator />
      <dc:date>2013-02-07T13:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally joining 2 QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-joining-2-QVDs/m-p/414268#M1155136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are two ways to do this: One is to join the two tables straight off on account number, then run a second pass through the created table, making the calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second method is to use Applymap() as a lookup function to fetch a value from table B when you load table A. Also here you will need the account number to find the right value. See more on &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/09/18/one-favorite-function-applymap" title="http://community.qlik.com/blogs/qlikviewdesignblog/2012/09/18/one-favorite-function-applymap"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2012/09/18/one-favorite-function-applymap&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A problem is if there is more than one payment tied to an account. Then you don't know which payment date to use for the comparison...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 14:35:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-joining-2-QVDs/m-p/414268#M1155136</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-02-07T14:35:22Z</dc:date>
    </item>
  </channel>
</rss>

