<?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: Variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variables/m-p/619873#M680347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No because path and file are correct&lt;/P&gt;&lt;P&gt;doesn't mean a file exists&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Apr 2014 12:16:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-25T12:16:26Z</dc:date>
    <item>
      <title>Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/619861#M680335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm facing a strange issue or misunderstanding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM&amp;nbsp;&amp;nbsp; [$(PathQVD)\$(FileNameQVD).qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;everyting's OK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT When i'm doing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET v =filename([$(PathQVD)\$(FileNameQVD).qvd]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my variable v is NULL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnak you&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 08:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/619861#M680335</guid>
      <dc:creator />
      <dc:date>2014-04-25T08:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/619862#M680336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly u want to store in variable v??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 08:56:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/619862#M680336</guid>
      <dc:creator />
      <dc:date>2014-04-25T08:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/619863#M680337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is an example of using filename from online help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;Load *, filename( ) as X from&lt;/P&gt;&lt;P class="Code"&gt;C:\UserFiles\abc.txt&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P&gt;Will return 'abc.txt' in field X in each record read. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 08:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/619863#M680337</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-25T08:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/619864#M680338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;Try this&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;LET v =filename('[$(PathQVD)\$(FileNameQVD).qvd]');&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 08:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/619864#M680338</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-25T08:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/619865#M680339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need a variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;FileName() as Filename&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[$(PathQVD)\$(FileNameQVD).qvd] (qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 08:58:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/619865#M680339</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-04-25T08:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/619866#M680340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to check wether or not the file exists&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if i get a filename it does&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 08:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/619866#M680340</guid>
      <dc:creator />
      <dc:date>2014-04-25T08:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/619867#M680341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did already,&amp;nbsp; it doesn't&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 09:00:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/619867#M680341</guid>
      <dc:creator />
      <dc:date>2014-04-25T09:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/619868#M680342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I do,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i don't want to load data, just check if the file exists&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 09:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/619868#M680342</guid>
      <dc:creator />
      <dc:date>2014-04-25T09:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/619869#M680343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may want to use this instead&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD *,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FilePath() as Path&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;[$(PathQVD)\$(FileNameQVD).qvd] (qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;This will give you the full path of where the file is located and the filename&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Alan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 09:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/619869#M680343</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-04-25T09:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/619870#M680344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for qvd file there are qvd file functions&lt;/P&gt;&lt;P&gt;answer here (and example)&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/361868"&gt;Re: How can I check if a file exists ?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QvdCreateTime&lt;/P&gt;&lt;P&gt;Returns the XML-header time stamp from a QVD file if any (otherwise NULL). &lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt; is the name of a QVD file, if necessary including path. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;QvdCreateTime('MyFile.qvd')&lt;/P&gt;&lt;P class="Code"&gt;QvdCreateTime('C:\MyDir\MyFile.qvd')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 09:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/619870#M680344</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-25T09:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/619871#M680345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok so maybe remove the filename part&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so just say&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET v = '$(PathQVD)\$(FilenameQVD)';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 09:15:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/619871#M680345</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-04-25T09:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/619872#M680346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Massimo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i don't want only check qvd files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the pb i don't understand is why LOAD works with my variable '$(PathQVD)\$(FilenameQVD) and WHY &lt;/P&gt;&lt;P&gt;LET v= '$(PathQVD)\$(FilenameQVD)&amp;nbsp; returns null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 12:13:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/619872#M680346</guid>
      <dc:creator />
      <dc:date>2014-04-25T12:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/619873#M680347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No because path and file are correct&lt;/P&gt;&lt;P&gt;doesn't mean a file exists&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 12:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/619873#M680347</guid>
      <dc:creator />
      <dc:date>2014-04-25T12:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/619874#M680348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i found why&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FileName is the problem. Returns always NULL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FielSize returns a value if file exists and null if doesn't&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnak you everybody for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 12:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/619874#M680348</guid>
      <dc:creator />
      <dc:date>2014-04-25T12:18:32Z</dc:date>
    </item>
  </channel>
</rss>

