<?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 Associationg a date to an Excel Import in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Associationg-a-date-to-an-Excel-Import/m-p/381555#M1169040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been looking for an answer to this question for quite a while now and couldn't find a proper answer.&lt;/P&gt;&lt;P&gt;Already apologizing for any "stupid" questions, I am pretty new to QlikView...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to import Excel-Sheets on a monthly basis into QV. The sheets do not contain any information about the date but in the filename.&lt;/P&gt;&lt;P&gt;In Qlikview I would like to associate each sheet with the corresponding month (for sorting reasons).&lt;/P&gt;&lt;P&gt;Maybe I could edit the Excel file in some way, that makes this possible but I would rather like to avoid doing so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be really glad, if someone could help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much, Thees.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2012 13:47:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-28T13:47:00Z</dc:date>
    <item>
      <title>Associationg a date to an Excel Import</title>
      <link>https://community.qlik.com/t5/QlikView/Associationg-a-date-to-an-Excel-Import/m-p/381555#M1169040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been looking for an answer to this question for quite a while now and couldn't find a proper answer.&lt;/P&gt;&lt;P&gt;Already apologizing for any "stupid" questions, I am pretty new to QlikView...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to import Excel-Sheets on a monthly basis into QV. The sheets do not contain any information about the date but in the filename.&lt;/P&gt;&lt;P&gt;In Qlikview I would like to associate each sheet with the corresponding month (for sorting reasons).&lt;/P&gt;&lt;P&gt;Maybe I could edit the Excel file in some way, that makes this possible but I would rather like to avoid doing so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be really glad, if someone could help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much, Thees.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 13:47:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associationg-a-date-to-an-Excel-Import/m-p/381555#M1169040</guid>
      <dc:creator />
      <dc:date>2012-08-28T13:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Associationg a date to an Excel Import</title>
      <link>https://community.qlik.com/t5/QlikView/Associationg-a-date-to-an-Excel-Import/m-p/381556#M1169041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have some files with the same structure you can use this (just modify your existing load):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;for each &lt;STRONG&gt;File&lt;/STRONG&gt; in filelist ('*.xlsx') &lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(&lt;STRONG&gt;File&lt;/STRONG&gt;)' as FileName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SomeField1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SomeField2,&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: line-through;"&gt;SomeExcelFile.xlsx&lt;/SPAN&gt;&lt;SPAN style="text-decoration: line-through;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: mceinline;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;[$(&lt;STRONG&gt;File&lt;/STRONG&gt;)]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Next &lt;STRONG&gt;File&lt;/STRONG&gt;;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Now you can also extract your date from the filename string '$(&lt;STRONG&gt;File&lt;/STRONG&gt;)' with a string functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 14:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associationg-a-date-to-an-Excel-Import/m-p/381556#M1169041</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-08-28T14:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Associationg a date to an Excel Import</title>
      <link>https://community.qlik.com/t5/QlikView/Associationg-a-date-to-an-Excel-Import/m-p/381557#M1169042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply this is exactly what i was looking for!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One question for my understanding:&lt;/P&gt;&lt;P&gt;Does '$(File)' mean the whole path or just the filename?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 14:47:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associationg-a-date-to-an-Excel-Import/m-p/381557#M1169042</guid>
      <dc:creator />
      <dc:date>2012-08-28T14:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Associationg a date to an Excel Import</title>
      <link>https://community.qlik.com/t5/QlikView/Associationg-a-date-to-an-Excel-Import/m-p/381558#M1169043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The whole path and filename with extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(File) - substitutes there the value of the variable File. As it's string and can contain spaces use ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can watch for variables in Debug mode (Button on top of the Stript editor).&lt;/P&gt;&lt;P&gt;Also you can run your script step by step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also specify a directory in filelist ('SomeDir\*.xlsx').&lt;/P&gt;&lt;P&gt;You can use relative paths if you've used Directory; statement somwhere above (see help).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 16:27:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associationg-a-date-to-an-Excel-Import/m-p/381558#M1169043</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-08-28T16:27:03Z</dc:date>
    </item>
  </channel>
</rss>

