<?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: Renaming CSV files using variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037671#M933004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rodrigo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to convert the spaces in %20 -&amp;gt; &lt;A href="http://www.w3schools.com/tags/ref_urlencode.asp"&gt;http://www.w3schools.com/tags/ref_urlencode.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM [LINK/Indicadores%20Talent%20%S%E3o%20Paulo$(i).xlsx] (here I converted ã as well)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the actual link to the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. SET i=; deletes the variable as it is no longer needed. Similar with LET i=Null();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2016 15:06:45 GMT</pubDate>
    <dc:creator>daveamz</dc:creator>
    <dc:date>2016-03-01T15:06:45Z</dc:date>
    <item>
      <title>Renaming CSV files using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037664#M932997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working in a project where the database are CSV files and it is updated year by year.&lt;/P&gt;&lt;P&gt;The CSV name files are described as follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report.xlsx&lt;/P&gt;&lt;P&gt;Report 2014.xlsx&lt;/P&gt;&lt;P&gt;Report 2015.xlsx&lt;/P&gt;&lt;P&gt;Report 2016.xlsx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need QlikView LOAD all the files above and when the 2017 file is included in the folder, it will be automatically loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could easily use * in the name of the file, but i am loading my database from a web repository, so my FROM command is an URL and it is not possible to use * in the file name like that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://la2.collaboration..com/team/20124c20/Documents/Report*.xlsx" rel="nofollow"&gt;http://la2.collaboration..com/team/20124c20/Documents/Report*.xlsx&lt;/A&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case, anyone could help me to solve that using variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 13:35:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037664#M932997</guid>
      <dc:creator />
      <dc:date>2016-02-26T13:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming CSV files using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037665#M932998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;What about something like this?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14565235307029174 jive_text_macro" jivemacro_uid="_14565235307029174" modifiedtitle="true"&gt;
&lt;P&gt;FOR i=2014 TO year(today())&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD *&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM [LINK/Report $(i).xlsx];&lt;/P&gt;
&lt;P&gt;NEXT&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;SET i =;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 21:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037665#M932998</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2016-02-26T21:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming CSV files using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037666#M932999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nicole,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your tip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script was executed with no errors, but it just loaded the spreadsheet from 2014.&lt;/P&gt;&lt;P&gt;I need that files from all years be loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 21:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037666#M932999</guid>
      <dc:creator />
      <dc:date>2016-02-29T21:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming CSV files using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037667#M933000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure you didnt get all the years in? They would be stored in one single table - they would be auto concatenated by QlikView during load since the column names would be similar...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 21:22:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037667#M933000</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-02-29T21:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming CSV files using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037668#M933001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They should all be in there.&amp;nbsp; Are the files definitely named the same except for the year?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 21:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037668#M933001</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2016-02-29T21:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming CSV files using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037669#M933002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have checked the data and unfortunately it was loaded only info from 2014.&lt;/P&gt;&lt;P&gt;The column names are exactly the same in all the spreadsheets, the only difference is in the name of the files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn´t understand what this code is for "SET i =; "&lt;/P&gt;&lt;P&gt;What is intended to be done here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 14:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037669#M933002</guid>
      <dc:creator />
      <dc:date>2016-03-01T14:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming CSV files using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037670#M933003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Nicole, i have checked again, and the File name are the same, except for the year, see the print screen below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capturar.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116455_Capturar.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;PS: I used the name "Report" just as an example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 14:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037670#M933003</guid>
      <dc:creator />
      <dc:date>2016-03-01T14:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming CSV files using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037671#M933004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rodrigo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to convert the spaces in %20 -&amp;gt; &lt;A href="http://www.w3schools.com/tags/ref_urlencode.asp"&gt;http://www.w3schools.com/tags/ref_urlencode.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM [LINK/Indicadores%20Talent%20%S%E3o%20Paulo$(i).xlsx] (here I converted ã as well)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the actual link to the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. SET i=; deletes the variable as it is no longer needed. Similar with LET i=Null();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 15:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037671#M933004</guid>
      <dc:creator>daveamz</dc:creator>
      <dc:date>2016-03-01T15:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming CSV files using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037672#M933005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look in the document log. How many times was the LOAD statement executed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 17:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037672#M933005</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-03-01T17:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming CSV files using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037673#M933006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The spaces are already with %20... I converted ã to %E3 but nothing changed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 17:31:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037673#M933006</guid>
      <dc:creator />
      <dc:date>2016-03-01T17:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming CSV files using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037674#M933007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am trying to LOAD 2 tables from different tabs of the same spreadsheet.&lt;/P&gt;&lt;P&gt;Both LOAD statement was executed only one time.&lt;/P&gt;&lt;P&gt;Take a look the log attached.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 17:35:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037674#M933007</guid>
      <dc:creator />
      <dc:date>2016-03-01T17:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming CSV files using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037675#M933008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rodrigo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like you may have left out the NEXT keyword. Look back at Nicole's example to see that you need a NEXT statement to close the loop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 18:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037675#M933008</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-03-01T18:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming CSV files using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037676#M933009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or to do it bluntly maybe try a wildcard &lt;STRONG style=": ; color: #ff0000; font-size: 12pt;"&gt;*&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="color: black; font-size: 9pt; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD *&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;FROM [LINK/Report&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;*&lt;/SPAN&gt;.xlsx] ;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 18:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037676#M933009</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-01T18:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming CSV files using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037677#M933010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right Bob!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I forgot the NEXT statement!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the note!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 19:04:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Renaming-CSV-files-using-variables/m-p/1037677#M933010</guid>
      <dc:creator />
      <dc:date>2016-03-01T19:04:48Z</dc:date>
    </item>
  </channel>
</rss>

