<?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 How to loop through Multiple csv files from folder and generate Qvd for each file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-loop-through-Multiple-csv-files-from-folder-and-generate/m-p/548649#M693140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Techies,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to load multiple csv files in single load statement in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is :::: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a some files in one location.. my point of view i want to load all files and generate qvd data file for each source file.&lt;/P&gt;&lt;P&gt;It should be done dynamically..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SSIS, it is possible, Is there any possibility using Foreach loop and variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Chandra Mohan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Aug 2013 10:17:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-01T10:17:19Z</dc:date>
    <item>
      <title>How to loop through Multiple csv files from folder and generate Qvd for each file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-loop-through-Multiple-csv-files-from-folder-and-generate/m-p/548649#M693140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Techies,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to load multiple csv files in single load statement in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is :::: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a some files in one location.. my point of view i want to load all files and generate qvd data file for each source file.&lt;/P&gt;&lt;P&gt;It should be done dynamically..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SSIS, it is possible, Is there any possibility using Foreach loop and variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Chandra Mohan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 10:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-loop-through-Multiple-csv-files-from-folder-and-generate/m-p/548649#M693140</guid>
      <dc:creator />
      <dc:date>2013-08-01T10:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to loop through Multiple csv files from folder and generate Qvd for each file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-loop-through-Multiple-csv-files-from-folder-and-generate/m-p/548650#M693141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use a script like this or see the examples in help under "for ... next // for each ... next":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x:&lt;/P&gt;&lt;P&gt;Load *&lt;STRONG&gt;, filename() as FileName From Path\Prefix&lt;/STRONG&gt;*.csv (txt, codepage is 1252, embedded labels, delimiter is '\t', no quotes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vFileCount = fieldvaluecount(FileName);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i = 0 to $(vFileCount) - 1&lt;/P&gt;&lt;P&gt;let vFileName = peek('FileName', $(i), 'x');&lt;/P&gt;&lt;P&gt;temp:&lt;/P&gt;&lt;P&gt;noconcatenate Load * Resident x Where FileName = '$( vFileName)';&lt;/P&gt;&lt;P&gt;store temp into '$( vFileName)'.qvd (qvd);&lt;/P&gt;&lt;P&gt;drop table temp;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which way will best suited is depend from your folder/filename-structure, amount of data ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 11:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-loop-through-Multiple-csv-files-from-folder-and-generate/m-p/548650#M693141</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-08-01T11:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to loop through Multiple csv files from folder and generate Qvd for each file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-loop-through-Multiple-csv-files-from-folder-and-generate/m-p/548651#M693142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Debugger skipping the Execution&amp;nbsp; and throwing an error at below code line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set vPath='C:\Users\chandra.mohanc\Desktop\QlikView Training\Sources\';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X:&lt;/P&gt;&lt;P&gt;Load *, &lt;BR /&gt;filename() as FileName &lt;BR /&gt;From $(vPath)*.csv &lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is '\t', no quotes);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 12:09:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-loop-through-Multiple-csv-files-from-folder-and-generate/m-p/548651#M693142</guid>
      <dc:creator />
      <dc:date>2013-08-01T12:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to loop through Multiple csv files from folder and generate Qvd for each file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-loop-through-Multiple-csv-files-from-folder-and-generate/m-p/548652#M693143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this and/or check the path:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From [$(vPath)*.csv] ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 12:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-loop-through-Multiple-csv-files-from-folder-and-generate/m-p/548652#M693143</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-08-01T12:32:32Z</dc:date>
    </item>
  </channel>
</rss>

