<?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: Load from QVD with wildcards in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Load-from-QVD-with-wildcards/m-p/57180#M3823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that there are further wildcards available and that you could apply any regex-logic by loading files. I'm not absolutely sure but I believe that Qlik has no own logic for handling files else they just use windows dll's for it and AFAIK there are also only * and ? as wildcards defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beside this I don't think that a for each approach with dirlist/filelist is ugly. It's fast and quite often there are further conditions like checking the filetime/filesize, handling different data-structures, file-formats, where-clauses and so on - and at least there you will need some more efforts to implement it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further the help-example for the loop indicates by using sub-routines how it could be nicely handled - means putting everything in a routine which again called the necessary routines and this could be put in an include-variable and used globally within your whole environment. And then its just enough to call the routine with the needed parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Feb 2018 15:19:50 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2018-02-08T15:19:50Z</dc:date>
    <item>
      <title>Load from QVD with wildcards</title>
      <link>https://community.qlik.com/t5/App-Development/Load-from-QVD-with-wildcards/m-p/57176#M3819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to load data from QVD-files with wildcards.&lt;/P&gt;&lt;P&gt;Image I have the following QVD's&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;File_1.qvd&lt;/LI&gt;&lt;LI&gt;File_2.qvd&lt;/LI&gt;&lt;LI&gt;File_3.qvd&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know about the wildcard "*" | "?" to load multiple files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;[Example to load all Files]:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Load * &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM [lib://Folder/File_*.qvd] (qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But how can I define to load just 2 Files (File_2.qvd &amp;amp; File_3.qvd) with a specific syntax?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Does Qlik supports other wildcards or even regex for load statements?&lt;/P&gt;&lt;P&gt;Or is the only possibility to loop and check with "Wildmatch" for my wanted files? What is really nasty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 11:54:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-from-QVD-with-wildcards/m-p/57176#M3819</guid>
      <dc:creator>sirpod90</dc:creator>
      <dc:date>2018-02-06T11:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Load from QVD with wildcards</title>
      <link>https://community.qlik.com/t5/App-Development/Load-from-QVD-with-wildcards/m-p/57177#M3820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why don't you try with for each&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; background-color: #fafafa;"&gt;for each a in 1,3,7,'xyz' LOAD * from file$(a).csv; next&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for more details see in help menu.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Scripting/ScriptControlStatements/For%20Each.htm" title="http://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Scripting/ScriptControlStatements/For%20Each.htm"&gt;For each..next ‒ Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 12:14:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-from-QVD-with-wildcards/m-p/57177#M3820</guid>
      <dc:creator>big_dreams</dc:creator>
      <dc:date>2018-02-06T12:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Load from QVD with wildcards</title>
      <link>https://community.qlik.com/t5/App-Development/Load-from-QVD-with-wildcards/m-p/57178#M3821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was also thinking about that solution, like I described above.&lt;/P&gt;&lt;P&gt;But the Problem here is, I have to know before hand what file names I want to load.&lt;/P&gt;&lt;P&gt;If the file is not found, the script returns an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do it over different kind of files and and I do not know every combination before hand.&lt;/P&gt;&lt;P&gt;Furthermore I want to build the names on the fly, because I want to use it in a script for On Demand App Generation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course I could search in a folder, match the findings with my pattern and loop trough every combination, but this script gets nasty and blown up for a simple regex expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some solutions I could work with but my question, when Qlik supports wildcards, &lt;STRONG&gt;does they also support further Wildcards as * which are not documented yet???&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 14:31:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-from-QVD-with-wildcards/m-p/57178#M3821</guid>
      <dc:creator>sirpod90</dc:creator>
      <dc:date>2018-02-06T14:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Load from QVD with wildcards</title>
      <link>https://community.qlik.com/t5/App-Development/Load-from-QVD-with-wildcards/m-p/57179#M3822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;does they also support further Wildcards as * which are not documented yet???&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; I am also new in QlikSense so not sure about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still not getting your question. You are making 2 contradict statement. &lt;/P&gt;&lt;P&gt;In your original post you are saying that you want file_2 &amp;amp; file_3.qvd and&lt;/P&gt;&lt;P&gt;In You are earlier reply you are saying You want solution where you don't have file name in your hand before load.&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how qlik understand which file to load or which not??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another logic in my mind is If you dont have file in your hand before load or you don't want to update it in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then You can try below logic&lt;/P&gt;&lt;P&gt;1: Maintain excel file where you insert filename which you want to load&lt;/P&gt;&lt;P&gt;2: Load excel in script &amp;amp; use that column in for loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 07:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-from-QVD-with-wildcards/m-p/57179#M3822</guid>
      <dc:creator>big_dreams</dc:creator>
      <dc:date>2018-02-08T07:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Load from QVD with wildcards</title>
      <link>https://community.qlik.com/t5/App-Development/Load-from-QVD-with-wildcards/m-p/57180#M3823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that there are further wildcards available and that you could apply any regex-logic by loading files. I'm not absolutely sure but I believe that Qlik has no own logic for handling files else they just use windows dll's for it and AFAIK there are also only * and ? as wildcards defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beside this I don't think that a for each approach with dirlist/filelist is ugly. It's fast and quite often there are further conditions like checking the filetime/filesize, handling different data-structures, file-formats, where-clauses and so on - and at least there you will need some more efforts to implement it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further the help-example for the loop indicates by using sub-routines how it could be nicely handled - means putting everything in a routine which again called the necessary routines and this could be put in an include-variable and used globally within your whole environment. And then its just enough to call the routine with the needed parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 15:19:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-from-QVD-with-wildcards/m-p/57180#M3823</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-02-08T15:19:50Z</dc:date>
    </item>
  </channel>
</rss>

