<?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 Converting FilebaseName() into a Month Year Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Converting-FilebaseName-into-a-Month-Year-Date/m-p/1298234#M832058</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I currently have .xlsx files which finish with "...UK_May 2017.xlsx", inside Qlikview, I am able to use: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subfield(FileBaseName(),'_',-1) as FileBase&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to bring in the May 2017 into a new field called Filebase, however, this is as a string. Ideally, I would like to be able to convert this to a date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Date#(Subfield(FileBaseName(),'_',-1),'DD/MM/YYYY')) as FileBase2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this returns no values in the new field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to use the Month Year file name text in the .xlsx file name to bring in the first of the month in a DD/MM/YYYY format?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>jiwabhsmp</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Converting FilebaseName() into a Month Year Date</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-FilebaseName-into-a-Month-Year-Date/m-p/1298234#M832058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I currently have .xlsx files which finish with "...UK_May 2017.xlsx", inside Qlikview, I am able to use: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subfield(FileBaseName(),'_',-1) as FileBase&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to bring in the May 2017 into a new field called Filebase, however, this is as a string. Ideally, I would like to be able to convert this to a date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Date#(Subfield(FileBaseName(),'_',-1),'DD/MM/YYYY')) as FileBase2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this returns no values in the new field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to use the Month Year file name text in the .xlsx file name to bring in the first of the month in a DD/MM/YYYY format?&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/Converting-FilebaseName-into-a-Month-Year-Date/m-p/1298234#M832058</guid>
      <dc:creator>jiwabhsmp</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Converting FilebaseName() into a Month Year Date</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-FilebaseName-into-a-Month-Year-Date/m-p/1298235#M832059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;MonthName&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Date#&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;SubField&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(FileBaseName(),'_',-1),'.',1),'MMM YYYY')) as FileBase&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;or Date instead of MonthName&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 15:45:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-FilebaseName-into-a-Month-Year-Date/m-p/1298235#M832059</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-06-15T15:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Converting FilebaseName() into a Month Year Date</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-FilebaseName-into-a-Month-Year-Date/m-p/1298236#M832060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonio, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply, and I've tried the above:&lt;/P&gt;&lt;P&gt;MonthName(Date#(SubField(SubField(FileBaseName(),'_',-1),'MMM YYYY'))) as FileBase &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I had to add another parenthesis at the end) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I still do not get any values returning inside my table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 15:57:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-FilebaseName-into-a-Month-Year-Date/m-p/1298236#M832060</guid>
      <dc:creator>jiwabhsmp</dc:creator>
      <dc:date>2017-06-15T15:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Converting FilebaseName() into a Month Year Date</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-FilebaseName-into-a-Month-Year-Date/m-p/1298237#M832061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FileBaseName() doesn't include the file extension... this should be enough&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date(MonthStart(Date#(SubField(FileBaseName(),'_',-1), 'MMM YYYY')), 'MMM YYYY') as MonthYear&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 15:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-FilebaseName-into-a-Month-Year-Date/m-p/1298237#M832061</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-15T15:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Converting FilebaseName() into a Month Year Date</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-FilebaseName-into-a-Month-Year-Date/m-p/1298238#M832063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Sunny, You are right.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 16:02:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-FilebaseName-into-a-Month-Year-Date/m-p/1298238#M832063</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-06-15T16:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Converting FilebaseName() into a Month Year Date</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-FilebaseName-into-a-Month-Year-Date/m-p/1298239#M832065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Brilliant, that works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks guys! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 16:03:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-FilebaseName-into-a-Month-Year-Date/m-p/1298239#M832065</guid>
      <dc:creator>jiwabhsmp</dc:creator>
      <dc:date>2017-06-15T16:03:54Z</dc:date>
    </item>
  </channel>
</rss>

