<?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: Flag if Value exists in another table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Flag-if-Value-exists-in-another-table/m-p/137937#M754052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use join for achieving this&lt;/P&gt;&lt;P&gt;&lt;IMG alt="join_ids.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/215207_join_ids.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2018 09:27:07 GMT</pubDate>
    <dc:creator>Sergey_Shuklin</dc:creator>
    <dc:date>2018-10-05T09:27:07Z</dc:date>
    <item>
      <title>Flag if Value exists in another table</title>
      <link>https://community.qlik.com/t5/QlikView/Flag-if-Value-exists-in-another-table/m-p/137935#M754050</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;I have two tables in my sql server, Table A and Table B. I am creating a qvw/qvd file and pulling Table A in it. I want to create a Flag field to identify which of the values of a field called ID were existing in Table B. I do not have to necessarily pull in data from Table B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just need a Flag to identify the ones that existed and the ones that didn't exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone please suggest how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/215173_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&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/Flag-if-Value-exists-in-another-table/m-p/137935#M754050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Flag if Value exists in another table</title>
      <link>https://community.qlik.com/t5/QlikView/Flag-if-Value-exists-in-another-table/m-p/137936#M754051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B: load distinct ID from B;&lt;/P&gt;&lt;P&gt;A: load *, -exists(ID) as Flag from A;&lt;/P&gt;&lt;P&gt;drop tables B;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2018 06:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flag-if-Value-exists-in-another-table/m-p/137936#M754051</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-10-05T06:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Flag if Value exists in another table</title>
      <link>https://community.qlik.com/t5/QlikView/Flag-if-Value-exists-in-another-table/m-p/137937#M754052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use join for achieving this&lt;/P&gt;&lt;P&gt;&lt;IMG alt="join_ids.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/215207_join_ids.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2018 09:27:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flag-if-Value-exists-in-another-table/m-p/137937#M754052</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2018-10-05T09:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Flag if Value exists in another table</title>
      <link>https://community.qlik.com/t5/QlikView/Flag-if-Value-exists-in-another-table/m-p/137938#M754053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked perfectly fine for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 01:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flag-if-Value-exists-in-another-table/m-p/137938#M754053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-08T01:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Flag if Value exists in another table</title>
      <link>https://community.qlik.com/t5/QlikView/Flag-if-Value-exists-in-another-table/m-p/137939#M754054</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;Thank you for your response.&lt;/P&gt;&lt;P&gt;I had tried a similar solution but couldn't get the right numbers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 01:57:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flag-if-Value-exists-in-another-table/m-p/137939#M754054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-08T01:57:17Z</dc:date>
    </item>
  </channel>
</rss>

