<?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 column values and create a new column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019563#M934384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 2014 column is from Sheet 1 and 2015 column is from Sheet 2 of the same Excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2015&lt;/P&gt;&lt;P&gt;-----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --------&lt;/P&gt;&lt;P&gt;1234&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0112&lt;/P&gt;&lt;P&gt;5678&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0966&lt;/P&gt;&lt;P&gt;0987&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1234&lt;/P&gt;&lt;P&gt;3456&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 46840&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Need to create a new column where the values must be:&lt;/P&gt;&lt;P style="margin: 2pt 0px;"&gt;&lt;SPAN style="color: black; font-family: 'Segoe UI',sans-serif; font-size: 10pt;"&gt;if only in 2015 - "New"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0px;"&gt;&lt;SPAN style="color: black; font-family: 'Segoe UI',sans-serif; font-size: 10pt;"&gt;if only in 2014 "Discarded"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0px;"&gt;&lt;SPAN style="color: black; font-family: 'Segoe UI',sans-serif; font-size: 10pt;"&gt;if both 2014 and 2015 "Both"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2016 17:47:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-02-24T17:47:34Z</dc:date>
    <item>
      <title>Compare two column values and create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019557#M934378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two columns with years 2014 and 2015.&lt;/P&gt;&lt;P&gt;The values present in Column 2014 may or may not be present in 2015. &lt;/P&gt;&lt;P&gt;I have to create a column where&lt;/P&gt;&lt;P&gt; If the value is present only in 2014, then the new column value must say 'Old'.&lt;/P&gt;&lt;P&gt; if the value is present only in 2015, then the new column value must say 'New'.&lt;/P&gt;&lt;P&gt; If the value is present in both the years, it must show 'Both' as Column values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I get this done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0px;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 17:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019557#M934378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-24T17:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two column values and create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019558#M934379</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;Are the 2014 / 2015 columns on the same table in your data model?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 17:19:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019558#M934379</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2016-02-24T17:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two column values and create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019559#M934380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. The 2014 Column is in a different sheet and 2015 is in another sheet of the same excel sheet. Both 2014 and 2015 have Text values, not numbers. I need to check whether the values are present in 2014 and 2015 and create a new column based on the comparison. ( Conditions given above for comparison)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 17:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019559#M934380</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-24T17:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two column values and create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019560#M934381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2015&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Len(Trim(2014)&amp;gt;0 and Len(Trim(2015)=0, 'Old',&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Len(Trim(2014)=0 and Len(Trim(2015)&amp;gt;0, 'New',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Len(Trim(2014)&amp;gt;0 and Len(Trim(2015)&amp;gt;0, 'Both')))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 17:28:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019560#M934381</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-24T17:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two column values and create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019561#M934382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how can I load data from two different sheets of the same Excel sheet using one FROM?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 17:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019561#M934382</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-24T17:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two column values and create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019562#M934383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, the above given conditions do not create a column. It just checks for the length and trim func&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 17:37:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019562#M934383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-24T17:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two column values and create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019563#M934384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 2014 column is from Sheet 1 and 2015 column is from Sheet 2 of the same Excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2015&lt;/P&gt;&lt;P&gt;-----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --------&lt;/P&gt;&lt;P&gt;1234&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0112&lt;/P&gt;&lt;P&gt;5678&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0966&lt;/P&gt;&lt;P&gt;0987&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1234&lt;/P&gt;&lt;P&gt;3456&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 46840&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Need to create a new column where the values must be:&lt;/P&gt;&lt;P style="margin: 2pt 0px;"&gt;&lt;SPAN style="color: black; font-family: 'Segoe UI',sans-serif; font-size: 10pt;"&gt;if only in 2015 - "New"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0px;"&gt;&lt;SPAN style="color: black; font-family: 'Segoe UI',sans-serif; font-size: 10pt;"&gt;if only in 2014 "Discarded"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2pt 0px;"&gt;&lt;SPAN style="color: black; font-family: 'Segoe UI',sans-serif; font-size: 10pt;"&gt;if both 2014 and 2015 "Both"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 17:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019563#M934384</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-24T17:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two column values and create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019564#M934385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't. One load can only load from one sheet. You need two loads at least. And it's not clear to me how a record in one sheet is related to a record in the other sheet. Can you explain that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you're looking for this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14563408686314972 jive_text_macro" jivemacro_uid="_14563408686314972"&gt;
&lt;P&gt;Temp2014:&lt;BR /&gt;LOAD Value, Value as Check2014 FROM excelfile.xlsx (ooxml, embedded labels, table is Sheet2014);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Temp2015:&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD Value, Value as Check2015 FROM excelfile.xlsx (ooxml, embedded labels, table is Sheet2015);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Result:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value, 'Both' as NewOldBoth&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;RESIDENT &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Temp2014&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;WHERE Exists(Check2015, Value);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;CONCATENATE (Result)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value, 'Old' as NewOldBoth&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;RESIDENT&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Temp2014&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;WHERE NOT Exists(Check2015, Value);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;CONCATENATE (Result)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value, 'New' as NewOldBoth&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;RESIDENT&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Temp2015&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;WHERE NOT Exists(Check2014, Value);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;DROP TABLES Temp2014, Temp2015;&lt;/SPAN&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 18:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019564#M934385</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-24T18:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two column values and create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019565#M934386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find my Column structure below. The 2014 column from Sheet 1 and 2015 Column from Sheet 2 could have common values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 19:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019565#M934386</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-24T19:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two column values and create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019566#M934387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the Value in this script? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 19:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019566#M934387</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-24T19:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two column values and create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019567#M934388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, you don't seem to quite know what a load statement is. Please work through the tutorial you can find at &lt;A href="http://help.qlik.com/en-US/qlikview/12.0/Content/Tutorial.htm" title="http://help.qlik.com/en-US/qlikview/12.0/Content/Tutorial.htm"&gt;Tutorial ‒ QlikView&lt;/A&gt;. When you get to Chapter 3 of the pdf file make sure to follow the instruction on top op page 97:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;gt;&amp;gt;Study the script&amp;lt;&amp;lt; &lt;/STRONG&gt;&lt;EM&gt;(emphasis added by me)&lt;/EM&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;In the LOAD statement, the fields of the selected file are listed. Some of the field&lt;/P&gt;
&lt;P&gt;names are enclosed by square brackets. This is required when a field name contains spaces. The&lt;/P&gt;
&lt;P&gt;FROM statement is followed by the path to the file.&lt;/P&gt;



&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 06:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019567#M934388</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-25T06:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two column values and create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019568#M934389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you please see the below output and let me know is this the one you are expecting? If yes, can you please see the attached script and if no, please provide the output you are expecting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/115958_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Sreeman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 12:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019568#M934389</guid>
      <dc:creator />
      <dc:date>2016-02-25T12:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two column values and create a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019569#M934390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sreeman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much. More or less, yes. But the I should see only three columns : final_2014, final_2015 and the result column where it gives me 'New' 'Discarded' and 'Both' options. I was using conditions which should work fine but for some reason, they don't. I figured it out anyway. Thanks once again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 14:30:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-column-values-and-create-a-new-column/m-p/1019569#M934390</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-25T14:30:01Z</dc:date>
    </item>
  </channel>
</rss>

