<?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: compare two files excel in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/compare-two-files-excel/m-p/2008063#M83399</link>
    <description>&lt;P&gt;You need somehow add information on which file a row comes from in your load script. You could use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;filebasename() as SourceFile when loading your excel file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Consider my simplified example. Both "files" contains unique IDs except ID=3 that exists in both source files.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Data:
LOAD *, '10-10-2021.xlsx' as SourceFile inline [
  ID
  1
  2
  3
];

LOAD *, '11-10-2021.xlsx' as SourceFile inline [
  ID
  3
  4
  5
  6
];&lt;/LI-CODE&gt;
&lt;P&gt;The expressions used to calculate your three questions are visible in the image below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Vegar_0-1669197582479.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94403i78B7DB5A115D3316/image-size/large?v=v2&amp;amp;px=999" role="button" title="Vegar_0-1669197582479.png" alt="Vegar_0-1669197582479.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2022 10:03:35 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2022-11-23T10:03:35Z</dc:date>
    <item>
      <title>compare two files excel</title>
      <link>https://community.qlik.com/t5/App-Development/compare-two-files-excel/m-p/2007989#M83394</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;i have folder that contained two excel files .&lt;/P&gt;
&lt;P&gt;first : 10-10-2021.xlsx&amp;nbsp; filed : ID&lt;/P&gt;
&lt;P&gt;second : 11-10-2021.xlsx filed :ID&lt;/P&gt;
&lt;P&gt;-I want to compare number of ID in the first file with the second file.&lt;/P&gt;
&lt;P&gt;-I want to count the number of&amp;nbsp; ID in the second files where not exists in the first file.&lt;/P&gt;
&lt;P&gt;-I want to count the number of ID in the first file and not exists in the second file&lt;/P&gt;
&lt;P&gt;thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 08:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/compare-two-files-excel/m-p/2007989#M83394</guid>
      <dc:creator>Mahdoucch03</dc:creator>
      <dc:date>2022-11-23T08:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: compare two files excel</title>
      <link>https://community.qlik.com/t5/App-Development/compare-two-files-excel/m-p/2008063#M83399</link>
      <description>&lt;P&gt;You need somehow add information on which file a row comes from in your load script. You could use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;filebasename() as SourceFile when loading your excel file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Consider my simplified example. Both "files" contains unique IDs except ID=3 that exists in both source files.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Data:
LOAD *, '10-10-2021.xlsx' as SourceFile inline [
  ID
  1
  2
  3
];

LOAD *, '11-10-2021.xlsx' as SourceFile inline [
  ID
  3
  4
  5
  6
];&lt;/LI-CODE&gt;
&lt;P&gt;The expressions used to calculate your three questions are visible in the image below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Vegar_0-1669197582479.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94403i78B7DB5A115D3316/image-size/large?v=v2&amp;amp;px=999" role="button" title="Vegar_0-1669197582479.png" alt="Vegar_0-1669197582479.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 10:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/compare-two-files-excel/m-p/2008063#M83399</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2022-11-23T10:03:35Z</dc:date>
    </item>
  </channel>
</rss>

