<?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: Extrat Date from QVD file name in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extrat-Date-from-QVD-file-name/m-p/1648302#M730838</link>
    <description>&lt;P&gt;Actually both of them are right. Thanks for reminding.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Nov 2019 07:55:59 GMT</pubDate>
    <dc:creator>New-Qlik</dc:creator>
    <dc:date>2019-11-19T07:55:59Z</dc:date>
    <item>
      <title>Extrat Date from QVD file name</title>
      <link>https://community.qlik.com/t5/QlikView/Extrat-Date-from-QVD-file-name/m-p/1646358#M730831</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to extract and save date from QVD file name eg&lt;/P&gt;&lt;P&gt;Sales_20180101.qvd&lt;/P&gt;&lt;P&gt;Sales_20180102.qvd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want a date column having dates like 20180101 and&amp;nbsp;20180102 and is link with data in corresponding QVDs&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extrat-Date-from-QVD-file-name/m-p/1646358#M730831</guid>
      <dc:creator>New-Qlik</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Extrat Date from QVD file name</title>
      <link>https://community.qlik.com/t5/QlikView/Extrat-Date-from-QVD-file-name/m-p/1646366#M730832</link>
      <description>&lt;P&gt;You can use &lt;A href="https://help.qlik.com/en-US/sense/November2019/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/FileBaseName.htm" target="_self"&gt;FileBaseName()&lt;/A&gt;&amp;nbsp;to fetch the file base name, &lt;A href="https://help.qlik.com/en-US/sense/November2019/Subsystems/Hub/Content/Sense_Hub/Scripting/StringFunctions/SubField.htm" target="_self"&gt;subfield()&lt;/A&gt; to fetch the integer representing the date and &lt;A href="https://help.qlik.com/en-US/sense/November2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterpretationFunctions/date_hash.htm" target="_self"&gt;date#()&lt;/A&gt;&amp;nbsp;to intepret the integer. &lt;A href="https://help.qlik.com/en-US/sense/November2019/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTimeFunctions/dayname.htm" target="_self"&gt;Dayname()&lt;/A&gt; is used just for the correct presentation of your date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;LOAD&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*,&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;DayName( date#( subfield(FileBaseName()&amp;nbsp;, '_',2),'YYYYMMDD' ))as FileDate&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;FROM *.QVD (qvd);&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 13:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extrat-Date-from-QVD-file-name/m-p/1646366#M730832</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-11-13T13:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Extrat Date from QVD file name</title>
      <link>https://community.qlik.com/t5/QlikView/Extrat-Date-from-QVD-file-name/m-p/1646367#M730833</link>
      <description>&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;date(textbetween(&amp;lt;QVDFileName&amp;gt;,'_','.'),'YYYYMMDD') as QVD_Date;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 13:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extrat-Date-from-QVD-file-name/m-p/1646367#M730833</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-11-13T13:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Extrat Date from QVD file name</title>
      <link>https://community.qlik.com/t5/QlikView/Extrat-Date-from-QVD-file-name/m-p/1648143#M730836</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Avneet, did Vegar or Mike's posts help you get things working?&amp;nbsp; If so, be sure to come back to the thread and use the Accept as solution button on the post that worked best for you to give them credit for the help and let other Community Members know which worked best for your use case.&amp;nbsp; If you are still working on things, please leave an update.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;BR /&gt;Brett&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 18:34:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extrat-Date-from-QVD-file-name/m-p/1648143#M730836</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-11-18T18:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Extrat Date from QVD file name</title>
      <link>https://community.qlik.com/t5/QlikView/Extrat-Date-from-QVD-file-name/m-p/1648302#M730838</link>
      <description>&lt;P&gt;Actually both of them are right. Thanks for reminding.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 07:55:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extrat-Date-from-QVD-file-name/m-p/1648302#M730838</guid>
      <dc:creator>New-Qlik</dc:creator>
      <dc:date>2019-11-19T07:55:59Z</dc:date>
    </item>
  </channel>
</rss>

