<?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: Qliview - Query - Consolidation of binary files in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qliview-Query-Consolidation-of-binary-files/m-p/1813360#M66407</link>
    <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;I did not get any reply.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jun 2021 11:23:06 GMT</pubDate>
    <dc:creator>leoamul_raj</dc:creator>
    <dc:date>2021-06-07T11:23:06Z</dc:date>
    <item>
      <title>Qliview - Query - Consolidation of binary files</title>
      <link>https://community.qlik.com/t5/App-Development/Qliview-Query-Consolidation-of-binary-files/m-p/1811603#M66177</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please let me know why i am unable to get the output.&lt;/P&gt;&lt;P&gt;I need to check&amp;nbsp; values when the loop i and j runs but the code runs successfully without any output.&lt;/P&gt;&lt;P&gt;table 'Filedata' is not created.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt; i =0;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt; j=0;&lt;BR /&gt;&lt;BR /&gt;Uname:&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt; Unit_Name&lt;BR /&gt;FROM&lt;BR /&gt;[E:\Binary_Test\Unit.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;//Loop Through Files in FOlder&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;FOR&lt;/STRONG&gt; EACH file in FileList('E:\Binary_Test\*.xlsb');&lt;BR /&gt;&lt;BR /&gt;ODBC &lt;STRONG&gt;CONNECT64&lt;/STRONG&gt; TO [Excel Files;DBQ=$(file)];&lt;BR /&gt;&lt;BR /&gt;xlsbtables:&lt;BR /&gt;&lt;STRONG&gt;SQLtables&lt;/STRONG&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;DISCONNECT&lt;/STRONG&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;FOR&lt;/STRONG&gt; i = 0 to NoOfRows('xlsbtables')-1&lt;BR /&gt;&lt;STRONG&gt;FOR&lt;/STRONG&gt; j = 0 to NoOfRows('Uname')-1&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filedata:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Load&lt;/STRONG&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PURGECHAR(PURGECHAR(PEEK('TABLE_NAME', i, 'xlsbtables'), CHR(39)), CHR(36)) as sname,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PEEK('Unit_Name', j, 'Uname') as uname&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;BR /&gt;&lt;STRONG&gt;NEXT&lt;/STRONG&gt; j;&lt;BR /&gt;&lt;STRONG&gt;NEXT&lt;/STRONG&gt; i;&lt;BR /&gt;&lt;STRONG&gt;Next&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 May 2021 12:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliview-Query-Consolidation-of-binary-files/m-p/1811603#M66177</guid>
      <dc:creator>leoamul_raj</dc:creator>
      <dc:date>2021-05-30T12:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Qliview - Query - Consolidation of binary files</title>
      <link>https://community.qlik.com/t5/App-Development/Qliview-Query-Consolidation-of-binary-files/m-p/1811607#M66179</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142042"&gt;@leoamul_raj&lt;/a&gt;, your Load statement for Filedata needs an origin of rows to load (like the FROM clause in SQL). From where are you trying to load the sname and uname fields?&lt;/P&gt;&lt;P&gt;In case the two values are constants, you can use the following syntax:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Filedata:
Load     
   PURGECHAR(PURGECHAR(PEEK('TABLE_NAME', i, 'xlsbtables'), CHR(39)), CHR(36)) as sname,
   PEEK('Unit_Name', j, 'Uname') as uname
Autogenerate(1)
;&lt;/LI-CODE&gt;&lt;P&gt;JG&lt;/P&gt;</description>
      <pubDate>Sun, 30 May 2021 12:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliview-Query-Consolidation-of-binary-files/m-p/1811607#M66179</guid>
      <dc:creator>JuanGerardo</dc:creator>
      <dc:date>2021-05-30T12:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Qliview - Query - Consolidation of binary files</title>
      <link>https://community.qlik.com/t5/App-Development/Qliview-Query-Consolidation-of-binary-files/m-p/1811609#M66180</link>
      <description>&lt;P&gt;Thank you for the&amp;nbsp; reply.&lt;/P&gt;&lt;P&gt;I need to consolidate&amp;nbsp; the xlsb files based on the another file.&lt;/P&gt;&lt;P&gt;I have attached the files to consolidate(concatenate)&amp;nbsp; 'alain.xlsb' and 'ajman.xlsb' based on the sheet names in 'unit.xlsx'&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;leo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 May 2021 12:47:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliview-Query-Consolidation-of-binary-files/m-p/1811609#M66180</guid>
      <dc:creator>leoamul_raj</dc:creator>
      <dc:date>2021-05-30T12:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Qliview - Query - Consolidation of binary files</title>
      <link>https://community.qlik.com/t5/App-Development/Qliview-Query-Consolidation-of-binary-files/m-p/1813360#M66407</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;I did not get any reply.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 11:23:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliview-Query-Consolidation-of-binary-files/m-p/1813360#M66407</guid>
      <dc:creator>leoamul_raj</dc:creator>
      <dc:date>2021-06-07T11:23:06Z</dc:date>
    </item>
  </channel>
</rss>

