<?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 create a new field based on two tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-create-a-new-field-based-on-two-tables/m-p/1573879#M740502</link>
    <description>&lt;P&gt;Something like this using the Exists() function:&lt;/P&gt;&lt;P&gt;Tab3:&lt;/P&gt;&lt;P&gt;LOAD *, &lt;STRONG&gt;If(Exists(site, Site), 'Yes', 'No') as [Yes/No]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Resident Tab2;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Apr 2019 13:38:15 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2019-04-26T13:38:15Z</dc:date>
    <item>
      <title>how to create a new field based on two tables</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-a-new-field-based-on-two-tables/m-p/1573854#M740501</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have&amp;nbsp; 2 tables and I want to create a new field based on the information from both.&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;id, site, surname&lt;/P&gt;&lt;P&gt;1, London, Emy&lt;/P&gt;&lt;P&gt;2,Poole,Eny&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tab2:&lt;/P&gt;&lt;P&gt;ID, Product, Site&lt;/P&gt;&lt;P&gt;1, Apple,London&lt;/P&gt;&lt;P&gt;2,Apple,Luton&lt;/P&gt;&lt;P&gt;3,Orages,Luton&lt;/P&gt;&lt;P&gt;4,Plumes,London&lt;/P&gt;&lt;P&gt;5,Kiwi,London&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 'site' from Tab 1&amp;nbsp; =&amp;nbsp; 'Site&amp;nbsp; Tab 2 .&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a new field in Tab 2 based on this condition:&lt;/P&gt;&lt;P&gt;if(site exists in Tab 2 put Yes else no) how I can do this in Qlikview?&lt;/P&gt;&lt;P&gt;My new table need to looks like this :&lt;/P&gt;&lt;P&gt;Tab3:&lt;/P&gt;&lt;P&gt;ID, Product, Site, Yes/No&lt;/P&gt;&lt;P&gt;1, Apple,London,Yes&lt;/P&gt;&lt;P&gt;2,Apple,Luton,No&lt;/P&gt;&lt;P&gt;3,Orages,Luton,No&lt;/P&gt;&lt;P&gt;4,Plumes,London,Yes&lt;/P&gt;&lt;P&gt;Resident Tab2;&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-a-new-field-based-on-two-tables/m-p/1573854#M740501</guid>
      <dc:creator>0li5a3a</dc:creator>
      <dc:date>2024-11-16T03:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a new field based on two tables</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-a-new-field-based-on-two-tables/m-p/1573879#M740502</link>
      <description>&lt;P&gt;Something like this using the Exists() function:&lt;/P&gt;&lt;P&gt;Tab3:&lt;/P&gt;&lt;P&gt;LOAD *, &lt;STRONG&gt;If(Exists(site, Site), 'Yes', 'No') as [Yes/No]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Resident Tab2;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 13:38:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-a-new-field-based-on-two-tables/m-p/1573879#M740502</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-04-26T13:38:15Z</dc:date>
    </item>
  </channel>
</rss>

