<?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: Finding differences between fields from 2 tables with the same key field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Finding-differences-between-fields-from-2-tables-with-the-same/m-p/1021242#M937458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I usually load both sets into the same table with a 'Source' field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Data:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD ColA, ColB, ColC, ColD, Data1, Data2,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; 'Table1' As Source;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SQL SELECT * FROM Table1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Concatenate(Data)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD ColA, ColB, ColC, ColD, Data1, Data2,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; 'Table2' As Source;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SQL SELECT * FROM Table2;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now create a table with ColA, ColB, ColC, ColD as dimensions, and for the expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; =Sum({&amp;lt;Source={'Table1'}&amp;gt;} Data1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; =Sum({&amp;lt;Source={'Table1'}&amp;gt;} Data2)&lt;/P&gt;&lt;P&gt;&amp;nbsp; =Sum({&amp;lt;Source={'Table2'}&amp;gt;} Data1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; =Sum({&amp;lt;Source={'Table2'}&amp;gt;} Data2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and/or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; =Sum({&amp;lt;Source={'Table1'}&amp;gt;} Data1) - Sum({&amp;lt;Source={'Table2'}&amp;gt;} Data1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; =Sum({&amp;lt;Source={'Table1'}&amp;gt;} Data2) - Sum({&amp;lt;Source={'Table2'}&amp;gt;} Data2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This technique performs well for large data comparisons with several million rows in each table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Feb 2016 12:12:58 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2016-02-12T12:12:58Z</dc:date>
    <item>
      <title>Finding differences between fields from 2 tables with the same key field</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-differences-between-fields-from-2-tables-with-the-same/m-p/1021238#M937454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you check for matches on fields with a common key, this following statements takes to long&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;SPAN style="color: #993300;"&gt;[Key1]=[Key2]&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[A1]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[B1]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[A2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[B2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'Match','No Match')='No Match','No Match'&lt;BR /&gt; ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;My problems started when I wanted to change Key Syn field to Key 1, this would make a key across 2 fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;inner&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;join&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (Table2)&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[ID1]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Key Syn]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Key1]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RESIDENT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Concate_Open_And_Others_S2;&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;So I thought this expression would work:&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;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[A1]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[B1]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[A2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[B2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'Match','No Match')='No Match','No Match'&lt;BR /&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 B1 and B2 brought in more information, I have checked and I only have 1 unique row per Key.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Have I made a mistake in this line:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Key Syn]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Key1]&lt;/SPAN&gt; in the inner join; this is where I make the key field on table 2 to make my matching formula to work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;In other words I have not got the correct logic to make a key on 2 tables and check the differences in other fields, there are 2 files in this instance that I run through a load script, I do the same process on both, its just one file is older than the other and I am looking for changes in 2 fields, so I use a key field to 'Join' the tables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Whats wrong with my logic?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 11:27:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-differences-between-fields-from-2-tables-with-the-same/m-p/1021238#M937454</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2016-02-12T11:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Finding differences between fields from 2 tables with the same key field</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-differences-between-fields-from-2-tables-with-the-same/m-p/1021239#M937455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me understand the purpose of this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mean that you have two files one is Old and one is New, both with identical fields. And you want to create a new table where you combine the values from both the tables and remove duplicate values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 11:31:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-differences-between-fields-from-2-tables-with-the-same/m-p/1021239#M937455</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-02-12T11:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Finding differences between fields from 2 tables with the same key field</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-differences-between-fields-from-2-tables-with-the-same/m-p/1021240#M937456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No its just checking 2 tables for changes historically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I make a key from Table A&lt;/P&gt;&lt;P&gt;Col A,Col B,Col C,Col D = Table A Key1&lt;/P&gt;&lt;P&gt;and want to check 2 fields in this table.&lt;/P&gt;&lt;P&gt;Data 1 and Data 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Against an earlier version of the table.&lt;/P&gt;&lt;P&gt;Col A,Col B,Col C,Col D = Table B Key1 &lt;/P&gt;&lt;P&gt;and want to check against 2 fields in this table.&lt;/P&gt;&lt;P&gt;'Data 1 source 2' and 'Data 2 source 2'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 12:03:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-differences-between-fields-from-2-tables-with-the-same/m-p/1021240#M937456</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2016-02-12T12:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Finding differences between fields from 2 tables with the same key field</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-differences-between-fields-from-2-tables-with-the-same/m-p/1021241#M937457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Neil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case what you have done is right, but you must also change the filed name. Say for example you script should be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XXX:&lt;/P&gt;&lt;P&gt;Load Key, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2&lt;/P&gt;&lt;P&gt;From ABC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1 as Check1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2 as Check2&lt;/P&gt;&lt;P&gt;From&lt;/P&gt;&lt;P&gt;XYZ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZZZ:&lt;/P&gt;&lt;P&gt;Load Key, if(Field1 = Check1, 'Matched','Not Matched') Field1_Validation,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;if(Field2 = Check2, 'Matched','Not Matched') Field2_Validation&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Resident XXX;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table XXX;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 12:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-differences-between-fields-from-2-tables-with-the-same/m-p/1021241#M937457</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-02-12T12:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Finding differences between fields from 2 tables with the same key field</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-differences-between-fields-from-2-tables-with-the-same/m-p/1021242#M937458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I usually load both sets into the same table with a 'Source' field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Data:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD ColA, ColB, ColC, ColD, Data1, Data2,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; 'Table1' As Source;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SQL SELECT * FROM Table1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Concatenate(Data)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD ColA, ColB, ColC, ColD, Data1, Data2,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; 'Table2' As Source;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SQL SELECT * FROM Table2;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now create a table with ColA, ColB, ColC, ColD as dimensions, and for the expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; =Sum({&amp;lt;Source={'Table1'}&amp;gt;} Data1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; =Sum({&amp;lt;Source={'Table1'}&amp;gt;} Data2)&lt;/P&gt;&lt;P&gt;&amp;nbsp; =Sum({&amp;lt;Source={'Table2'}&amp;gt;} Data1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; =Sum({&amp;lt;Source={'Table2'}&amp;gt;} Data2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and/or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; =Sum({&amp;lt;Source={'Table1'}&amp;gt;} Data1) - Sum({&amp;lt;Source={'Table2'}&amp;gt;} Data1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; =Sum({&amp;lt;Source={'Table1'}&amp;gt;} Data2) - Sum({&amp;lt;Source={'Table2'}&amp;gt;} Data2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This technique performs well for large data comparisons with several million rows in each table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 12:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-differences-between-fields-from-2-tables-with-the-same/m-p/1021242#M937458</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-02-12T12:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Finding differences between fields from 2 tables with the same key field</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-differences-between-fields-from-2-tables-with-the-same/m-p/1021243#M937459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data1 and Data2 are 'low' 'medium' ' high'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am checking changes in strings on unique Keys, thats if the key appears in the new source data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 12:23:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-differences-between-fields-from-2-tables-with-the-same/m-p/1021243#M937459</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2016-02-12T12:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Finding differences between fields from 2 tables with the same key field</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-differences-between-fields-from-2-tables-with-the-same/m-p/1021244#M937460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well if they are unique for the dimensions ColA- ColD, use Only(), or use Concat () if they are not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;Only({&amp;lt;Source={'Table1'}&amp;gt;} Data1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;or&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Concat({&amp;lt;Source={'Table1'}&amp;gt;} DISTINCT Data1, ',')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count({&amp;lt;Source={'Table1'}&amp;gt;} Data1)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 12:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-differences-between-fields-from-2-tables-with-the-same/m-p/1021244#M937460</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-02-12T12:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Finding differences between fields from 2 tables with the same key field</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-differences-between-fields-from-2-tables-with-the-same/m-p/1021245#M937461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so if I want to find the diffences I would write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; line-height: 1.5em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(Only({&amp;lt;Source={'Table1'}&amp;gt;} Data1)&lt;/SPAN&gt;&amp;amp;&lt;SPAN style="color: #3d3d3d; line-height: 1.5em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Only({&amp;lt;Source={'Table1'}&amp;gt;} Data2) &amp;lt;&amp;gt; &lt;SPAN style="color: #3d3d3d; line-height: 1.5em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Only({&amp;lt;Source={'Table2'}&amp;gt;} Data1)&lt;/SPAN&gt;&amp;amp;&lt;SPAN style="color: #3d3d3d; line-height: 1.5em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Only({&amp;lt;Source={'Table2'}&amp;gt;} Data2) ,'No Match')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Is that it? I am still trying to understand&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 13:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-differences-between-fields-from-2-tables-with-the-same/m-p/1021245#M937461</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2016-02-12T13:27:31Z</dc:date>
    </item>
  </channel>
</rss>

