<?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: Loading  excel: multiple tables in one sheet + data cleaning in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Loading-excel-multiple-tables-in-one-sheet-data-cleaning/m-p/1917179#M75462</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use RecNo() in where clause after Load statement to select the rows you need. Please find the attached qvw file.&lt;/P&gt;
&lt;P&gt;LOAD ID, &lt;BR /&gt;[Charge Object], &lt;BR /&gt;Date, &lt;BR /&gt;[Expiration date], &lt;BR /&gt;Budget, &lt;BR /&gt;Title, &lt;BR /&gt;Balance, &lt;BR /&gt;Total&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\admin\Downloads\Sample.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1)&lt;BR /&gt;WHERE RecNo() &amp;gt; 0 AND RecNo() &amp;lt; 6;;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2022 04:48:26 GMT</pubDate>
    <dc:creator>Shalom</dc:creator>
    <dc:date>2022-04-12T04:48:26Z</dc:date>
    <item>
      <title>Loading  excel: multiple tables in one sheet + data cleaning</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-excel-multiple-tables-in-one-sheet-data-cleaning/m-p/1914204#M75334</link>
      <description>&lt;P&gt;The excel sheet has two major tables that separated after "Expired Budget"&lt;/P&gt;
&lt;P&gt;How can I create two tables from the original page with adding 'Total' and 'Expiration' columns to the new tables?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76215i034E5FB4C6FAAA80/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Is it possible to separate tables&amp;nbsp; and clean the data at&amp;nbsp; Load editor? Then can you help me on script?&lt;/P&gt;
&lt;P&gt;Or only possible at Data manager? If so,&amp;nbsp; how can I do it?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 23:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-excel-multiple-tables-in-one-sheet-data-cleaning/m-p/1914204#M75334</guid>
      <dc:creator>nezuko_kamado</dc:creator>
      <dc:date>2022-04-04T23:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Loading  excel: multiple tables in one sheet + data cleaning</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-excel-multiple-tables-in-one-sheet-data-cleaning/m-p/1917179#M75462</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use RecNo() in where clause after Load statement to select the rows you need. Please find the attached qvw file.&lt;/P&gt;
&lt;P&gt;LOAD ID, &lt;BR /&gt;[Charge Object], &lt;BR /&gt;Date, &lt;BR /&gt;[Expiration date], &lt;BR /&gt;Budget, &lt;BR /&gt;Title, &lt;BR /&gt;Balance, &lt;BR /&gt;Total&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\admin\Downloads\Sample.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1)&lt;BR /&gt;WHERE RecNo() &amp;gt; 0 AND RecNo() &amp;lt; 6;;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 04:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-excel-multiple-tables-in-one-sheet-data-cleaning/m-p/1917179#M75462</guid>
      <dc:creator>Shalom</dc:creator>
      <dc:date>2022-04-12T04:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Loading  excel: multiple tables in one sheet + data cleaning</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-excel-multiple-tables-in-one-sheet-data-cleaning/m-p/1917412#M75480</link>
      <description>&lt;P&gt;Hi Nezuko,&lt;/P&gt;
&lt;P&gt;As suggested by Shalom, you can use RecNo() function to load the data as individual tables.&lt;/P&gt;
&lt;P&gt;please use the below script.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1st Table:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Budget:&lt;/P&gt;
&lt;P&gt;Load *&lt;BR /&gt;where not WildMatch(ID, '*Total');&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;If(IsNull(ID), Peek(ID,-1), ID) as ID,&lt;BR /&gt;"Charge Object",&lt;BR /&gt;"Date",&lt;BR /&gt;"Expiration date",&lt;BR /&gt;Budget,&lt;BR /&gt;Title,&lt;BR /&gt;Balance&lt;BR /&gt;&lt;BR /&gt;FROM [lib://DataFiles/Sample.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;
&lt;P&gt;Where RecNo() &amp;lt;= 7&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Left Join (Budget)&lt;/P&gt;
&lt;P&gt;Load ID,&lt;BR /&gt;Sum(Balance) as Total&lt;BR /&gt;Resident Budget&lt;BR /&gt;Group BY ID;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2nd Table:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;ExpiredBudget:&lt;/P&gt;
&lt;P&gt;Load *&lt;BR /&gt;where not WildMatch(ID, '*Total');&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;If(IsNull(ID), Peek(ID,-1), ID) as ID,&lt;BR /&gt;// ID,&lt;BR /&gt;"Charge Object",&lt;BR /&gt;"Date",&lt;BR /&gt;"Expiration date",&lt;BR /&gt;Budget,&lt;BR /&gt;Title,&lt;BR /&gt;Balance&lt;BR /&gt;&lt;BR /&gt;FROM [lib://DataFiles/Sample.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;
&lt;P&gt;Where RecNo() &amp;gt;= 11&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Left Join (ExpiredBudget)&lt;/P&gt;
&lt;P&gt;Load ID,&lt;BR /&gt;Sum(Balance) as Total&lt;BR /&gt;Resident ExpiredBudget&lt;BR /&gt;Group BY ID;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 11:28:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-excel-multiple-tables-in-one-sheet-data-cleaning/m-p/1917412#M75480</guid>
      <dc:creator>ramchalla</dc:creator>
      <dc:date>2022-04-12T11:28:49Z</dc:date>
    </item>
  </channel>
</rss>

