<?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 two tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-compare-two-columns-in-two-tables/m-p/1328792#M834973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-align: left; text-indent: 0px;"&gt;hi guys,&lt;/P&gt;&lt;P style="font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-align: left; text-indent: 0px;"&gt;If I check this with some sample data, its working. But as per my original data it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-align: left; text-indent: 0px;"&gt;I have attached my data along with this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-align: left; text-indent: 0px;"&gt;Please anybody help in this....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 May 2017 12:18:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-05-25T12:18:28Z</dc:date>
    <item>
      <title>How to compare two columns in two tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-two-columns-in-two-tables/m-p/1328788#M834969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;I have two tables as shown below,&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="164586" alt="Screenshot_1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164586_Screenshot_1.png" style="height: auto;" /&gt;&lt;IMG __jive_id="164587" alt="Screenshot_2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/164587_Screenshot_2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I need to compare these two tables and to create flag. If the SheetDate in the second table and Date in the first table is matched, then Flag=1 otherwise Flag=0. I want exactly as in the below image,&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="164590" alt="Screenshot_3.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/164590_Screenshot_3.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Plz help me to achieve this friends.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-two-columns-in-two-tables/m-p/1328788#M834969</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two columns in two tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-two-columns-in-two-tables/m-p/1328789#M834970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where you want to achieve&lt;/P&gt;&lt;P&gt;In front end or back end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in front end &lt;/P&gt;&lt;P&gt;take straight table &lt;/P&gt;&lt;P&gt;dimension &lt;/P&gt;&lt;P&gt;EmpId&lt;/P&gt;&lt;P&gt;date&lt;/P&gt;&lt;P&gt;sheetdate&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;if(date=sheetdate,'1')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In back end &lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load EmpId,date from table1;&lt;/P&gt;&lt;P&gt;join&lt;/P&gt;&lt;P&gt;Load EmpId,SheetDate from table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;noconcatenate&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;Load *,if(date=sheetdate,'1') as flag Resident Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 11:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-two-columns-in-two-tables/m-p/1328789#M834970</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-05-24T11:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two columns in two tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-two-columns-in-two-tables/m-p/1328790#M834971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Siva!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use left join:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1&lt;/P&gt;&lt;P&gt;EmpID,&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Table 2&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;EmpID,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;SheetDate as Date,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SheetDate,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;1 as Flag&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;And you will get what you want (except of 0 values - it will be null)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 11:32:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-two-columns-in-two-tables/m-p/1328790#M834971</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-05-24T11:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two columns in two tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-two-columns-in-two-tables/m-p/1328791#M834972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PLEASE TRY THIS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 11:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-two-columns-in-two-tables/m-p/1328791#M834972</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2017-05-24T11:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two columns in two tables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-two-columns-in-two-tables/m-p/1328792#M834973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-align: left; text-indent: 0px;"&gt;hi guys,&lt;/P&gt;&lt;P style="font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-align: left; text-indent: 0px;"&gt;If I check this with some sample data, its working. But as per my original data it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-align: left; text-indent: 0px;"&gt;I have attached my data along with this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: normal; font-style: normal; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-align: left; text-indent: 0px;"&gt;Please anybody help in this....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 12:18:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-two-columns-in-two-tables/m-p/1328792#M834973</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-25T12:18:28Z</dc:date>
    </item>
  </channel>
</rss>

