<?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: Fetch date from excel file name in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fetch-date-from-excel-file-name/m-p/790865#M279645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trescos solution is of course much better, a bit early in the morning for me (05:00 local time) &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Dec 2014 04:59:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-12-08T04:59:17Z</dc:date>
    <item>
      <title>Fetch date from excel file name</title>
      <link>https://community.qlik.com/t5/QlikView/Fetch-date-from-excel-file-name/m-p/790860#M279640</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 have on one excel file like "Sale (Feb-2014).xlsx" .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to pick above Feb-2014 from excel and link to the master calender.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Need help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Prashant &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 04:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetch-date-from-excel-file-name/m-p/790860#M279640</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2014-12-08T04:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch date from excel file name</title>
      <link>https://community.qlik.com/t5/QlikView/Fetch-date-from-excel-file-name/m-p/790861#M279641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use filebasename(), like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load *,&lt;/P&gt;&lt;P class="Code"&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;&amp;nbsp;&amp;nbsp; Date(Date#(TextBetween(filebasename( ), '(',')' ), 'MMM-YYYY')) as Date&lt;/P&gt;&lt;P class="Code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From&amp;nbsp; &amp;lt;&amp;gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 04:40:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetch-date-from-excel-file-name/m-p/790861#M279641</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-12-08T04:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch date from excel file name</title>
      <link>https://community.qlik.com/t5/QlikView/Fetch-date-from-excel-file-name/m-p/790862#M279642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working you have any master calender script so I link them to each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 04:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetch-date-from-excel-file-name/m-p/790862#M279642</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2014-12-08T04:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch date from excel file name</title>
      <link>https://community.qlik.com/t5/QlikView/Fetch-date-from-excel-file-name/m-p/790863#M279643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You could use the function "FileName" in your script. This will give you the whole filename.&lt;/P&gt;&lt;P&gt;To pick the actual date part out you can use the "Mid" function, you could also use "Subfield" as well but in this case that would require more steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example of how it might look.&lt;/P&gt;&lt;P&gt;Mid(FileName(),6,8) As FileNameDate,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 04:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetch-date-from-excel-file-name/m-p/790863#M279643</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-08T04:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch date from excel file name</title>
      <link>https://community.qlik.com/t5/QlikView/Fetch-date-from-excel-file-name/m-p/790864#M279644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this: &lt;A href="https://community.qlik.com/message/198507"&gt;Creating A Master Calendar&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 04:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetch-date-from-excel-file-name/m-p/790864#M279644</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-12-08T04:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch date from excel file name</title>
      <link>https://community.qlik.com/t5/QlikView/Fetch-date-from-excel-file-name/m-p/790865#M279645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trescos solution is of course much better, a bit early in the morning for me (05:00 local time) &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 04:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetch-date-from-excel-file-name/m-p/790865#M279645</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-08T04:59:17Z</dc:date>
    </item>
  </channel>
</rss>

