<?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 Loading from multiple files - one for each month/year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-from-multiple-files-one-for-each-month-year/m-p/370248#M705432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure how to go about this the right way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will need to load from a variable number of files that are named something like "QV Data - Jan 2012.xls." There are no fields in the files for the month and year (it's just in the file name), so I will need to be create new fields during load and assign the proper values. Something like (but obviously not static like this!):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 'Jan' as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; '2012' As Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Z&lt;/P&gt;&lt;P&gt;FROM [QV Data - Jan 2012.xls];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it was just looping through files with the same data structure I'd be ok, but I'm not sure how to correctly create the month and year fields - parsing the filename seems like it could be messy. I'm not confident they wouldn't change the filename structure in some way (but they will always have the 'Month Year' convention at the end).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2012 15:00:21 GMT</pubDate>
    <dc:creator>mhassinger</dc:creator>
    <dc:date>2012-04-26T15:00:21Z</dc:date>
    <item>
      <title>Loading from multiple files - one for each month/year</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-multiple-files-one-for-each-month-year/m-p/370248#M705432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure how to go about this the right way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will need to load from a variable number of files that are named something like "QV Data - Jan 2012.xls." There are no fields in the files for the month and year (it's just in the file name), so I will need to be create new fields during load and assign the proper values. Something like (but obviously not static like this!):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 'Jan' as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; '2012' As Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Z&lt;/P&gt;&lt;P&gt;FROM [QV Data - Jan 2012.xls];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it was just looping through files with the same data structure I'd be ok, but I'm not sure how to correctly create the month and year fields - parsing the filename seems like it could be messy. I'm not confident they wouldn't change the filename structure in some way (but they will always have the 'Month Year' convention at the end).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 15:00:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-multiple-files-one-for-each-month-year/m-p/370248#M705432</guid>
      <dc:creator>mhassinger</dc:creator>
      <dc:date>2012-04-26T15:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Loading from multiple files - one for each month/year</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-multiple-files-one-for-each-month-year/m-p/370249#M705433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P class="p1"&gt; &lt;SPAN class="s1"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;Subfield&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;FileBaseName&lt;/SPAN&gt;(),' - ',-1),' ',1)&amp;nbsp; &lt;SPAN class="s1"&gt;AS&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;Month&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;SPAN class="s1"&gt;subfield&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;Subfield&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;FileBaseName&lt;/SPAN&gt;(),' - ',-1),' ',2)&amp;nbsp; &lt;SPAN class="s1"&gt;AS&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;Year&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;SPAN class="s1"&gt;Date&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;Date#&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;Subfield&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;FileBaseName&lt;/SPAN&gt;(),' - ',-1),'MMM YYYY'))&amp;nbsp; &lt;SPAN class="s1"&gt;AS&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;Date&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;SPAN class="s2"&gt;X&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;SPAN class="s2"&gt;Y&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;SPAN class="s2"&gt;Z&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="s1"&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [QV Data*.xls]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;SPAN class="s1"&gt;biff&lt;/SPAN&gt;, &lt;SPAN class="s1"&gt;embedded&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;labels&lt;/SPAN&gt;, &lt;SPAN class="s1"&gt;table&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;is&lt;/SPAN&gt; Hoja1$); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 22:54:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-multiple-files-one-for-each-month-year/m-p/370249#M705433</guid>
      <dc:creator>jemancilla</dc:creator>
      <dc:date>2012-04-26T22:54:04Z</dc:date>
    </item>
  </channel>
</rss>

