<?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: QlikSense QVD load based on naming pattern - Advanced in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/QlikSense-QVD-load-based-on-naming-pattern-Advanced/m-p/1637047#M47468</link>
    <description>&lt;P&gt;Hi Ron,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;LET FileCount = 0;&lt;/P&gt;&lt;P&gt;LET MinFileDate = 201805;&lt;/P&gt;&lt;P&gt;FOR Each File in FileList ('yoursourcepath\&lt;SPAN&gt;AUXFILE_*&lt;/SPAN&gt;.qvd');&lt;/P&gt;&lt;P&gt;LET FileDate = num(replace(replace(right('$(File)',11),'_',''),'.qvd',''));&lt;/P&gt;&lt;P&gt;IF $(FileDate) &amp;gt; $(MinFileDate) THEN&lt;/P&gt;&lt;P&gt;LET FileCount = $(FileCount)+1;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;&lt;SPAN&gt;ID,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Region,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Country&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;FROM [$(File)](qvd);&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;NEXT File;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;</description>
    <pubDate>Fri, 18 Oct 2019 09:25:50 GMT</pubDate>
    <dc:creator>jyothish8807</dc:creator>
    <dc:date>2019-10-18T09:25:50Z</dc:date>
    <item>
      <title>QlikSense QVD load based on naming pattern - Advanced</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-QVD-load-based-on-naming-pattern-Advanced/m-p/1637039#M47467</link>
      <description>&lt;P&gt;I have below qvd files in my library location. I only want to load data from AUXFILE_&lt;STRONG&gt;2018_05&lt;/STRONG&gt;.qvd to rest all (The objective is to load data from Year-Month 2018_05 to rest all. How to transform my existing code(Given below) (presently it is loading from all the QVDs in the location)?&lt;/P&gt;&lt;P&gt;****My Code****&lt;/P&gt;&lt;P&gt;Set vStartYear = 2018;&lt;BR /&gt;Let vCurrentYear= year(now());&lt;BR /&gt;For vYear = $(vStartYear) to $(vCurrentYear)&lt;/P&gt;&lt;P&gt;DTA:&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;ID,&lt;BR /&gt;Region,&lt;BR /&gt;Country&lt;/P&gt;&lt;P&gt;FROM [lib://CID/AUXFILE_$(vYear)*.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;store DTA into [lib://STR/DTA_$(vYear).qvd));&lt;/P&gt;&lt;P&gt;next vYear&lt;/P&gt;&lt;P&gt;***************************&lt;/P&gt;&lt;P&gt;Source QVD Files:&lt;/P&gt;&lt;P&gt;AUXFILE_2018_03.qvd&lt;BR /&gt;AUXFILE_2018_04.qvd&lt;BR /&gt;AUXFILE_2018_05.qvd&lt;BR /&gt;AUXFILE_2018_06.qvd&lt;BR /&gt;AUXFILE_2018_07.qvd&lt;BR /&gt;AUXFILE_2018_08.qvd&lt;BR /&gt;AUXFILE_2018_09.qvd&lt;BR /&gt;AUXFILE_2018_10.qvd&lt;BR /&gt;AUXFILE_2018_11.qvd&lt;BR /&gt;AUXFILE_2018_12.qvd&lt;BR /&gt;AUXFILE_2019_01.qvd&lt;BR /&gt;AUXFILE_2019_02.qvd&lt;BR /&gt;AUXFILE_2019_03.qvd&lt;BR /&gt;AUXFILE_2019_04.qvd&lt;BR /&gt;AUXFILE_2019_05.qvd&lt;BR /&gt;AUXFILE_2019_06.qvd&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 08:40:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-QVD-load-based-on-naming-pattern-Advanced/m-p/1637039#M47467</guid>
      <dc:creator>Ron1</dc:creator>
      <dc:date>2019-10-18T08:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense QVD load based on naming pattern - Advanced</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-QVD-load-based-on-naming-pattern-Advanced/m-p/1637047#M47468</link>
      <description>&lt;P&gt;Hi Ron,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;LET FileCount = 0;&lt;/P&gt;&lt;P&gt;LET MinFileDate = 201805;&lt;/P&gt;&lt;P&gt;FOR Each File in FileList ('yoursourcepath\&lt;SPAN&gt;AUXFILE_*&lt;/SPAN&gt;.qvd');&lt;/P&gt;&lt;P&gt;LET FileDate = num(replace(replace(right('$(File)',11),'_',''),'.qvd',''));&lt;/P&gt;&lt;P&gt;IF $(FileDate) &amp;gt; $(MinFileDate) THEN&lt;/P&gt;&lt;P&gt;LET FileCount = $(FileCount)+1;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;&lt;SPAN&gt;ID,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Region,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Country&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;FROM [$(File)](qvd);&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;NEXT File;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 09:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-QVD-load-based-on-naming-pattern-Advanced/m-p/1637047#M47468</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2019-10-18T09:25:50Z</dc:date>
    </item>
  </channel>
</rss>

