<?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: Excel Sheets with Same column names in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excel-Sheets-with-Same-column-names/m-p/942569#M982139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load your data like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Amount,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; 'Sheet1' As Source&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM test.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(Data)&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Amount,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; 'Sheet2' As Source&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM test.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can compare the two sheets. For example, in a straight table with ID and Name as dimensions, use these two expressions to compare the amounts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;Source = {'Sheet1'}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;Source = {'Sheet2'}&amp;gt;} Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;and these two to compare row counts:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Count({&amp;lt;Source = {'Sheet1'}&amp;gt;} Amount)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Count({&amp;lt;Source = {'Sheet2'}&amp;gt;} Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Aug 2015 06:15:29 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2015-08-18T06:15:29Z</dc:date>
    <item>
      <title>Excel Sheets with Same column names</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-Sheets-with-Same-column-names/m-p/942568#M982138</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'm new to QlikView and I've got a problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to import data from Excel file. The file has 2 different sheets with exact same column names.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;All column names are same in both sheets. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questions : &lt;/P&gt;&lt;P&gt;How can I load two sheets in "Edit Script"? (I know file name and names of sheets)&lt;/P&gt;&lt;P&gt;How can I read different data from columns with same names? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to compare these two sheets' data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please any suggestions? Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 06:03:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-Sheets-with-Same-column-names/m-p/942568#M982138</guid>
      <dc:creator />
      <dc:date>2015-08-18T06:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Sheets with Same column names</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-Sheets-with-Same-column-names/m-p/942569#M982139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load your data like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Amount,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; 'Sheet1' As Source&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM test.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(Data)&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Amount,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; 'Sheet2' As Source&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM test.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can compare the two sheets. For example, in a straight table with ID and Name as dimensions, use these two expressions to compare the amounts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;Source = {'Sheet1'}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;Source = {'Sheet2'}&amp;gt;} Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;and these two to compare row counts:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Count({&amp;lt;Source = {'Sheet1'}&amp;gt;} Amount)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Count({&amp;lt;Source = {'Sheet2'}&amp;gt;} Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 06:15:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-Sheets-with-Same-column-names/m-p/942569#M982139</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-18T06:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Sheets with Same column names</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-Sheets-with-Same-column-names/m-p/942570#M982140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. It works like a charm. I really appreciate for your reply. Thanks again. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 07:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-Sheets-with-Same-column-names/m-p/942570#M982140</guid>
      <dc:creator />
      <dc:date>2015-08-18T07:05:50Z</dc:date>
    </item>
  </channel>
</rss>

