<?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: It's is possible to read an excel ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/It-s-is-possible-to-read-an-excel/m-p/902634#M313936</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't really understand how to use what you come to say, but I did this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME:&lt;/P&gt;&lt;P&gt;LOAD A as name&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;(ooxml, no labels, table is Feuil1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR Each name in FileList('name.xlsx')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ODBC CONNECT32 TO [Excel Files;DBQ=C:\Users\Kenny.Hua\Documents\name.xlsx];&lt;/P&gt;&lt;P&gt;&amp;nbsp; SQLCOLUMNS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD *&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="ftp://AAA:VVV@11.111.11.111/DV/$(name" rel="nofollow"&gt;ftp://AAA:VVV@11.111.11.111/DV/$(name&lt;/A&gt;&lt;SPAN&gt;)]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; (txt, codepage is 1252, embedded labels, delimiter is ';', no quotes, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Apr 2015 15:07:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-13T15:07:15Z</dc:date>
    <item>
      <title>It's is possible to read an excel ?</title>
      <link>https://community.qlik.com/t5/QlikView/It-s-is-possible-to-read-an-excel/m-p/902630#M313932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is: It's is possible to read an excel ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an excel with one column with somes names and I want to make a loop and use this like a variable.&lt;/P&gt;&lt;P&gt;Each loop, my excel have to matches with a list from my FTP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="excel to.png" class="jive-image image-1" src="/legacyfs/online/83555_excel to.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FOR EACH name IN file&lt;SPAN style="color: #ff0000;"&gt;('name.xlsx')&lt;/SPAN&gt;&amp;nbsp; &lt;/STRONG&gt;&amp;lt;-&lt;SPAN style="color: #3366ff;"&gt; This excel is in local on my computer&lt;/SPAN&gt; - It's just an example, I want to know if a function allow to read an excel exists&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="ftp://AAA:VVV@11.111.11.111/DV/" rel="nofollow"&gt;ftp://AAA:VVV@11.111.11.111/DV/&lt;/A&gt;&lt;SPAN style="color: #ff0000;"&gt;$(name)&lt;/SPAN&gt;]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (txt, codepage is 1252, embedded labels, delimiter is ';', no quotes, table is Sheet1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STORE name INTO &lt;SPAN style="color: #ff0000;"&gt;$(name)&lt;/SPAN&gt;.qvd(qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NEXT &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 13:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/It-s-is-possible-to-read-an-excel/m-p/902630#M313932</guid>
      <dc:creator />
      <dc:date>2015-04-13T13:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: It's is possible to read an excel ?</title>
      <link>https://community.qlik.com/t5/QlikView/It-s-is-possible-to-read-an-excel/m-p/902631#M313933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes this is possible. It would be require two steps - at first load the name.xlsx and then loop through the field-values. But in your case it's easier to use Filelist to loop through your folder. Have a look within the help - there is a good example for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 14:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/It-s-is-possible-to-read-an-excel/m-p/902631#M313933</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-04-13T14:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: It's is possible to read an excel ?</title>
      <link>https://community.qlik.com/t5/QlikView/It-s-is-possible-to-read-an-excel/m-p/902632#M313934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can do.&lt;/P&gt;&lt;P&gt;Define Excel as an ODBC connect.&lt;/P&gt;&lt;P&gt;Then you can read the columns from your table by a standard syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT32 TO [Excel Files;DBQ=C:\Exclefile.xlsx];&lt;/P&gt;&lt;P&gt;SQLCOLUMNS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then look to the field column_name, all fields from your excel-sheet are listed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 14:38:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/It-s-is-possible-to-read-an-excel/m-p/902632#M313934</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2015-04-13T14:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: It's is possible to read an excel ?</title>
      <link>https://community.qlik.com/t5/QlikView/It-s-is-possible-to-read-an-excel/m-p/902633#M313935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thanks for your help!&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I tried with a FileList, but when I run the script nothing appear as my QV doesn't read my whole script.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;You said Fieldvalues you mean:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;For each name in FieldValues('NAME') &amp;lt;- My first load name.xlxs&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P&gt;NAME:&lt;/P&gt;&lt;P&gt;LOAD A as name&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;(ooxml, no labels, table is Feuil1);&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 14:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/It-s-is-possible-to-read-an-excel/m-p/902633#M313935</guid>
      <dc:creator />
      <dc:date>2015-04-13T14:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: It's is possible to read an excel ?</title>
      <link>https://community.qlik.com/t5/QlikView/It-s-is-possible-to-read-an-excel/m-p/902634#M313936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't really understand how to use what you come to say, but I did this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME:&lt;/P&gt;&lt;P&gt;LOAD A as name&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;(ooxml, no labels, table is Feuil1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR Each name in FileList('name.xlsx')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ODBC CONNECT32 TO [Excel Files;DBQ=C:\Users\Kenny.Hua\Documents\name.xlsx];&lt;/P&gt;&lt;P&gt;&amp;nbsp; SQLCOLUMNS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD *&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="ftp://AAA:VVV@11.111.11.111/DV/$(name" rel="nofollow"&gt;ftp://AAA:VVV@11.111.11.111/DV/$(name&lt;/A&gt;&lt;SPAN&gt;)]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; (txt, codepage is 1252, embedded labels, delimiter is ';', no quotes, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 15:07:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/It-s-is-possible-to-read-an-excel/m-p/902634#M313936</guid>
      <dc:creator />
      <dc:date>2015-04-13T15:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: It's is possible to read an excel ?</title>
      <link>https://community.qlik.com/t5/QlikView/It-s-is-possible-to-read-an-excel/m-p/902635#M313937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you used Filelist from above mentioned help-example you didn't need your Name.xlsx. To load your files in a two step logic you need a normal for-loop:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME:&lt;/P&gt;&lt;P&gt;LOAD A as name FROM &lt;C&gt; (ooxml, no labels, table is Feuil1);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i = 1 to fieldvaluecount('name')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vName = fieldvalue('name', $(i));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YourTable:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD * FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="ftp://AAA:VVV@11.111.11.111/DV/$(vName" rel="nofollow"&gt;ftp://AAA:VVV@11.111.11.111/DV/$(vName&lt;/A&gt;&lt;SPAN&gt;)]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (txt, codepage is 1252, embedded labels, delimiter is ';', no quotes, table is Sheet1);&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 15:29:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/It-s-is-possible-to-read-an-excel/m-p/902635#M313937</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-04-13T15:29:58Z</dc:date>
    </item>
  </channel>
</rss>

