<?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 different fields in the same table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/compare-two-different-fields-in-the-same-table/m-p/633886#M232490</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I think these two links will help you:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5334"&gt;Hierarchies&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3899"&gt;Hierarchy and Hierarchy Belongs to&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 May 2014 16:55:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-15T16:55:59Z</dc:date>
    <item>
      <title>compare two different fields in the same table</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-different-fields-in-the-same-table/m-p/633883#M232487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody, &lt;/P&gt;&lt;P&gt;I have a doubt, i have a table with information from&amp;nbsp; all companies, in that table i have details the branches also, i need show in a pivot table the Company with your branches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my model i have one table with two field, field1 and field2, those fields should be equals, now i need compare field1 (in 1 row) with all the rows in the table for know the branches.&lt;/P&gt;&lt;P&gt;Please help me, currently i have this expression, but just it evaluate in the same row &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;= aggr(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 9pt; font-family: 'Courier New';"&gt;only&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;field1&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; ={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"=field1=field2"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;} &amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;branches&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),field1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;thank you so much &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 23:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-different-fields-in-the-same-table/m-p/633883#M232487</guid>
      <dc:creator />
      <dc:date>2014-05-14T23:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: compare two different fields in the same table</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-different-fields-in-the-same-table/m-p/633884#M232488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lorena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what you need is to compare two different columns in the same table (Field1, Field2) to determine the hierarchy between them? something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&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;Id&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;FatherId&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;John Doe&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jane Doe&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Paul Doe&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Tom Sawyer&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Mary Sawyer&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So John Doe is Jane's and Paul's father, and Mary is Tom Sawyer's child.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if why I understood is what you meant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ryuma,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 16:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-different-fields-in-the-same-table/m-p/633884#M232488</guid>
      <dc:creator />
      <dc:date>2014-05-15T16:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: compare two different fields in the same table</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-different-fields-in-the-same-table/m-p/633885#M232489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, that it what i need&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 16:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-different-fields-in-the-same-table/m-p/633885#M232489</guid>
      <dc:creator />
      <dc:date>2014-05-15T16:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: compare two different fields in the same table</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-different-fields-in-the-same-table/m-p/633886#M232490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I think these two links will help you:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5334"&gt;Hierarchies&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3899"&gt;Hierarchy and Hierarchy Belongs to&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 16:55:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-different-fields-in-the-same-table/m-p/633886#M232490</guid>
      <dc:creator />
      <dc:date>2014-05-15T16:55:59Z</dc:date>
    </item>
  </channel>
</rss>

