<?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 multiple .csv files to create a single data files in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3150#M793114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think my company would sponsor a trip to Prague, specially when there is a Master Summit which will take place in the US. I will keep my eyes and ears open for Master Summit 2018 (US).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Problems do occur with wildcard loads if you use preceding load or load prefixes.&amp;nbsp; But for a straight-ahead load, I find they work fine and are easier to write (and read).&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sense &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jan 2018 15:46:38 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-01-18T15:46:38Z</dc:date>
    <item>
      <title>load multiple .csv files to create a single data files</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3142#M793106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need an advise from an expert in loading multiple .csv files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;P&gt;abc1.csv, abc2.csv, abc3.csv, abc4.csv ...........abc100.csv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All good the same haeaders names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let PathToDirectory = 'Z:\query38\*';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Each File in FileList ('$(PathToDirectory)abc*.csv)' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yourtable:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM '$(File)'(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT File;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&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/load-multiple-csv-files-to-create-a-single-data-files/m-p/3142#M793106</guid>
      <dc:creator>0li5a3a</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: load multiple .csv files to create a single data files</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3143#M793107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you have an asterisk here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190527_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be try without it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LET PathToDirectory = 'Z:\query38\';&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 15:29:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3143#M793107</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-18T15:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: load multiple .csv files to create a single data files</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3144#M793108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to load them with just a wildcard in the filename:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ...&lt;/P&gt;&lt;P&gt;FROM abc*.csv &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No for loop necessary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 15:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3144#M793108</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-01-18T15:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: load multiple .csv files to create a single data files</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3145#M793109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks good. Does it work? You may have an asterisk too much, though - the one in the Let statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also &lt;A href="https://community.qlik.com/qlik-blogpost/3274"&gt;Loops in the Script&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 15:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3145#M793109</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2018-01-18T15:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: load multiple .csv files to create a single data files</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3146#M793110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was going to refer to &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt;‌ for a comment he might have made and here he is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Henric - Correct me if you I am wrong, but I have read somewhere that you prefer to use For Loops over wildcard load as they Wildcards are problematic in some cases where it creates multiple tables. Is that something you do on case by case basis or is that the approach you would always recommend to take?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/people/rwunderlich"&gt;rwunderlich&lt;/A&gt;‌ - When is the next Master Summit in the US? Do we have a date yet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 15:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3146#M793110</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-18T15:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: load multiple .csv files to create a single data files</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3147#M793111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 2018 US date has not been set yet, but it will be sometime in Sept-Oct.&amp;nbsp; Or come see us in Prague in April. &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;Problems do occur with wildcard loads if you use preceding load or load prefixes.&amp;nbsp; But for a straight-ahead load, I find they work fine and are easier to write (and read).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 15:42:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3147#M793111</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-01-18T15:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: load multiple .csv files to create a single data files</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3148#M793112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vPath = 'Z:\query38';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each File in FileList('$(vPath)\abc*.csv')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From $(File)(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT File;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this works now. Thanks all for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 15:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3148#M793112</guid>
      <dc:creator>0li5a3a</dc:creator>
      <dc:date>2018-01-18T15:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: load multiple .csv files to create a single data files</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3149#M793113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I always use a For-Next loop for cases like this, and I think it is good practice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob's solution with a wild card directly in the file reference works excellently, as long as&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;All files have identical sets of fields.&lt;/LI&gt;&lt;LI&gt;No preceding load exists.&lt;/LI&gt;&lt;LI&gt;No load prefix exists&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I have more than once started with the wild card in the file name, and later (sometimes weeks later) had to change it to a For-Next loop, since the newest log file now contains an additional field. Or I have had to add a preceding Load. So, now I always go for the For-Next solution right away.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 15:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3149#M793113</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2018-01-18T15:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: load multiple .csv files to create a single data files</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3150#M793114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think my company would sponsor a trip to Prague, specially when there is a Master Summit which will take place in the US. I will keep my eyes and ears open for Master Summit 2018 (US).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Problems do occur with wildcard loads if you use preceding load or load prefixes.&amp;nbsp; But for a straight-ahead load, I find they work fine and are easier to write (and read).&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sense &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 15:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3150#M793114</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-18T15:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: load multiple .csv files to create a single data files</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3151#M793115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/people/hic"&gt;hic&lt;/A&gt;‌ -&amp;nbsp; This is what I have found in most of the cases. But knowing when it might not work is the key to this. Thanks for sharing this information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 16:01:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3151#M793115</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-18T16:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: load multiple .csv files to create a single data files</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3152#M793116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anyone know how I can load multiple sheets from one excel, but all sheets have differente names and different data + tables? :s&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 16:32:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3152#M793116</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-18T16:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: load multiple .csv files to create a single data files</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3153#M793117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest you start this question in a new thread. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 19:19:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3153#M793117</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-01-18T19:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: load multiple .csv files to create a single data files</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3154#M793118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe the below code can help you.&lt;/P&gt;&lt;P&gt;a, b, c, d... are tabs in an excel folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;FOR EACH vSheet IN 'A','B','C','D'... etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD*&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;Z&gt;&lt;/Z&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is $(vSheet));&lt;/P&gt;&lt;P&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, 19 Jan 2018 07:51:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-csv-files-to-create-a-single-data-files/m-p/3154#M793118</guid>
      <dc:creator>0li5a3a</dc:creator>
      <dc:date>2018-01-19T07:51:42Z</dc:date>
    </item>
  </channel>
</rss>

