<?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: For each loop and apply map in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/For-each-loop-and-apply-map/m-p/1034224#M925802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx, actually pretty simple when it is setup like this ☺ I have have a little more in my script, but I can see that I need to fix something else before I move on and then I will try again and probably&amp;nbsp; mark your answer as correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Apr 2016 12:30:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-01T12:30:43Z</dc:date>
    <item>
      <title>For each loop and apply map</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-loop-and-apply-map/m-p/1034222#M925800</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;So I have two set of for each loop from different folders and diferent names, but with common number for each:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First loop is like "withfilenameA*"&amp;nbsp; ;&amp;nbsp; *= 1,2,3 ...&lt;/P&gt;&lt;P&gt;Second Loop is like "withfilenameB*" ; * =1,2,3 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So from withfieldnameA I want to do a mapping load, so I can do applymap into withfieldnameB. So I guess I will need 3 loop in all.&lt;/P&gt;&lt;P&gt;My plan is in some way to put the mapping load with the second loop, but how can I be sure that they loop the corresponding files in the same order for both loops so the mapping will be correct?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-loop-and-apply-map/m-p/1034222#M925800</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: For each loop and apply map</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-loop-and-apply-map/m-p/1034223#M925801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i =1 to ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map$(i):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mapping load FieldA, FieldB from withfilenameA$(i).xxx (....);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table$(i):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load FieldC, FieldD, ..., applymap('map$(i)',FieldQ) as FieldZ from &lt;SPAN style="font-size: 13.3333px;"&gt;withfilenameB$(i).xxx (....);&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 10:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-loop-and-apply-map/m-p/1034223#M925801</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-01T10:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: For each loop and apply map</title>
      <link>https://community.qlik.com/t5/QlikView/For-each-loop-and-apply-map/m-p/1034224#M925802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx, actually pretty simple when it is setup like this ☺ I have have a little more in my script, but I can see that I need to fix something else before I move on and then I will try again and probably&amp;nbsp; mark your answer as correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 12:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-each-loop-and-apply-map/m-p/1034224#M925802</guid>
      <dc:creator />
      <dc:date>2016-04-01T12:30:43Z</dc:date>
    </item>
  </channel>
</rss>

