<?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: Load tables from different Excel sheets with different sheet names? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-tables-from-different-Excel-sheets-with-different-sheet/m-p/615636#M682899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Dont&amp;nbsp; know how to respond&amp;nbsp; to you&amp;nbsp; using my user name. U helped me with this expression a Month ago and it wroked fine&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Occurence No]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'=sum(NET_INDEMNITY_PAID)&amp;gt;0 and sum(NET_INDEMNITY_PAID)&amp;lt;1000000 and Year=Max(CloseAdmin_Year)'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Line of Business]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'HCS','PSL'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Occurence No]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;But ir doesnt work for Max(Year)-1. Any Suggestion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; Please reply to (Ray HDKJSH) with any suggestions how can I make it work for Previous Year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Feb 2014 02:36:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-23T02:36:27Z</dc:date>
    <item>
      <title>Load tables from different Excel sheets with different sheet names?</title>
      <link>https://community.qlik.com/t5/QlikView/Load-tables-from-different-Excel-sheets-with-different-sheet/m-p/615634#M682897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Here is the problem I am facing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to load multiple excel files from the same folder. So I am using the " *.xlsx " function in my script - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SALES:&lt;/P&gt;&lt;P&gt;LOAD [Sales Order number], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Excise Invoice No], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Excise Date], &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Quantity Delivered], &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Gross Sales Amount], &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, header is 1 lines, table is [Sales Drytech 2013-2014]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the table name (ie the sheet name) of all the excel files is different. &lt;/P&gt;&lt;P&gt;So, i have to manually change the sheet in each of the excel files individually. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Note: The sheet name is automatically named as name of the Excel file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is there any way where the different table name doesnt need to be changed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 06:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-tables-from-different-Excel-sheets-with-different-sheet/m-p/615634#M682897</guid>
      <dc:creator />
      <dc:date>2014-02-21T06:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Load tables from different Excel sheets with different sheet names?</title>
      <link>https://community.qlik.com/t5/QlikView/Load-tables-from-different-Excel-sheets-with-different-sheet/m-p/615635#M682898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this discussion: &lt;A href="https://community.qlik.com/message/223618"&gt;Loading from multiple Excel files and multiple sheets&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 06:55:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-tables-from-different-Excel-sheets-with-different-sheet/m-p/615635#M682898</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-02-21T06:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Load tables from different Excel sheets with different sheet names?</title>
      <link>https://community.qlik.com/t5/QlikView/Load-tables-from-different-Excel-sheets-with-different-sheet/m-p/615636#M682899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Dont&amp;nbsp; know how to respond&amp;nbsp; to you&amp;nbsp; using my user name. U helped me with this expression a Month ago and it wroked fine&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Occurence No]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'=sum(NET_INDEMNITY_PAID)&amp;gt;0 and sum(NET_INDEMNITY_PAID)&amp;lt;1000000 and Year=Max(CloseAdmin_Year)'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Line of Business]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'HCS','PSL'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Occurence No]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;But ir doesnt work for Max(Year)-1. Any Suggestion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; Please reply to (Ray HDKJSH) with any suggestions how can I make it work for Previous Year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Feb 2014 02:36:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-tables-from-different-Excel-sheets-with-different-sheet/m-p/615636#M682899</guid>
      <dc:creator />
      <dc:date>2014-02-23T02:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Load tables from different Excel sheets with different sheet names?</title>
      <link>https://community.qlik.com/t5/QlikView/Load-tables-from-different-Excel-sheets-with-different-sheet/m-p/615637#M682900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; use this in Edit Script , you may get the solution&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;For i = 0 To NoOfRow('Sheets')&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let zSheet = Peek('TABLE_NAME, i, 'Sheets');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... do something with the file and sheet name, eg&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD ....&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From [$(vFile)]&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (ooxml, no labels, table is [$(zSheet)]);&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Feb 2014 03:45:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-tables-from-different-Excel-sheets-with-different-sheet/m-p/615637#M682900</guid>
      <dc:creator />
      <dc:date>2014-02-23T03:45:51Z</dc:date>
    </item>
  </channel>
</rss>

