<?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 Load multiple qvds and use applymap in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-multiple-qvds-and-use-applymap/m-p/1450200#M612852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am loading 2 qvds with Targets ( same data structure, only different dates) and my problem is, when I load the qvds (Targets_07092017 and Targets_06092017), the preceding load with the mapping is generating two tables instead of one,&lt;/P&gt;&lt;P&gt;my first table is than named "Targets" and have the Name mapped to the Targets, and the second table (which should not be there) is named "Targets_07092017", there the mapped Name is missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I am commenting the mapping table and the preceding load out, everything works fine...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know how to fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapTOP_NametoTargets: &lt;BR /&gt;Mapping Load&lt;BR /&gt;Distinct [Customer Code],&lt;BR /&gt;Name&lt;BR /&gt;Resident fact_table_tmp;&lt;/P&gt;&lt;P&gt;Targets:&lt;BR /&gt;LOAD *,&lt;BR /&gt;applymap('MapTOP_NametoTargets',[Customer Code],null()) as Name ;&lt;BR /&gt;LOAD &lt;BR /&gt;[Customer Code],&lt;BR /&gt;From, &lt;BR /&gt;To,&amp;nbsp; &lt;BR /&gt;Target,&lt;BR /&gt;Time_Stamp&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;[$(vG.QVDPath)Targets_*.qvd]&lt;BR /&gt;(qvd) where Time_Stamp&amp;gt;=$(vL.Date_Border)&lt;BR /&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Sep 2017 11:17:42 GMT</pubDate>
    <dc:creator>chriys1337</dc:creator>
    <dc:date>2017-09-07T11:17:42Z</dc:date>
    <item>
      <title>Load multiple qvds and use applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-qvds-and-use-applymap/m-p/1450200#M612852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am loading 2 qvds with Targets ( same data structure, only different dates) and my problem is, when I load the qvds (Targets_07092017 and Targets_06092017), the preceding load with the mapping is generating two tables instead of one,&lt;/P&gt;&lt;P&gt;my first table is than named "Targets" and have the Name mapped to the Targets, and the second table (which should not be there) is named "Targets_07092017", there the mapped Name is missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I am commenting the mapping table and the preceding load out, everything works fine...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know how to fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapTOP_NametoTargets: &lt;BR /&gt;Mapping Load&lt;BR /&gt;Distinct [Customer Code],&lt;BR /&gt;Name&lt;BR /&gt;Resident fact_table_tmp;&lt;/P&gt;&lt;P&gt;Targets:&lt;BR /&gt;LOAD *,&lt;BR /&gt;applymap('MapTOP_NametoTargets',[Customer Code],null()) as Name ;&lt;BR /&gt;LOAD &lt;BR /&gt;[Customer Code],&lt;BR /&gt;From, &lt;BR /&gt;To,&amp;nbsp; &lt;BR /&gt;Target,&lt;BR /&gt;Time_Stamp&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;[$(vG.QVDPath)Targets_*.qvd]&lt;BR /&gt;(qvd) where Time_Stamp&amp;gt;=$(vL.Date_Border)&lt;BR /&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 11:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-qvds-and-use-applymap/m-p/1450200#M612852</guid>
      <dc:creator>chriys1337</dc:creator>
      <dc:date>2017-09-07T11:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple qvds and use applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-qvds-and-use-applymap/m-p/1450201#M612853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not try this instead preceding load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MapTOP_NametoTargets: &lt;BR /&gt;Mapping Load&lt;BR /&gt;Distinct [Customer Code],&lt;BR /&gt;Name&lt;BR /&gt;Resident fact_table_tmp;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Targets:&lt;BR /&gt;LOAD &lt;BR /&gt;[Customer Code],&lt;BR /&gt;From, &lt;BR /&gt;To,&amp;nbsp; &lt;BR /&gt;Target,&lt;BR /&gt;Time_Stamp,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;EM&gt;applymap('MapTOP_NametoTargets',[Customer Code],null()) as Name&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;BR /&gt;[$(vG.QVDPath)Targets_*.qvd]&lt;BR /&gt;(qvd) where Time_Stamp&amp;gt;=$(vL.Date_Border)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 11:23:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-qvds-and-use-applymap/m-p/1450201#M612853</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-09-07T11:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple qvds and use applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-qvds-and-use-applymap/m-p/1450202#M612854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at HIC's response here:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/03/04/preceding-load#comment-7069" title="https://community.qlik.com/blogs/qlikviewdesignblog/2013/03/04/preceding-load#comment-7069"&gt;https://community.qlik.com/blogs/qlikviewdesignblog/2013/03/04/preceding-load#comment-7069&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a bug where WildCard load doesn't behave nicely with the preceding load and creates multiple tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 11:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-qvds-and-use-applymap/m-p/1450202#M612854</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-07T11:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple qvds and use applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-qvds-and-use-applymap/m-p/1450203#M612855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly take the resident of your Target table and use Applymap() in that resident table.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Preceding load evaluates your both the tables separately and thus mapping only one table data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Kindly find attached sample qvw&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sumeet Vaidya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 11:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-qvds-and-use-applymap/m-p/1450203#M612855</guid>
      <dc:creator>sumeet-vaidya</dc:creator>
      <dc:date>2017-09-07T11:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple qvds and use applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-qvds-and-use-applymap/m-p/1450204#M612856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, I used the Resident Load Version which solves my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although I think, Sunnys post is the original problem including the solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Instead a use a For-Next loop should be used: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each vFile in FileList('C:\path\*.txt')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load ... From [$(vFile)] ;&lt;/P&gt;&lt;P&gt;Next vFile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Which is identical to &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Load ... From &lt;C&gt; ;&lt;/C&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;And within the For-Next loop you can put as many Preceding Loads as you wish..." from HIC.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 13:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-qvds-and-use-applymap/m-p/1450204#M612856</guid>
      <dc:creator>chriys1337</dc:creator>
      <dc:date>2017-09-07T13:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple qvds and use applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-qvds-and-use-applymap/m-p/1450205#M612857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny, I guess this mentioned solution from HIC is the fastest one concerning calculation time. For time matter I used a Resident Load but I am already thinking about re-writing my code. Thank you, again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 13:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-qvds-and-use-applymap/m-p/1450205#M612857</guid>
      <dc:creator>chriys1337</dc:creator>
      <dc:date>2017-09-07T13:38:21Z</dc:date>
    </item>
  </channel>
</rss>

