<?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 Comparing one field with a multi field key similar data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-one-field-with-a-multi-field-key-similar-data/m-p/1735432#M452578</link>
    <description>&lt;P&gt;I have a 2 table with Employee_initials, Employee_Name, Employee_Number, Jan2020pay, Feb2020pay&lt;/P&gt;&lt;P&gt;RG, Roger Gara, 12345, 100, 200&lt;/P&gt;&lt;P&gt;JK, Jack Kent, 23456, 200,350&lt;/P&gt;&lt;P&gt;KLM, King Larry Moe 234556, 400, 500&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SECOND TABLE&amp;nbsp;&lt;/P&gt;&lt;P&gt;RG, Roger Gra, 12345 , 0 ,0&lt;/P&gt;&lt;P&gt;JK, Jack Kent ,0 ,0&lt;/P&gt;&lt;P&gt;KLM, King Moe 234556,0,0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now looking at these, I create a key as&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(Employee_initials&amp;lt;&amp;gt; "" and Employee_Number&amp;lt;&amp;gt;'',&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Employee_initials &amp;amp;'|'&amp;amp; Employee_Number,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Employee_initials &amp;amp; '|' &amp;amp;&amp;nbsp;Employee_Name) as EMPLOYEEKEY (2 fields will always match)&lt;/P&gt;&lt;P&gt;the next columns should be able to display both versions of the Employee_Name&lt;/P&gt;&lt;P&gt;If I use a join, I end up with 2 records the differences instead of 2 columns for the name&lt;/P&gt;&lt;P&gt;when I use NoConcantenate, it does give me both tables, but sooner or later I need to combine them.&lt;/P&gt;&lt;P&gt;I tried to alias the field name, but the same type of data still merge.&lt;/P&gt;&lt;P&gt;The ultimate goal is to migrate the pay to the new system.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Aug 2020 02:30:37 GMT</pubDate>
    <dc:creator>RogerG</dc:creator>
    <dc:date>2020-08-13T02:30:37Z</dc:date>
    <item>
      <title>Comparing one field with a multi field key similar data</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-one-field-with-a-multi-field-key-similar-data/m-p/1735432#M452578</link>
      <description>&lt;P&gt;I have a 2 table with Employee_initials, Employee_Name, Employee_Number, Jan2020pay, Feb2020pay&lt;/P&gt;&lt;P&gt;RG, Roger Gara, 12345, 100, 200&lt;/P&gt;&lt;P&gt;JK, Jack Kent, 23456, 200,350&lt;/P&gt;&lt;P&gt;KLM, King Larry Moe 234556, 400, 500&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SECOND TABLE&amp;nbsp;&lt;/P&gt;&lt;P&gt;RG, Roger Gra, 12345 , 0 ,0&lt;/P&gt;&lt;P&gt;JK, Jack Kent ,0 ,0&lt;/P&gt;&lt;P&gt;KLM, King Moe 234556,0,0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now looking at these, I create a key as&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(Employee_initials&amp;lt;&amp;gt; "" and Employee_Number&amp;lt;&amp;gt;'',&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Employee_initials &amp;amp;'|'&amp;amp; Employee_Number,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Employee_initials &amp;amp; '|' &amp;amp;&amp;nbsp;Employee_Name) as EMPLOYEEKEY (2 fields will always match)&lt;/P&gt;&lt;P&gt;the next columns should be able to display both versions of the Employee_Name&lt;/P&gt;&lt;P&gt;If I use a join, I end up with 2 records the differences instead of 2 columns for the name&lt;/P&gt;&lt;P&gt;when I use NoConcantenate, it does give me both tables, but sooner or later I need to combine them.&lt;/P&gt;&lt;P&gt;I tried to alias the field name, but the same type of data still merge.&lt;/P&gt;&lt;P&gt;The ultimate goal is to migrate the pay to the new system.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 02:30:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-one-field-with-a-multi-field-key-similar-data/m-p/1735432#M452578</guid>
      <dc:creator>RogerG</dc:creator>
      <dc:date>2020-08-13T02:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing one field with a multi field key similar data</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-one-field-with-a-multi-field-key-similar-data/m-p/1738607#M452807</link>
      <description>&lt;P&gt;What would be most helpful is the QVW file or a sample QVW showing the issue, that will make it much easier for folks to try to assist you with this, little difficult, at least for me, to try with what you have provided, the data model is key in this case, and not being able to see that is a problem...&lt;/P&gt;&lt;P&gt;About the only thing I can give you would be the Design Blog area main link to search for examples there:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 18:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-one-field-with-a-multi-field-key-similar-data/m-p/1738607#M452807</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-08-25T18:55:33Z</dc:date>
    </item>
  </channel>
</rss>

