<?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: How to load data from files that reside inside a table? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-load-data-from-files-that-reside-inside-a-table/m-p/1233791#M392823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I tried out the logic you mentioned as below:&lt;/P&gt;&lt;P&gt;For i = 0 to (NoOfRows('Table2')-1)&lt;/P&gt;&lt;P&gt;let a = Peek('Filename',$(i),'Table2');&lt;/P&gt;&lt;P&gt;let b = Peek('Tablename',$(i),'Table2');&lt;/P&gt;&lt;P&gt;LOAD * from [$(a)]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [$(b)]);&lt;/P&gt;&lt;P&gt;next i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For test purpose alone, i&amp;nbsp; just kept only one record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to achieve what i need. But in addition to it I am getting something different and the following script error occurred:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;LOAD * from &lt;C&gt;&lt;/C&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;(ooxml, embedded labels, table is [~$Null])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to the file i have input I am getting one additional file named &lt;STRONG style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt; &lt;/STRONG&gt;which is not in the input. The only file in the input is &lt;STRONG style="font-size: 13.3333px; text-decoration: underline;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something going wrong in the loop and creating an additional wrong file by appending '~$' in front of the original file name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on this issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2016 20:34:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-11-10T20:34:20Z</dc:date>
    <item>
      <title>How to load data from files that reside inside a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-data-from-files-that-reside-inside-a-table/m-p/1233789#M392821</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 have a table with two columns (Filename and Tablename).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Filename (C:\Users\Sudheep\Desktop\Test data\xyz.xlsx) and Tablename is TmpTable. Similarly, I have 10 records with filename and its corresponding table name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to load all the data from the filename with the tablename in a qlikview application. Can someone help me with this logic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 17:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-data-from-files-that-reside-inside-a-table/m-p/1233789#M392821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-10T17:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to load data from files that reside inside a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-data-from-files-that-reside-inside-a-table/m-p/1233790#M392822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kartick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Load Script should look something like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableList:&lt;/P&gt;&lt;P&gt;Load * Inline &lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filename, Tablename&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'C:\Users\Sudheep\Desktop\Test data\xyz.xlsx','TmpTable'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;let noRows = NoOfRows('TableList')-1;&lt;/P&gt;&lt;P&gt;for i=0 to $(noRows)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; let a = peek('Filename',$(i),'TableList');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; let b = peek('tablename',$(i),'TableList');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;&amp;nbsp; '$(a)' as FielName,&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;&amp;nbsp; '$(b)' as TableName,&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;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM [$(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;&amp;nbsp;&amp;nbsp; (ooxml, embedded labels, table is [$(b)]);&lt;/P&gt;&lt;P&gt;next i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table TableList;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;JP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 18:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-data-from-files-that-reside-inside-a-table/m-p/1233790#M392822</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2016-11-10T18:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to load data from files that reside inside a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-data-from-files-that-reside-inside-a-table/m-p/1233791#M392823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I tried out the logic you mentioned as below:&lt;/P&gt;&lt;P&gt;For i = 0 to (NoOfRows('Table2')-1)&lt;/P&gt;&lt;P&gt;let a = Peek('Filename',$(i),'Table2');&lt;/P&gt;&lt;P&gt;let b = Peek('Tablename',$(i),'Table2');&lt;/P&gt;&lt;P&gt;LOAD * from [$(a)]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [$(b)]);&lt;/P&gt;&lt;P&gt;next i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For test purpose alone, i&amp;nbsp; just kept only one record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to achieve what i need. But in addition to it I am getting something different and the following script error occurred:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;LOAD * from &lt;C&gt;&lt;/C&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;(ooxml, embedded labels, table is [~$Null])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to the file i have input I am getting one additional file named &lt;STRONG style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt; &lt;/STRONG&gt;which is not in the input. The only file in the input is &lt;STRONG style="font-size: 13.3333px; text-decoration: underline;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something going wrong in the loop and creating an additional wrong file by appending '~$' in front of the original file name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on this issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 20:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-data-from-files-that-reside-inside-a-table/m-p/1233791#M392823</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-10T20:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to load data from files that reside inside a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-data-from-files-that-reside-inside-a-table/m-p/1233792#M392824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please ignore my previous reply. I got what the issue is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 00:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-data-from-files-that-reside-inside-a-table/m-p/1233792#M392824</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-11T00:46:25Z</dc:date>
    </item>
  </channel>
</rss>

