<?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: var script load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/var-script-load/m-p/1349967#M415072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is important is Francisco got the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Apr 2017 05:09:36 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2017-04-21T05:09:36Z</dc:date>
    <item>
      <title>var script load</title>
      <link>https://community.qlik.com/t5/QlikView/var-script-load/m-p/1349961#M415066</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;&lt;/P&gt;&lt;P&gt;I need help. I have to load an excel file every day, but only current day file. So, i try to use a var in script... but doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM [$(Ruta)] (ooxml, embedded labels, header is 3 lines, table is SN);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Var definition:&lt;/P&gt;&lt;P&gt;'D:\QV\App\data(' &amp;amp; date(today(),'YYYY-MM-DD')&amp;amp; ')*'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please could you help??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="var.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/160653_var.png" style="height: 451px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 12:25:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/var-script-load/m-p/1349961#M415066</guid>
      <dc:creator />
      <dc:date>2017-04-20T12:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: var script load</title>
      <link>https://community.qlik.com/t5/QlikView/var-script-load/m-p/1349962#M415067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi try this way in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vDate = Date(Today(),'YYYY-MM-DD')&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;amp;'.xls'&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * from '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;D:\QV\App\data'&amp;amp;$(vDate)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(ooxml, embedded labels, header is 3 lines, table is SN);&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: 13px;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 12:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/var-script-load/m-p/1349962#M415067</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-04-20T12:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: var script load</title>
      <link>https://community.qlik.com/t5/QlikView/var-script-load/m-p/1349963#M415068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using SET or LET? Try with LET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET Ruta = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'D:\QV\App\data(' &amp;amp; date(today(),'YYYY-MM-DD')&amp;amp; ')*&lt;SPAN style="color: #ff0000;"&gt;.xlsx&lt;/SPAN&gt;'&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROM [$(Ruta)]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;(ooxml, embedded labels, header is 3 lines, table is SN);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 12:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/var-script-load/m-p/1349963#M415068</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-20T12:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: var script load</title>
      <link>https://community.qlik.com/t5/QlikView/var-script-load/m-p/1349964#M415069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 14:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/var-script-load/m-p/1349964#M415069</guid>
      <dc:creator />
      <dc:date>2017-04-20T14:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: var script load</title>
      <link>https://community.qlik.com/t5/QlikView/var-script-load/m-p/1349965#M415070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you want to thank Kaushik? Seems like his solution worked for you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Please mark his response as correct to close the thread down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 14:23:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/var-script-load/m-p/1349965#M415070</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-20T14:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: var script load</title>
      <link>https://community.qlik.com/t5/QlikView/var-script-load/m-p/1349966#M415071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually the LET is optional. A clean variable assignment &lt;SPAN style="font-family: 'courier new', courier;"&gt;a = b;&lt;/SPAN&gt; also expects &lt;SPAN style="font-family: 'courier new', courier;"&gt;b&lt;/SPAN&gt; to be an expression (or a quoted string or whatever).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SET on the other hand isn't optional.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you're probably right. The variable overview shows that &lt;SPAN style="font-family: 'courier new', courier;"&gt;Ruta&lt;/SPAN&gt; contains a stringized expression, not an evaluated expression. So aside from replacing a SET by a LET, IIRC it could also be fixed by doing something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD * FROM [$(&lt;SPAN style="color: #ff6600;"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/SPAN&gt;Ruta)] (options);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 14:31:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/var-script-load/m-p/1349966#M415071</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-04-20T14:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: var script load</title>
      <link>https://community.qlik.com/t5/QlikView/var-script-load/m-p/1349967#M415072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is important is Francisco got the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2017 05:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/var-script-load/m-p/1349967#M415072</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-04-21T05:09:36Z</dc:date>
    </item>
  </channel>
</rss>

