<?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 Checking two tables for identical fields. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Checking-two-tables-for-identical-fields/m-p/1607804#M444858</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For example, I have two tabels, and they have field names like this.&lt;/P&gt;&lt;P&gt;Table1 : JournalNumber/Amount/PostingDate&lt;/P&gt;&lt;P&gt;Table2 : JournalNumber/JournalType/Date1/Date2&lt;/P&gt;&lt;P&gt;'PostingDate' and 'Date1' seems to be identical fields &lt;U&gt;only with different names.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I want to check whether they are 'really' Identical, and if they are, I want to get rid of one of the fields.&lt;/P&gt;&lt;P&gt;&lt;U&gt;Is there any efficient way to check whether they are identical?&lt;/U&gt;&lt;/P&gt;&lt;P&gt;It's quite urgent and would really appreciate your help. Thanks a lot.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 20:20:51 GMT</pubDate>
    <dc:creator>na4raitda</dc:creator>
    <dc:date>2024-11-16T20:20:51Z</dc:date>
    <item>
      <title>Checking two tables for identical fields.</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-two-tables-for-identical-fields/m-p/1607804#M444858</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For example, I have two tabels, and they have field names like this.&lt;/P&gt;&lt;P&gt;Table1 : JournalNumber/Amount/PostingDate&lt;/P&gt;&lt;P&gt;Table2 : JournalNumber/JournalType/Date1/Date2&lt;/P&gt;&lt;P&gt;'PostingDate' and 'Date1' seems to be identical fields &lt;U&gt;only with different names.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I want to check whether they are 'really' Identical, and if they are, I want to get rid of one of the fields.&lt;/P&gt;&lt;P&gt;&lt;U&gt;Is there any efficient way to check whether they are identical?&lt;/U&gt;&lt;/P&gt;&lt;P&gt;It's quite urgent and would really appreciate your help. Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-two-tables-for-identical-fields/m-p/1607804#M444858</guid>
      <dc:creator>na4raitda</dc:creator>
      <dc:date>2024-11-16T20:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Checking two tables for identical fields.</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-two-tables-for-identical-fields/m-p/1607817#M444861</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Im not sure, without looking at yout table contents, but if&amp;nbsp;&lt;SPAN&gt;JournalNumber is Unique key for both tables you can check it this way:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Load tables as is.&lt;/P&gt;&lt;P&gt;Create table with Dims:&amp;nbsp;&lt;SPAN&gt;JournalNumber,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'PostingDate' and 'Date1'&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Add measure:&amp;nbsp;=PostingDate=Date1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Check table record count in status bar and totals by measure&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;OR another way, create text object with:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Count({&amp;lt;JournalNumber={"=PostingDate=Date1"}&amp;gt;}JournalNumber)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and compare with&amp;nbsp;=Count(JournalNumber)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 05:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-two-tables-for-identical-fields/m-p/1607817#M444861</guid>
      <dc:creator>Zhandos_Shotan</dc:creator>
      <dc:date>2019-07-31T05:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Checking two tables for identical fields.</title>
      <link>https://community.qlik.com/t5/QlikView/Checking-two-tables-for-identical-fields/m-p/1615487#M445397</link>
      <description>&lt;P&gt;You would likely need to use the RowNo() or RecNo() functions in the load to be sure every row is actually unique in that regard, then it should be as simple as just using some List Box objects on those fields along with the resulting Row or Rec No field to see for sure if you have true dups or not...&amp;nbsp; Do not believe I am oversimplifying, but this should kick things, so if someone else sees a flaw in my logic, they may be able to point that out.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/CounterFunctions/RecNo.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/CounterFunctions/RecNo.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/CounterFunctions/RowNo.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/CounterFunctions/RowNo.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hopefully this at least gives you something else to try if you have not already figured things out here.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 15:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checking-two-tables-for-identical-fields/m-p/1615487#M445397</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-08-22T15:27:16Z</dc:date>
    </item>
  </channel>
</rss>

