<?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 columns in same table? in Archived Groups</title>
    <link>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247111#M3602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isn't this based on selection? Are you planning to reload data after making selection in Country field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jan 2017 11:56:53 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-01-27T11:56:53Z</dc:date>
    <item>
      <title>How to compare two columns in same table?</title>
      <link>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247106#M3597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have two column in same table like,TEAM_A and TEAM_B.I have joined in these two columns into one column as &lt;SPAN style="font-size: 13.3333px;"&gt;TOTAL_TEAM and COUNTRIES&lt;/SPAN&gt;.Now i want to remove the selected value of COUNTRIES in TOTAL_TEAM column.For Example if i click 'india' in &lt;SPAN style="font-size: 13.3333px;"&gt;COUNTRIES,it should be only show the five counties name from &lt;SPAN style="font-size: 13.3333px;"&gt;TOTAL_TEAM with out the value of 'india',because india played only 5 match,Based on the Match_ID.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="151037" alt="tt.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151037_tt.JPG" style="height: 271px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2025 14:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247106#M3597</guid>
      <dc:creator />
      <dc:date>2025-07-23T14:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two columns in same table?</title>
      <link>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247107#M3598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use calculated expression for your list box for TOTAL_TEAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(If(GetSelectedCount(COUNTRIES) = 0, Only({1} TOTAL_TEAM), Only{1&amp;lt;TOTAL_TEAM = e(COUNTRIES)&amp;gt;} &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;TOTAL_TEAM), TOTAL_TEAM)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 10:33:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247107#M3598</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-27T10:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two columns in same table?</title>
      <link>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247108#M3599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply Sunny T, I got some error in this Expression like below,&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="151038" alt="rr.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151038_rr.JPG" style="height: 43px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 10:51:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247108#M3599</guid>
      <dc:creator />
      <dc:date>2017-01-27T10:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two columns in same table?</title>
      <link>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247109#M3600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it not work when you click ok?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 10:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247109#M3600</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-27T10:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two columns in same table?</title>
      <link>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247110#M3601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny Now it's work.Is it&amp;nbsp; possible for load script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 11:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247110#M3601</guid>
      <dc:creator />
      <dc:date>2017-01-27T11:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two columns in same table?</title>
      <link>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247111#M3602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isn't this based on selection? Are you planning to reload data after making selection in Country field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 11:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247111#M3602</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-27T11:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two columns in same table?</title>
      <link>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247112#M3603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have planned to use this Total_Team field into chart objects.How to use this column in Dimension Field. Aggr function is not convenience to Calculated &lt;SPAN style="font-size: 13.3333px;"&gt;Dimension.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 12:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247112#M3603</guid>
      <dc:creator />
      <dc:date>2017-01-27T12:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two columns in same table?</title>
      <link>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247113#M3604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should incorporate the same logic in set analysis of your expression instead of using a calculated dimension.... something along these lines I guess&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(GetSelectedCount(COUNTRIES) = 0, Sum(Measure), Sum{&amp;lt;TOTAL_TEAM = e(COUNTRIES)&amp;gt;} &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Measure))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With TOTAL_TEAM as your dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 12:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247113#M3604</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-27T12:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two columns in same table?</title>
      <link>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247114#M3605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The result of the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;TOTAL_TEAM field may having a duplicate record. Aggregator function can remove the duplicates rows in chart objects due to associate with other dimensions.can you have anything else for this?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 13:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247114#M3605</guid>
      <dc:creator />
      <dc:date>2017-01-27T13:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two columns in same table?</title>
      <link>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247115#M3606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a sample you can share?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 13:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247115#M3606</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-27T13:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two columns in same table?</title>
      <link>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247116#M3607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have used one straight table with one dimension and one expression, &lt;/P&gt;&lt;P&gt;Dimension =Aggr(If(GetSelectedCount(COUNTRIES) = 0, Only({1} TOTAL_TEAM), Only({1&amp;lt;TOTAL_TEAM = e(COUNTRIES)&amp;gt;} TOTAL_TEAM)), TOTAL_TEAM)&lt;/P&gt;&lt;P&gt;Expression=Match_ID&lt;/P&gt;&lt;P&gt; If i click the 'west indies' of Country field,it shown only 4 values.but '&lt;SPAN style="font-size: 13.3333px;"&gt;west indies' played 6 match,the result is given below,&lt;IMG alt="rr.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151073_rr.JPG" style="height: 191px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 13:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/How-to-compare-two-columns-in-same-table/m-p/1247116#M3607</guid>
      <dc:creator />
      <dc:date>2017-01-27T13:47:36Z</dc:date>
    </item>
  </channel>
</rss>

