<?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: Different columns comparision in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Different-columns-comparision/m-p/1407897#M612662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;LOAD * From Table1;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;If(LookUp('Dim1','Join_Key',Join_Key,'Table1')=Dim2,1,0) as Complex_key&lt;/P&gt;&lt;P&gt;From Table2;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Oct 2017 10:32:24 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2017-10-06T10:32:24Z</dc:date>
    <item>
      <title>Different columns comparision</title>
      <link>https://community.qlik.com/t5/QlikView/Different-columns-comparision/m-p/1407893#M612658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please share any thought you have for the below requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 tables,&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Dim1,Dimx,Dixy,Join_key;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;Dim2,Column1,Colmn2,if(Dim1=Dim2,1,0) as Complex_Key,Join_key;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the 2nd tab I have two create Complex_Key based on table1,&lt;/P&gt;&lt;P&gt;can you please share your thoughts.&lt;/P&gt;&lt;P&gt;it is not possible to have Exist function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 09:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-columns-comparision/m-p/1407893#M612658</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2017-10-06T09:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Different columns comparision</title>
      <link>https://community.qlik.com/t5/QlikView/Different-columns-comparision/m-p/1407894#M612659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use exist function too I guess. However, to create Complex_Key, you have to load the table for one extra time and that too after the join has already happened. In other words, first join the tables, then create the new field in another load using resident load of the joined table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 10:08:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-columns-comparision/m-p/1407894#M612659</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-10-06T10:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Different columns comparision</title>
      <link>https://community.qlik.com/t5/QlikView/Different-columns-comparision/m-p/1407895#M612660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;exist will check all the values but here it is '=', so exist cannot be used&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 10:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-columns-comparision/m-p/1407895#M612660</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2017-10-06T10:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Different columns comparision</title>
      <link>https://community.qlik.com/t5/QlikView/Different-columns-comparision/m-p/1407896#M612661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to just create a flag, then exist() won't help. Exist() could help you if you want to discard few values being loaded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 10:26:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-columns-comparision/m-p/1407896#M612661</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-10-06T10:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Different columns comparision</title>
      <link>https://community.qlik.com/t5/QlikView/Different-columns-comparision/m-p/1407897#M612662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;LOAD * From Table1;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;If(LookUp('Dim1','Join_Key',Join_Key,'Table1')=Dim2,1,0) as Complex_key&lt;/P&gt;&lt;P&gt;From Table2;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 10:32:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-columns-comparision/m-p/1407897#M612662</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-10-06T10:32:24Z</dc:date>
    </item>
  </channel>
</rss>

