<?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 within for loop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOAD-within-for-loop/m-p/1776959#M717604</link>
    <description>&lt;P&gt;My imported fields should be imported &lt;STRONG&gt;separtely&lt;/STRONG&gt; and &lt;STRONG&gt;not concatenated&lt;/STRONG&gt; in one field ( &lt;U&gt;e.g. Field a from Sheet 1 and field a from Sheet 2 should be imported as a1 from Sheet 1 and as a2 from Sheet 2&lt;/U&gt;).&amp;nbsp;&lt;/P&gt;&lt;P&gt;(In my case not numerical index but the index should be taken from a list of names)&lt;/P&gt;</description>
    <pubDate>Sun, 24 Jan 2021 19:31:01 GMT</pubDate>
    <dc:creator>AmCh</dc:creator>
    <dc:date>2021-01-24T19:31:01Z</dc:date>
    <item>
      <title>LOAD within for loop</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-within-for-loop/m-p/1776939#M717602</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hello all,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I have, for example, an xls. file with several sheets.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Each sheet contains&lt;STRONG&gt; the same tables structure&lt;/STRONG&gt; (same number of columns and rows, they only differ in the cell values).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;The sheets are named as follows: L_A, L_B, L_C&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;The fields have identical names in all sheets: x,y,z&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Objective:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;To load with&lt;U&gt; for loop (incrementing in the list {A,B,C})&lt;/U&gt; from &lt;STRONG&gt;the sheets&lt;/STRONG&gt; &lt;STRONG&gt;(L_A, L_B, L_C)&lt;/STRONG&gt; the &lt;STRONG&gt;fields&lt;/STRONG&gt; (x,y,z) as &lt;STRONG&gt;(x_A,x_B,x_C,Y_A,..)&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Can anyone help me?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Many thanks in advance&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-within-for-loop/m-p/1776939#M717602</guid>
      <dc:creator>AmCh</dc:creator>
      <dc:date>2024-11-15T23:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD within for loop</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-within-for-loop/m-p/1776947#M717603</link>
      <description>&lt;P&gt;look at this post:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Load-multiple-sheets-from-Excel-Files/td-p/1595476" target="_blank"&gt;Solved: Load multiple sheets from Excel Files - Qlik Community - 1595476&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 18:37:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-within-for-loop/m-p/1776947#M717603</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-24T18:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD within for loop</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-within-for-loop/m-p/1776959#M717604</link>
      <description>&lt;P&gt;My imported fields should be imported &lt;STRONG&gt;separtely&lt;/STRONG&gt; and &lt;STRONG&gt;not concatenated&lt;/STRONG&gt; in one field ( &lt;U&gt;e.g. Field a from Sheet 1 and field a from Sheet 2 should be imported as a1 from Sheet 1 and as a2 from Sheet 2&lt;/U&gt;).&amp;nbsp;&lt;/P&gt;&lt;P&gt;(In my case not numerical index but the index should be taken from a list of names)&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 19:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-within-for-loop/m-p/1776959#M717604</guid>
      <dc:creator>AmCh</dc:creator>
      <dc:date>2021-01-24T19:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD within for loop</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-within-for-loop/m-p/1776963#M717605</link>
      <description>&lt;P&gt;you can do however you want it, in you load statement, you can specify NOCONCATENATE and&amp;nbsp; you can embed your sheetname into the field names, you can even use the variable in the tablename&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;for Each vSheet in 'A','B','C'
NoConcatenate
Sheet$(vSheet):
LOAD x as x$(vSheet), 
     y as y$(vSheet), 
     z as z$(vSheet)
FROM
[file.xlsx]
(ooxml, embedded labels, table is $(vSheet));
next;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edwin_0-1611517750329.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/47706i7FB1B8969A017AC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edwin_0-1611517750329.png" alt="edwin_0-1611517750329.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 19:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-within-for-loop/m-p/1776963#M717605</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-24T19:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD within for loop</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-within-for-loop/m-p/1776965#M717606</link>
      <description>&lt;P&gt;obviously, if your sheet is L_A, L_B, etc..&lt;BR /&gt;&lt;BR /&gt;use A, B, C as the variable value and just add L_ in the sheet name&amp;nbsp;&lt;BR /&gt;... table is L_$(vSheet)&lt;BR /&gt;itll be easier&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 19:53:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-within-for-loop/m-p/1776965#M717606</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-24T19:53:02Z</dc:date>
    </item>
  </channel>
</rss>

