<?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: Using a variable in the From statement in the load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-a-variable-in-the-From-statement-in-the-load/m-p/513074#M191700</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 would do:&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN lang="EN-US" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;‘X:\source\CH_$(vYearMonth)_Report.csv’&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;Fabrice&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jan 2014 11:12:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-15T11:12:02Z</dc:date>
    <item>
      <title>Using a variable in the From statement in the load</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-in-the-From-statement-in-the-load/m-p/513071#M191697</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'm loading a csv file and part of the name of the file depends on a variable, its looks as it doesn't recognize the variable, I have tried the following and doesn't work, (the variable is vYearMonth)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;X&gt; &lt;/X&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;X&gt;&lt;/X&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something that I'm missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 09:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-in-the-From-statement-in-the-load/m-p/513071#M191697</guid>
      <dc:creator />
      <dc:date>2014-01-15T09:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable in the From statement in the load</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-in-the-From-statement-in-the-load/m-p/513072#M191698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ThousandSep='.';&lt;/P&gt;&lt;P&gt;SET DecimalSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyThousandSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyDecimalSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyFormat='€ #.##0,00;-€ #.##0,00';&lt;/P&gt;&lt;P&gt;SET TimeFormat='hh:mm:ss';&lt;/P&gt;&lt;P&gt;SET DateFormat='DD/MM/YYYY';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='DD/MM/YYYY hh:mm:ss[.fff]';&lt;/P&gt;&lt;P&gt;SET MonthNames='gen;feb;mar;apr;mag;giu;lug;ago;set;ott;nov;dic';&lt;/P&gt;&lt;P&gt;SET DayNames='lun;mar;mer;gio;ven;sab;dom';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vYearMonth=201302; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD @1&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[aaa_$(vYearMonth)_bbb.csv]&lt;/P&gt;&lt;P&gt;(txt, unicode, no labels, delimiter is '\t', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vYearMonth=201303;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD [03/01/2014 13:39:22:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution started.]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(txt, unicode, embedded labels, delimiter is '\t', msq);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 11:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-in-the-From-statement-in-the-load/m-p/513072#M191698</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-01-15T11:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable in the From statement in the load</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-in-the-From-statement-in-the-load/m-p/513073#M191699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Insert single quotes around your variable. this may work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;X&gt; &lt;/X&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran Rode&lt;/P&gt;&lt;P&gt;+91 897 6977897&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 11:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-in-the-From-statement-in-the-load/m-p/513073#M191699</guid>
      <dc:creator>kiranmanoharrode</dc:creator>
      <dc:date>2014-01-15T11:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable in the From statement in the load</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-in-the-From-statement-in-the-load/m-p/513074#M191700</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 would do:&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN lang="EN-US" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;‘X:\source\CH_$(vYearMonth)_Report.csv’&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN-US;"&gt;Fabrice&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 11:12:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-in-the-From-statement-in-the-load/m-p/513074#M191700</guid>
      <dc:creator />
      <dc:date>2014-01-15T11:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable in the From statement in the load</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-in-the-From-statement-in-the-load/m-p/513075#M191701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check whether vYearMonth gives the right output? Maybe you have to transform it e.g. with num() to get the right outcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 11:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-in-the-From-statement-in-the-load/m-p/513075#M191701</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2014-01-15T11:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable in the From statement in the load</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-in-the-From-statement-in-the-load/m-p/513076#M191702</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;You are right, I didn't check the error correctly, the variable output was not what I wanted so it didn't find the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 11:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-in-the-From-statement-in-the-load/m-p/513076#M191702</guid>
      <dc:creator />
      <dc:date>2014-01-15T11:51:21Z</dc:date>
    </item>
  </channel>
</rss>

