<?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 Load xlsb files from sub folders in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-xlsb-files-from-sub-folders/m-p/289366#M709190</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;I have been task with loading data from an existing file structure into to QV which is causing me a few headaches. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Firstly the files are XLSB files (Excel Binary&amp;nbsp; Files) which means I have to use to ODBC driver to load them. Ths only seems to except single files and the script below doesn't work.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [Property Valutions;DBQ=W:\Property Statistics\Valuers Templates\2011\June 2011\KF\*.xlsb];&lt;/P&gt;&lt;P&gt;LOAD `BL Prop Ref`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Current Valuation`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Equivalent Yield`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Final Reversionary Yield`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Initial Yield`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Landmark Previous Valuation`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Previous Valuation`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Valuation ERV`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Valuers Type`;&lt;/P&gt;&lt;P&gt;SQL SELECT `BL Prop Ref`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Current Valuation`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Equivalent Yield`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Final Reversionary Yield`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Initial Yield`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Landmark Previous Valuation`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Previous Valuation`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Valuation ERV`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Valuers Type`&lt;/P&gt;&lt;P&gt;FROM `W:\Property Statistics\Valuers Templates\2011\June 2011\KF\*.xlsb`.`_FilterDatabase`;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Secondly the second line of each binary file is blank which means QV doesn't load any data. (example attched)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Thirdly I need to be able to load all files from a whole deirectory structure. ie load all files contained in any subfolders. The file structure is as below&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Level 1 - Year (eg 2008,2009,2010, 2011 etc)&lt;/P&gt;&lt;P&gt;Level 2 - Valuation Quater (March 2011, June 2011, Sept 2011)&lt;/P&gt;&lt;P&gt;Level 3&amp;nbsp; - Comany (Comapny 1, compnay 2, Company 3 etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached folder structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿Unfortuneatly I have no control over the file type, structure, or folder structure so need to get QV to load this data in its current format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help would be most appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lawrence Chapman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Sep 2011 12:03:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-26T12:03:17Z</dc:date>
    <item>
      <title>Load xlsb files from sub folders</title>
      <link>https://community.qlik.com/t5/QlikView/Load-xlsb-files-from-sub-folders/m-p/289366#M709190</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;I have been task with loading data from an existing file structure into to QV which is causing me a few headaches. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Firstly the files are XLSB files (Excel Binary&amp;nbsp; Files) which means I have to use to ODBC driver to load them. Ths only seems to except single files and the script below doesn't work.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [Property Valutions;DBQ=W:\Property Statistics\Valuers Templates\2011\June 2011\KF\*.xlsb];&lt;/P&gt;&lt;P&gt;LOAD `BL Prop Ref`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Current Valuation`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Equivalent Yield`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Final Reversionary Yield`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Initial Yield`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Landmark Previous Valuation`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Previous Valuation`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Valuation ERV`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Valuers Type`;&lt;/P&gt;&lt;P&gt;SQL SELECT `BL Prop Ref`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Current Valuation`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Equivalent Yield`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Final Reversionary Yield`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Initial Yield`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Landmark Previous Valuation`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Previous Valuation`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Valuation ERV`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `Valuers Type`&lt;/P&gt;&lt;P&gt;FROM `W:\Property Statistics\Valuers Templates\2011\June 2011\KF\*.xlsb`.`_FilterDatabase`;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Secondly the second line of each binary file is blank which means QV doesn't load any data. (example attched)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Thirdly I need to be able to load all files from a whole deirectory structure. ie load all files contained in any subfolders. The file structure is as below&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Level 1 - Year (eg 2008,2009,2010, 2011 etc)&lt;/P&gt;&lt;P&gt;Level 2 - Valuation Quater (March 2011, June 2011, Sept 2011)&lt;/P&gt;&lt;P&gt;Level 3&amp;nbsp; - Comany (Comapny 1, compnay 2, Company 3 etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached folder structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿Unfortuneatly I have no control over the file type, structure, or folder structure so need to get QV to load this data in its current format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help would be most appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lawrence Chapman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 12:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-xlsb-files-from-sub-folders/m-p/289366#M709190</guid>
      <dc:creator />
      <dc:date>2011-09-26T12:03:17Z</dc:date>
    </item>
  </channel>
</rss>

