<?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 Looping data load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Looping-data-load/m-p/976193#M644086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to loop a data load into a qvd level; however having problems...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The data comes from .html files titles 2001&lt;SPAN style="font-size: 13.3333px;"&gt;.html&lt;/SPAN&gt; to 2265.html but some are missing so all in all 187 HTML files. One is GDP, other one Population and so on...&lt;/LI&gt;&lt;LI&gt;I am trying to loop over "@[number]" tables where each @ is a new country (therefore F1 is "Country" field@) and F2 is a measure with data (say GDP). The number of tables @1, @2.... can go up to hundreds and I don't know at any point how many tables there are (as per pic below). @4 gives headings: Country, [names measure] &lt;SPAN style="font-size: 13.3333px;"&gt;(I am not interested in @1 to @3 but that's a detail).&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q1&lt;/STRONG&gt;: how to do the loop so each country is loaded with all measures (from all files) and data for that measure.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2&lt;/STRONG&gt;: data for the measure sometimes contains multiple figures for different years (see picture). Subfield () would be the obvious first thing to do here, but if you have any other/ better ideas, I am listening &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2001.html give the following for &lt;STRONG&gt;GDP&lt;/STRONG&gt;: &lt;/P&gt;&lt;P&gt;&lt;IMG alt="looping.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/106651_looping.PNG" style="height: 162px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;2002.html gives &lt;STRONG&gt;Population growth in %&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="looping_1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/106664_looping_1.PNG" style="height: 161px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Nov 2015 15:42:13 GMT</pubDate>
    <dc:creator>saxofonoacn</dc:creator>
    <dc:date>2015-11-24T15:42:13Z</dc:date>
    <item>
      <title>Looping data load</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-data-load/m-p/976193#M644086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to loop a data load into a qvd level; however having problems...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The data comes from .html files titles 2001&lt;SPAN style="font-size: 13.3333px;"&gt;.html&lt;/SPAN&gt; to 2265.html but some are missing so all in all 187 HTML files. One is GDP, other one Population and so on...&lt;/LI&gt;&lt;LI&gt;I am trying to loop over "@[number]" tables where each @ is a new country (therefore F1 is "Country" field@) and F2 is a measure with data (say GDP). The number of tables @1, @2.... can go up to hundreds and I don't know at any point how many tables there are (as per pic below). @4 gives headings: Country, [names measure] &lt;SPAN style="font-size: 13.3333px;"&gt;(I am not interested in @1 to @3 but that's a detail).&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q1&lt;/STRONG&gt;: how to do the loop so each country is loaded with all measures (from all files) and data for that measure.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2&lt;/STRONG&gt;: data for the measure sometimes contains multiple figures for different years (see picture). Subfield () would be the obvious first thing to do here, but if you have any other/ better ideas, I am listening &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2001.html give the following for &lt;STRONG&gt;GDP&lt;/STRONG&gt;: &lt;/P&gt;&lt;P&gt;&lt;IMG alt="looping.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/106651_looping.PNG" style="height: 162px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;2002.html gives &lt;STRONG&gt;Population growth in %&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="looping_1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/106664_looping_1.PNG" style="height: 161px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 15:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-data-load/m-p/976193#M644086</guid>
      <dc:creator>saxofonoacn</dc:creator>
      <dc:date>2015-11-24T15:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Looping data load</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-data-load/m-p/976194#M644087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Q1: Perhaps this discussion helps: &lt;A href="https://community.qlik.com/message/833026"&gt;know the number of tables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Q2: Subfield() looks logical. Perhaps Mid() could be used too if the strings are fixed length (including padding spaces).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:31:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-data-load/m-p/976194#M644087</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-11-26T09:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Looping data load</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-data-load/m-p/976195#M644088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A _jive_internal="true" href="https://community.qlik.com/people/gwassenaar"&gt;Gysbert Wassenaar&lt;/A&gt;. In addition, I created another loop but the main load is done more or less the way you suggested. Very helpful!! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 11:54:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-data-load/m-p/976195#M644088</guid>
      <dc:creator>saxofonoacn</dc:creator>
      <dc:date>2015-11-30T11:54:49Z</dc:date>
    </item>
  </channel>
</rss>

