<?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: How to compare two fields from two different tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-compare-two-fields-from-two-different-tables/m-p/1104282#M899480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While I am posting the issue my system was hanged, mean while my colleague updated the issue.&lt;/P&gt;&lt;P&gt;after my post also updated, Sry for this. and I want solution for the issue asap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2016 08:37:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-07-20T08:37:49Z</dc:date>
    <item>
      <title>How to compare two fields from two different tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-two-fields-from-two-different-tables/m-p/1104280#M899478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;plz resolve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;LOAD "Amount" AS Customer_Amount,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Company Name",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Document Type",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "Posting Date";&lt;/P&gt;&lt;P&gt;SQL SELECT "Amount",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Company Name",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Document Type",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Posting Date",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; FROM TestSqlDatabaseOne.dbo."Detailed Customer";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B:&lt;/P&gt;&lt;P&gt;Purchase:&lt;/P&gt;&lt;P&gt;Concatenate(Customer)&lt;/P&gt;&lt;P&gt;LOAD "Amount" as Purchase_Amount,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Company Name",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Linked Sales Invoice",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Posting Date",&lt;/P&gt;&lt;P&gt;SQL SELECT "Amount LCY",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Company Name",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Linked Sales Invoice",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Posting Date",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Shortcut Dimension 2 Code"&lt;/P&gt;&lt;P&gt;FROM TestSqlDatabaseOne.dbo."Purchase" Where [Linked Sales Invoice] &amp;lt;&amp;gt; ' ';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:&lt;/P&gt;&lt;P&gt;LOAD "Company Name",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Currency Code",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Relational Exch_ Rate Amount",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Starting Date";&lt;/P&gt;&lt;P&gt;SQL SELECT "Company Name",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Currency Code",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Relational Exch_ Rate Amount",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Starting Date"&lt;/P&gt;&lt;P&gt;FROM TestSqlDatabaseOne.dbo."Currency" where "Currency Code"='INR';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Condition :&lt;/P&gt;&lt;P&gt;1. if(Posting date=Starting date and Document type=2) then Sum(Amount)/Sum(Relational Exch_Rate Amount) in A table is sales&lt;/P&gt;&lt;P&gt;2. If(Posting date=Starting date and Linked Sales Invoice=Document no) then Sum(Amount)/Sum(Relational Exch_Rate Amount)&amp;nbsp; in B table is purchase&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Relation: A.Document no=B.Linked Sales Invoice&lt;/P&gt;&lt;P&gt;A.Posting Date=B.Posting Date=C.Starting Date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-two-fields-from-two-different-tables/m-p/1104280#M899478</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two fields from two different tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-two-fields-from-two-different-tables/m-p/1104281#M899479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Please don't clutter this site with duplicate discussions:&lt;/SPAN&gt;&lt;A href="https://community.qlik.com/thread/225725"&gt;Comparing two fields from two different table ?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 08:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-two-fields-from-two-different-tables/m-p/1104281#M899479</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-07-20T08:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two fields from two different tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-two-fields-from-two-different-tables/m-p/1104282#M899480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While I am posting the issue my system was hanged, mean while my colleague updated the issue.&lt;/P&gt;&lt;P&gt;after my post also updated, Sry for this. and I want solution for the issue asap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 08:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-two-fields-from-two-different-tables/m-p/1104282#M899480</guid>
      <dc:creator />
      <dc:date>2016-07-20T08:37:49Z</dc:date>
    </item>
  </channel>
</rss>

