<?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 columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734729#M263057</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Co-relation can be made via external source for only in case of small data or less number of columns &lt;/P&gt;&lt;P&gt;i cant create if there are more than 5 and each column having more than 1000 records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i am facing the criticality in making the correlation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you kindly let me know with the sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Oct 2014 16:22:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-03T16:22:34Z</dc:date>
    <item>
      <title>compare two columns</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734720#M263048</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; i have 2 tables and i need the compare the country2 with the Country2 and if both are equal it should get corresponding Sub_Country&lt;/P&gt;&lt;P&gt;Country1:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid rgb(0, 0, 0); width: 170px; height: 119px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sub_Country&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Coutnry1&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;US01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;US&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Ind01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Ind&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Uk01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;UK&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Ind02&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;East Ind&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Ind03&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;West Ind&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Country2:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="102" style="border: 1px solid rgb(0, 0, 0); width: 163px; height: 104px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Country2&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;USA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;INDIA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;UK&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;INDIA&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: there is no common column exists&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 08:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734720#M263048</guid>
      <dc:creator />
      <dc:date>2014-10-01T08:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: compare two columns</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734721#M263049</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;Rename column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Country1 as Country&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;Country2 as Country&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can use Exist()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 08:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734721#M263049</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-10-01T08:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: compare two columns</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734722#M263050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot do this unless there is a mapping column defined, something that associate INDIA to Ind and what about west Ind? How can it be associated to INDIA?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define a rule and a mapping table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 09:06:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734722#M263050</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-10-01T09:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: compare two columns</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734723#M263051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider using ApplyMap()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 09:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734723#M263051</guid>
      <dc:creator>martyn_birzys</dc:creator>
      <dc:date>2014-10-01T09:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Re: compare two columns</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734724#M263052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a mapping load example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/68149_Capture.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CountryMap:&lt;/P&gt;&lt;P&gt;Mapping load *;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country, Country2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; US,USA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ind,INDIA&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Countries:&lt;/P&gt;&lt;P&gt;LOAD Sub_Country, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Coutnry1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('CountryMap',Coutnry1,Coutnry1) as MappedCountry&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="135963" data-objecttype="1" href="http://community.qlik.com/thread/135963"&gt;http://community.qlik.com/thread/135963&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 03:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734724#M263052</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-02T03:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: compare two columns</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734725#M263053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tanks Jonathan,&lt;/P&gt;&lt;P&gt;what if we have more columns in the two tables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 04:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734725#M263053</guid>
      <dc:creator />
      <dc:date>2014-10-02T04:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: compare two columns</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734726#M263054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like Jonathan said, you need to use the mapping load in order to correlate the country 2 column into the first table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mapCountry:&lt;/P&gt;&lt;P&gt;mapping load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; country1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; country2&lt;/P&gt;&lt;P&gt;from &amp;lt;source2&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sub-country,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; applymap('mapCountry',country1) as country2&lt;/P&gt;&lt;P&gt;from &amp;lt;source1&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point, you would have a resulting set of one table containing two fields - sub-country and country2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously, any additional fields from table 1 can simply be added to the load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you needed to add more fields that originate from table2 which was initially used for the mapping function, then you could load that table again using a left join (or left keep) to the first table on the new field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;mapCountry:&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;mapping load&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; country1,&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; country2&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;from &amp;lt;source2&amp;gt;;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;table1:&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;load&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sub-country,&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; applymap('mapCountry',country1) as country2&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;from &amp;lt;source1&amp;gt;;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;left join (table1)&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;load&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; country2,&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field3,&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field4&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;from &amp;lt;source2&amp;gt;;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 15:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734726#M263054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-02T15:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: compare two columns</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734727#M263055</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;Thaks for the reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;mapCountry:&lt;/P&gt;&lt;P style="font-size: 13.63636302948px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;mapping load&lt;/P&gt;&lt;P style="font-size: 13.63636302948px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; country1,&lt;/P&gt;&lt;P style="font-size: 13.63636302948px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; country2&lt;/P&gt;&lt;P style="font-size: 13.63636302948px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from &amp;lt;source2&amp;gt;;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;in this mapping load the country2 is from Source2 and Country1 is from Source1 &lt;/P&gt;&lt;P style="font-size: 13.63636302948px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;i am gettng error while reloading the script that coutnry1 field doesnot exist because it is in the second table&lt;/P&gt;&lt;P style="font-size: 13.63636302948px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;can you share the app so that i can view it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 03:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734727#M263055</guid>
      <dc:creator />
      <dc:date>2014-10-03T03:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: compare two columns</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734728#M263056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the correlation must be created between country1 and country2...i.e. via an inline table or in an external file such as excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you use that source table ( which holds the correlation ) as the source in your mapping load. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise, there is no way for you to connect the two data elements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 15:53:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734728#M263056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-03T15:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: compare two columns</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734729#M263057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Co-relation can be made via external source for only in case of small data or less number of columns &lt;/P&gt;&lt;P&gt;i cant create if there are more than 5 and each column having more than 1000 records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i am facing the criticality in making the correlation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you kindly let me know with the sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 16:22:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734729#M263057</guid>
      <dc:creator />
      <dc:date>2014-10-03T16:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: compare two columns</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734730#M263058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is no way around it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a computer can not (correctly) interpret data without a set of defining logic that provides context/instructions/rules for interpretation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example, it isn't feasible to suggest that there is a way to identify programmatically that the values "East Ind","West Ind", and "Ind" are all equivalent to the correlated field value "INDIA" without the use of a mapping/attribute table which defines the relationship.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 21:36:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-columns/m-p/734730#M263058</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-03T21:36:31Z</dc:date>
    </item>
  </channel>
</rss>

