<?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 2 columns and create new column in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-Compare-2-columns-and-create-new-column/m-p/2005405#M83203</link>
    <description>&lt;P&gt;load *,&lt;BR /&gt;if(WildMatch(Column2,'*' &amp;amp; Column1 &amp;amp; '*'),1,0) as Flag;&lt;BR /&gt;load * inline&lt;BR /&gt;[Column1,Column2&lt;BR /&gt;PostMan,Mpostman&lt;BR /&gt;Laptop,ylaptopxy&lt;BR /&gt;Greek,Mgkeey&lt;BR /&gt;Finance,FinXy];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wildmatch QLik help:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview/May2022/Subsystems/Client/Content/QV_QlikView/Scripting/ConditionalFunctions/wildmatch.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/May2022/Subsystems/Client/Content/QV_QlikView/Scripting/ConditionalFunctions/wildmatch.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Nov 2022 15:32:34 GMT</pubDate>
    <dc:creator>hoangvvo</dc:creator>
    <dc:date>2022-11-16T15:32:34Z</dc:date>
    <item>
      <title>How to Compare 2 columns and create new column</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Compare-2-columns-and-create-new-column/m-p/2005399#M83202</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I have 2 columns. I need to compare those 2 columns and create a new column called Flag. It should have only 0 and 1.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Karthick30_0-1668611796552.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/93886i0F822B48E8B56286/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Karthick30_0-1668611796552.png" alt="Karthick30_0-1668611796552.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In this Dataset.. Column 1 is Primary column and column 2 is the comparison column. Column 1 has PostMan and column 2 has Mpostman. So column 2 has Postman word along with Letter 'M'. so it is true condition. So i need flag column has 1 as output.&lt;/P&gt;
&lt;P&gt;we need to check Column 2 with Column 1. Column 2 has some additional characters in prefix or Suffix.( we can ignore that). but it will not follow same pattern. 1 or 2 additional characters in Prefix or Suffix will be there. Any way to compare this and get desired output&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 15:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Compare-2-columns-and-create-new-column/m-p/2005399#M83202</guid>
      <dc:creator>Karthick30</dc:creator>
      <dc:date>2022-11-16T15:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Compare 2 columns and create new column</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Compare-2-columns-and-create-new-column/m-p/2005405#M83203</link>
      <description>&lt;P&gt;load *,&lt;BR /&gt;if(WildMatch(Column2,'*' &amp;amp; Column1 &amp;amp; '*'),1,0) as Flag;&lt;BR /&gt;load * inline&lt;BR /&gt;[Column1,Column2&lt;BR /&gt;PostMan,Mpostman&lt;BR /&gt;Laptop,ylaptopxy&lt;BR /&gt;Greek,Mgkeey&lt;BR /&gt;Finance,FinXy];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wildmatch QLik help:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview/May2022/Subsystems/Client/Content/QV_QlikView/Scripting/ConditionalFunctions/wildmatch.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/May2022/Subsystems/Client/Content/QV_QlikView/Scripting/ConditionalFunctions/wildmatch.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 15:32:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Compare-2-columns-and-create-new-column/m-p/2005405#M83203</guid>
      <dc:creator>hoangvvo</dc:creator>
      <dc:date>2022-11-16T15:32:34Z</dc:date>
    </item>
  </channel>
</rss>

