<?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: Multiple data tables on one Excel Sheet in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-data-tables-on-one-Excel-Sheet/m-p/1555775#M598193</link>
    <description>&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Sales:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;RecNo() as RecId,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;if(len(trim(A))=0, peek('Department'), SubField(A,':',2) &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;) as Department, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;B as Code, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C as Description, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;D as [QTY Sold], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;E as [Sold Cost] &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FROM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Example.xlsx&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;(ooxml, no labels, table is Data);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Inner Join(Sales)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD * &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Resident Sales&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Where isNum(Code)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Hopefully you get the idea and can fill out the remaining columns F, G, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2019 06:50:43 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2019-03-13T06:50:43Z</dc:date>
    <item>
      <title>Multiple data tables on one Excel Sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-data-tables-on-one-Excel-Sheet/m-p/1555542#M598191</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Really need your help with the following:&lt;/P&gt;&lt;P&gt;I have an Excel sheet that contains multiple tables per division. The tables for&amp;nbsp;each division vary in size in terms of the number of rows. The columns are however consistent throughout.&lt;/P&gt;&lt;P&gt;In column A, a division's name appears followed by the column headings starting in column B in the next row. I need to write a script to consolidate the data from all tables (divisions) without having to manually manipulate the Excel file.&lt;/P&gt;&lt;P&gt;I am totally stumped and would appreciate any help I can find. I've attached an example of the file with dummy data.&lt;/P&gt;&lt;P&gt;Hope you can help me.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Niel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 16:18:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-data-tables-on-one-Excel-Sheet/m-p/1555542#M598191</guid>
      <dc:creator>NielBerg</dc:creator>
      <dc:date>2019-03-12T16:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple data tables on one Excel Sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-data-tables-on-one-Excel-Sheet/m-p/1555765#M598192</link>
      <description>&lt;P&gt;You mean&lt;/P&gt;&lt;PRE&gt;Label:
First 1 LOAD A
FROM
Example.xlsx
(ooxml, no labels, table is Data);

LET vDepartment = Replace(FieldValue('A',1),'Department:','');

Data:
LOAD '$(vDepartment)' as Department,
     Code, 
     Description, 
     [QTY Sold], 
     [Sold Cost], 
     [Sales Incl VAT], 
     [Sales Excl VAT], 
     Profit, 
     GP%, 
     [Theoretical GP%], 
     [%T/O]
FROM
Example.xlsx
(ooxml, embedded labels, table is Data, filters(
Remove(Row, Pos(Top, 1)),
Remove(Col, Pos(Top, 1))
));&lt;/PRE&gt;&lt;P&gt;this&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 06:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-data-tables-on-one-Excel-Sheet/m-p/1555765#M598192</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2019-03-13T06:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple data tables on one Excel Sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-data-tables-on-one-Excel-Sheet/m-p/1555775#M598193</link>
      <description>&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Sales:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;RecNo() as RecId,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;if(len(trim(A))=0, peek('Department'), SubField(A,':',2) &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;) as Department, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;B as Code, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C as Description, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;D as [QTY Sold], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;E as [Sold Cost] &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FROM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Example.xlsx&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;(ooxml, no labels, table is Data);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Inner Join(Sales)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD * &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Resident Sales&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Where isNum(Code)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Hopefully you get the idea and can fill out the remaining columns F, G, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 06:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-data-tables-on-one-Excel-Sheet/m-p/1555775#M598193</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-03-13T06:50:43Z</dc:date>
    </item>
  </channel>
</rss>

