<?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 Expression to compare two fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-to-compare-two-fields/m-p/286279#M106509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please i have a question&lt;/P&gt;&lt;P&gt;i have this table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="188" style="width: 283px; height: 190px; border-width: 1px; border-color: #000000; border-style: solid;" width="281"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;New Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Field1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Field2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2/1/2010&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3/1/2010&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4/1/2010&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5/1/2010&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6/1/2010&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/1/2010&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want an expression for the field New Date based on&lt;/P&gt;&lt;P&gt;if Field2 has a repeated value and the corresponding values in Field1 are equal&lt;/P&gt;&lt;P&gt;like the case 1,A and 1,A&lt;/P&gt;&lt;P&gt;so i want the New Date face these 2 records to be the minimum date of both&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the final result i want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="188" style="cursor: default; border-collapse: collapse; border: inherit; width: 281px; height: 190px; border-width: 1px; border-color: #000000; border-style: solid; margin: -1px;"&gt;&lt;TBODY style="border-style: solid;"&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-style: solid;"&gt;&lt;TH align="center" style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;New Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Field1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Field2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-style: solid;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;2/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;2/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-style: solid;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;3/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;3/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-style: solid;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;4/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;2/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-style: solid;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;5/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;5/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-style: solid;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;6/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;6/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-style: solid;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;7/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;3/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jul 2011 07:30:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-18T07:30:04Z</dc:date>
    <item>
      <title>Expression to compare two fields</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-compare-two-fields/m-p/286279#M106509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please i have a question&lt;/P&gt;&lt;P&gt;i have this table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="188" style="width: 283px; height: 190px; border-width: 1px; border-color: #000000; border-style: solid;" width="281"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;New Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Field1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Field2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2/1/2010&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3/1/2010&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4/1/2010&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5/1/2010&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6/1/2010&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/1/2010&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want an expression for the field New Date based on&lt;/P&gt;&lt;P&gt;if Field2 has a repeated value and the corresponding values in Field1 are equal&lt;/P&gt;&lt;P&gt;like the case 1,A and 1,A&lt;/P&gt;&lt;P&gt;so i want the New Date face these 2 records to be the minimum date of both&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the final result i want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="188" style="cursor: default; border-collapse: collapse; border: inherit; width: 281px; height: 190px; border-width: 1px; border-color: #000000; border-style: solid; margin: -1px;"&gt;&lt;TBODY style="border-style: solid;"&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-style: solid;"&gt;&lt;TH align="center" style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;New Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Field1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Field2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-style: solid;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;2/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;2/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-style: solid;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;3/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;3/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-style: solid;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;4/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;2/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-style: solid;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;5/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;5/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-style: solid;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;6/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;6/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-style: solid;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;7/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;3/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 07:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-compare-two-fields/m-p/286279#M106509</guid>
      <dc:creator />
      <dc:date>2011-07-18T07:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to compare two fields</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-compare-two-fields/m-p/286280#M106510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hei attach is an example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 07:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-compare-two-fields/m-p/286280#M106510</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2011-07-18T07:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to compare two fields</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-compare-two-fields/m-p/286281#M106511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;but what if i want this case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="191" style="border-collapse: collapse; font-size: 12px; cursor: default; border: inherit; float: none; width: 333px; height: 197px; border-width: 1px; padding: 3px; margin: -1px;"&gt;&lt;TBODY style="font-size: 12px; border-style: solid;"&gt;&lt;TR style="border-style: solid; border-color: inherit; border-collapse: collapse; font-size: 12px; border: inherit; border-width: inherit;"&gt;&lt;TH align="center" style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="font-size: 12px; color: #ffffff;"&gt;&lt;STRONG style="font-size: 12px;"&gt;Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="font-size: 12px; color: #ffffff;"&gt;&lt;STRONG style="font-size: 12px;"&gt;New Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="font-size: 12px; color: #ffffff;"&gt;&lt;STRONG style="font-size: 12px;"&gt;Field1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="font-size: 12px; color: #ffffff;"&gt;&lt;STRONG style="font-size: 12px;"&gt;Field2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="border-style: solid; border-color: inherit; border-collapse: collapse; font-size: 12px; border: inherit; border-width: inherit;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;2/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;?&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;1&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: solid; border-color: inherit; border-collapse: collapse; font-size: 12px; border: inherit; border-width: inherit;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;3/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;?&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;1&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: solid; border-color: inherit; border-collapse: collapse; font-size: 12px; border: inherit; border-width: inherit;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;4/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;?&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;1&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;Ax&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: solid; border-color: inherit; border-collapse: collapse; font-size: 12px; border: inherit; border-width: inherit;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;5/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;?&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;2&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: solid; border-color: inherit; border-collapse: collapse; font-size: 12px; border: inherit; border-width: inherit;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;6/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;?&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;2&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: solid; border-color: inherit; border-collapse: collapse; font-size: 12px; border: inherit; border-width: inherit;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;7/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;?&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;1&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;By&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i want to compare A after removing x from it with A in the other record and if they are equal to apply the last situation,the same also for B after removing y from&amp;nbsp; it to compare it with B &lt;/P&gt;&lt;P&gt;i.e the final result will also be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="191" style="cursor: default; border-collapse: collapse; border: inherit; font-size: 12px; float: none; width: 339px; height: 197px; border-width: 1px; padding: 3px; margin: -1px;" width="333"&gt;&lt;TBODY style="font-size: 12px; border-style: solid;"&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-collapse: collapse; font-size: 12px;"&gt;&lt;TH align="center" style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="font-size: 12px; color: #ffffff;"&gt;&lt;STRONG style="font-size: 12px;"&gt;Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="font-size: 12px; color: #ffffff;"&gt;&lt;STRONG style="font-size: 12px;"&gt;New Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="font-size: 12px; color: #ffffff;"&gt;&lt;STRONG style="font-size: 12px;"&gt;Field1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="font-size: 12px; color: #ffffff;"&gt;&lt;STRONG style="font-size: 12px;"&gt;Field2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-collapse: collapse; font-size: 12px;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;2/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;2/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;1&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-collapse: collapse; font-size: 12px;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;3/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;3/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;1&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-collapse: collapse; font-size: 12px;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;4/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;2/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;1&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;Ax&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-collapse: collapse; font-size: 12px;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;5/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;5/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;2&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-collapse: collapse; font-size: 12px;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;6/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;6/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;2&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: inherit; border-color: inherit; border-width: inherit; border-collapse: collapse; font-size: 12px;"&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;7/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;3/1/2010&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;1&lt;/TD&gt;&lt;TD style="border-collapse: collapse; cursor: text; border-color: inherit; border: inherit; padding: 3px; margin: 1px;"&gt;By&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 08:14:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-compare-two-fields/m-p/286281#M106511</guid>
      <dc:creator />
      <dc:date>2011-07-18T08:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to compare two fields</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-compare-two-fields/m-p/286282#M106512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; then i would recomend you to go and create a new field in the load script &lt;/P&gt;&lt;P&gt;that will be something like &lt;/P&gt;&lt;P&gt;left(Field2,1) as Field3&lt;/P&gt;&lt;P&gt;then use Field 3 in the expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 08:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-compare-two-fields/m-p/286282#M106512</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2011-07-18T08:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to compare two fields</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-compare-two-fields/m-p/286283#M106513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 09:13:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-compare-two-fields/m-p/286283#M106513</guid>
      <dc:creator />
      <dc:date>2011-07-18T09:13:18Z</dc:date>
    </item>
  </channel>
</rss>

