<?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 can't solve variable correctly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FileList-can-t-solve-variable-correctly/m-p/1373960#M615859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use directory loop instead of filelist to do this&lt;/P&gt;&lt;P&gt;&lt;A href="http://livingqlikview.com/looping-through-files/" title="http://livingqlikview.com/looping-through-files/"&gt;Create a QlikView File Loop to Load all Files&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, look at example number 2 here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/ScriptControlStatements/For%20Each.htm" title="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/ScriptControlStatements/For%20Each.htm"&gt;For each..next ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Aug 2017 15:51:20 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-08-09T15:51:20Z</dc:date>
    <item>
      <title>FileList can't solve variable correctly</title>
      <link>https://community.qlik.com/t5/QlikView/FileList-can-t-solve-variable-correctly/m-p/1373959#M615858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this code works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each File in FileList('C:\T\*.xlsx');&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;LOAD Field&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;FROM&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;[$(File)]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;next File;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this code gives me an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET Tpath = 'C:\T\*.xlsx';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each File in FileList($(Tpath));&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;LOAD Field&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;FROM&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;[$(File)]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;next File;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172955_Untitled.jpg" style="height: auto;" /&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;any suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 14:46:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileList-can-t-solve-variable-correctly/m-p/1373959#M615858</guid>
      <dc:creator />
      <dc:date>2017-08-09T14:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: FileList can't solve variable correctly</title>
      <link>https://community.qlik.com/t5/QlikView/FileList-can-t-solve-variable-correctly/m-p/1373960#M615859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use directory loop instead of filelist to do this&lt;/P&gt;&lt;P&gt;&lt;A href="http://livingqlikview.com/looping-through-files/" title="http://livingqlikview.com/looping-through-files/"&gt;Create a QlikView File Loop to Load all Files&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, look at example number 2 here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/ScriptControlStatements/For%20Each.htm" title="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/ScriptControlStatements/For%20Each.htm"&gt;For each..next ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 15:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileList-can-t-solve-variable-correctly/m-p/1373960#M615859</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-09T15:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: FileList can't solve variable correctly</title>
      <link>https://community.qlik.com/t5/QlikView/FileList-can-t-solve-variable-correctly/m-p/1373961#M615860</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;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For each File in FileList('$(Tpath)');&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Field&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[$(File)]&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;next File;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 15:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileList-can-t-solve-variable-correctly/m-p/1373961#M615860</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-08-09T15:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: FileList can't solve variable correctly</title>
      <link>https://community.qlik.com/t5/QlikView/FileList-can-t-solve-variable-correctly/m-p/1373962#M615861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi @&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/lmiceli.amsterdam"&gt;lmiceli.amsterdam&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I believe the code posted by Kaushik can solve your problem. You need to provide the variable inside single inverted i.e. &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FileList(&lt;STRONG&gt;'$(Tpath)'&lt;/STRONG&gt;)&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;So if your problem is solved, please marked the answer as "&lt;STRONG&gt;Correct Answer&lt;/STRONG&gt;". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks,&lt;/P&gt;&lt;P&gt;Joy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 16:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileList-can-t-solve-variable-correctly/m-p/1373962#M615861</guid>
      <dc:creator>joydipp1988</dc:creator>
      <dc:date>2017-08-09T16:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: FileList can't solve variable correctly</title>
      <link>https://community.qlik.com/t5/QlikView/FileList-can-t-solve-variable-correctly/m-p/1373963#M615862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 16:13:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FileList-can-t-solve-variable-correctly/m-p/1373963#M615862</guid>
      <dc:creator />
      <dc:date>2017-08-09T16:13:27Z</dc:date>
    </item>
  </channel>
</rss>

