<?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: FileList with BLANKs in variable places? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FileList-with-BLANKs-in-variable-places/m-p/797795#M662525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that seems to be the best solution.&lt;/P&gt;&lt;P&gt;All the files for 2015 (so far) are usable for me - I only have to purge BLANKs, which I can always do once I have actually opened the loop.&lt;/P&gt;&lt;P&gt;My dilemma was just before I do so, and only for the files from 2014. By checking the filetime, I have another way of filtering for the time (starting from the end of March 2014).&lt;/P&gt;&lt;P&gt;That seemingly solves my dilemma.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2015 13:15:00 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2015-01-30T13:15:00Z</dc:date>
    <item>
      <title>FileList with BLANKs in variable places?</title>
      <link>https://community.qlik.com/t5/QlikView/FileList-with-BLANKs-in-variable-places/m-p/797789#M662519</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 have the requirement of setting up a loop to LOAD a number of Excel files.&lt;/P&gt;&lt;P&gt;The contents of the Excel files is always equal in structure, so that is not the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; The filename is written with slight differences in all sorts of places.&lt;/P&gt;&lt;P&gt;The general format is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; Schichtplan_NTB 1_Sergej KW 05Früh &amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to grab one part of this to use for my file_mask (for a FOR EACH loop);&lt;/P&gt;&lt;P&gt;- "Schichtplan" is not sufficient for there are some from 2015 which are completely different.&lt;/P&gt;&lt;P&gt;- "NTB1" is the name of the plant, so that would be good - but as you see, there is a BLANK here - but not always &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; I could use "Schichtplan_NTB*" - but if/when we do the same in the other plant (that is NTB2), I will face the challenge of keeping the naming_format uniform and still distinguishable.&lt;/P&gt;&lt;P&gt;- Before I actually open the loop, of course i do not know exactly how the file_names are written and I cannot grab them and purge the BLANKs beforehand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; Is there any elegant way around this (except educating the users which seems to be - hm, difficult ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 12:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileList-with-BLANKs-in-variable-places/m-p/797789#M662519</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-01-30T12:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: FileList with BLANKs in variable places?</title>
      <link>https://community.qlik.com/t5/QlikView/FileList-with-BLANKs-in-variable-places/m-p/797790#M662520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;couldn't you use a loop through a dirlist/filelist? Then the filename won't be important.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 12:46:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileList-with-BLANKs-in-variable-places/m-p/797790#M662520</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-01-30T12:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: FileList with BLANKs in variable places?</title>
      <link>https://community.qlik.com/t5/QlikView/FileList-with-BLANKs-in-variable-places/m-p/797791#M662521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what do you mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a filelist right now - the problem is, in the archiving_directory for 2014 about half the files are completely different and unusable for me - there has been a change in layout around summer and I can use only the files from that time on.&lt;/P&gt;&lt;P&gt;I am using a FOR EACH loop w ith a filelist to grab the '"meta_infos" about the files (plant, shift, week) - then I have another loop, this time a FOR loop, where I get the actual file_contents and join those to the meta_infos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 12:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileList-with-BLANKs-in-variable-places/m-p/797791#M662521</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-01-30T12:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: FileList with BLANKs in variable places?</title>
      <link>https://community.qlik.com/t5/QlikView/FileList-with-BLANKs-in-variable-places/m-p/797792#M662522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To delete blanks use Replace(myText, ' ', '') so all your strings will have blanks deleted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 12:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileList-with-BLANKs-in-variable-places/m-p/797792#M662522</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-01-30T12:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: FileList with BLANKs in variable places?</title>
      <link>https://community.qlik.com/t5/QlikView/FileList-with-BLANKs-in-variable-places/m-p/797793#M662523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alessandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that function. The trick is, to use this, I need the filename first so I can apply the function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exact point in the script where I have a challenge is where I use the SET command to define a filelist for my FOR EACH loop (I also use the DIRECTORY command, so my filelist actually contains only a mask for the file_name).&lt;/P&gt;&lt;P&gt;At that point, I don't actually have the file_names, so I cannot apply either that or the Purgechar() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 12:57:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileList-with-BLANKs-in-variable-places/m-p/797793#M662523</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-01-30T12:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: FileList with BLANKs in variable places?</title>
      <link>https://community.qlik.com/t5/QlikView/FileList-with-BLANKs-in-variable-places/m-p/797794#M662524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe you could check the filetime() or filesize() within the loop. If this isn't enough you could read the first row to check the data-structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 12:57:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileList-with-BLANKs-in-variable-places/m-p/797794#M662524</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-01-30T12:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: FileList with BLANKs in variable places?</title>
      <link>https://community.qlik.com/t5/QlikView/FileList-with-BLANKs-in-variable-places/m-p/797795#M662525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that seems to be the best solution.&lt;/P&gt;&lt;P&gt;All the files for 2015 (so far) are usable for me - I only have to purge BLANKs, which I can always do once I have actually opened the loop.&lt;/P&gt;&lt;P&gt;My dilemma was just before I do so, and only for the files from 2014. By checking the filetime, I have another way of filtering for the time (starting from the end of March 2014).&lt;/P&gt;&lt;P&gt;That seemingly solves my dilemma.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 13:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileList-with-BLANKs-in-variable-places/m-p/797795#M662525</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-01-30T13:15:00Z</dc:date>
    </item>
  </channel>
</rss>

