<?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 2 QVD's into one table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489730#M1149104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Steve.&amp;nbsp; This will not work though because I also need [cash discount amt] from the first load in the same column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jun 2013 22:52:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-06-19T22:52:51Z</dc:date>
    <item>
      <title>Load 2 QVD's into one table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489724#M1149093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to combine 2 different qvd's into one table.&amp;nbsp; Here is what I have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE:&lt;BR /&gt;LOAD&lt;BR /&gt; hdr_key,&lt;BR /&gt; entity as [entity code],&lt;BR /&gt; [cash discount amt] as [amount],&lt;BR /&gt; [cash discount gl account] as [gl account]&lt;BR /&gt;FROM $(vPathNameLayer1)inc-hdr-all.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;JOIN&lt;BR /&gt;LOAD&lt;BR /&gt; hdr_key,&lt;BR /&gt; line_key,&lt;BR /&gt; [line gpsa] as [amount],&lt;BR /&gt; [line item gl account] as [gl account]&lt;BR /&gt;FROM $(vPathNameLayer1)inc-line-all.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do this then entity code is not showing up for anything from the second join.&amp;nbsp; How do I accomplish this?&amp;nbsp; Here is what I would do in SQL but it doesn't like the syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt; hdr_key,&lt;/P&gt;&lt;P&gt; entity as [entity code],&lt;/P&gt;&lt;P&gt; line_key,&lt;/P&gt;&lt;P&gt; [line gpsa] as [amount],&lt;/P&gt;&lt;P&gt; [line item gl account] as [gl account]&lt;/P&gt;&lt;P&gt;FROM $(vPathNameLayer1)inc-line-all.qvd(qvd) as a,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(vPathNameLayer1)inc-hdr-all.qvd(qvd) as b&lt;/P&gt;&lt;P&gt;WHERE a.hdr_key = b.hdr_key;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 21:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489724#M1149093</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-19T21:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Load 2 QVD's into one table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489725#M1149095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your Join is not working since you're renaming different filelds with the same names, and I don't think these have the same information. For instance:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[cash discount amt]&amp;nbsp; as [amount]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&amp;nbsp; [line gpsa] as [amount]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since QlikView will use the fields with the same names as keys to perform the join... you'll have to make sure that this fields have the exact same values in order to serve as the keys for the join, otherwise there will be no record that matches between the tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 22:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489725#M1149095</guid>
      <dc:creator />
      <dc:date>2013-06-19T22:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Load 2 QVD's into one table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489726#M1149097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would I combine these two different tables but only have one column for these amounts.&amp;nbsp; At the end I should only have 3 columns. Entity, Amount, GL Account.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 22:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489726#M1149097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-19T22:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Load 2 QVD's into one table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489727#M1149099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on the way you want to link your tables but for that result I think you could try the CONCATENATE statement. It will work like a UNION ALL in SQL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 22:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489727#M1149099</guid>
      <dc:creator />
      <dc:date>2013-06-19T22:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Load 2 QVD's into one table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489728#M1149101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried this and still don't get entity for anything from the second load.&amp;nbsp; Also, I end up with 2 amount columns instead of one.&amp;nbsp; Do you have any suggestions on another approach I can take?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE:&lt;BR /&gt;LOAD&lt;BR /&gt; hdr_key,&lt;BR /&gt; entity as [entity code],&lt;BR /&gt; [cash discount amt] as [amount],&lt;BR /&gt; [cash discount gl account] as [gl account]&lt;BR /&gt;FROM $(vPathNameLayer1)inc-hdr-all.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Concatenate&lt;BR /&gt;LOAD&lt;BR /&gt; hdr_key,&lt;BR /&gt; line_key,&lt;BR /&gt; [line gpsa],&lt;BR /&gt; [line item gl account]&lt;BR /&gt;FROM $(vPathNameLayer1)inc-line-all.qvd(qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 22:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489728#M1149101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-19T22:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Load 2 QVD's into one table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489729#M1149103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;INVOICE:&lt;BR /&gt;LOAD&lt;BR /&gt;hdr_key,&lt;BR /&gt;entity as [entity code]&lt;BR /&gt;FROM $(vPathNameLayer1)inc-hdr-all.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LEFT JOIN (INVOICE)&lt;BR /&gt;LOAD&lt;BR /&gt;hdr_key,&lt;BR /&gt;line_key,&lt;BR /&gt;[line gpsa] as [amount],&lt;BR /&gt;[line item gl account] as [gl account]&lt;BR /&gt;FROM $(vPathNameLayer1)inc-line-all.qvd(qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 22:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489729#M1149103</guid>
      <dc:creator />
      <dc:date>2013-06-19T22:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Load 2 QVD's into one table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489730#M1149104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Steve.&amp;nbsp; This will not work though because I also need [cash discount amt] from the first load in the same column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 22:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489730#M1149104</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-19T22:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Load 2 QVD's into one table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489731#M1149105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case you'll need to map the entity values to the second table first, and the use the CONCATENATE to align the fields in the ones you need. If your first load contains all the hdr_key values that exist in the second load, you could do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAP_ENTITY:&lt;/P&gt;&lt;P&gt;MAPPING LOAD&lt;/P&gt;&lt;P&gt;hdr_key,&lt;/P&gt;&lt;P&gt;entity&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;FROM $(vPathNameLayer1)inc-hdr-all.qvd(qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;INVOICE:&lt;BR /&gt;LOAD&lt;/P&gt;&lt;P&gt;entity as [entity code]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;[cash discount amt] as [amount],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;[cash discount gl account] as [gl account]&lt;/SPAN&gt;&lt;BR /&gt;FROM $(vPathNameLayer1)inc-hdr-all.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;CONCATENATE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-size: 12.727272033691406px; font-family: Arial;"&gt;APPLYMAP('MAP_ENTITY',&lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;hdr_key&lt;/SPAN&gt;,'No &lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;hdr_key&lt;/SPAN&gt;') as [entity code],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;[line gpsa] as [amount],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;[line item gl account] as [gl account]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;FROM $(vPathNameLayer1)inc-line-all.qvd(qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 23:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489731#M1149105</guid>
      <dc:creator />
      <dc:date>2013-06-19T23:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load 2 QVD's into one table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489732#M1149106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not familiar with the APPLYMAP function.&amp;nbsp; I'm getting this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generic tables must contain at least 3 fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 23:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489732#M1149106</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-19T23:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Load 2 QVD's into one table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489733#M1149107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that worked! Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 23:25:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/489733#M1149107</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-19T23:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Load 2 QVD's into one table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/2445273#M1225648</link>
      <description>&lt;P&gt;I will check on the table values&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 12:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-2-QVD-s-into-one-table/m-p/2445273#M1225648</guid>
      <dc:creator>CK_WAKE</dc:creator>
      <dc:date>2024-04-26T12:34:08Z</dc:date>
    </item>
  </channel>
</rss>

