<?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 Left join with renamed field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Left-join-with-renamed-field/m-p/1329318#M826393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table of data in my script called 'TABLE_DATA'. In there, is a field called 'Key'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to Left Join another table of date which has two fields, one of which which matches 'Key' but is called 'Type' in the original data file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following in the script:&lt;/P&gt;&lt;P&gt;LEFT JOIN (TABLE_DATA)&lt;/P&gt;&lt;P&gt;LOAD Type as Key,&lt;/P&gt;&lt;P&gt;Points as New points&lt;/P&gt;&lt;P&gt;FROM....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this doesn't work. Why not? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I go into my original data file and change field name 'Type' to 'Key', then it joins perfectly - but I don't want to have to do that, I want to do it in the script.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Anyone know where I'm going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Jess&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>jessica_webb</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Left join with renamed field</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-with-renamed-field/m-p/1329318#M826393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table of data in my script called 'TABLE_DATA'. In there, is a field called 'Key'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to Left Join another table of date which has two fields, one of which which matches 'Key' but is called 'Type' in the original data file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following in the script:&lt;/P&gt;&lt;P&gt;LEFT JOIN (TABLE_DATA)&lt;/P&gt;&lt;P&gt;LOAD Type as Key,&lt;/P&gt;&lt;P&gt;Points as New points&lt;/P&gt;&lt;P&gt;FROM....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this doesn't work. Why not? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I go into my original data file and change field name 'Type' to 'Key', then it joins perfectly - but I don't want to have to do that, I want to do it in the script.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Anyone know where I'm going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Jess&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/Left-join-with-renamed-field/m-p/1329318#M826393</guid>
      <dc:creator>jessica_webb</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Left join with renamed field</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-with-renamed-field/m-p/1329319#M826394</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;Have you tried rename Key for Type in the first table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 07:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-with-renamed-field/m-p/1329319#M826394</guid>
      <dc:creator>fvelascog72</dc:creator>
      <dc:date>2017-07-05T07:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Left join with renamed field</title>
      <link>https://community.qlik.com/t5/QlikView/Left-join-with-renamed-field/m-p/1329320#M826395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't, but don't really want to rename that field... But thank you for the suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, my original script now seems to be working - not sure what happened there, but will close this thread as I no longer have a problem &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 07:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-join-with-renamed-field/m-p/1329320#M826395</guid>
      <dc:creator>jessica_webb</dc:creator>
      <dc:date>2017-07-05T07:53:53Z</dc:date>
    </item>
  </channel>
</rss>

