<?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: NOT IN in expression or  using the variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967096#M1220399</link>
    <description>&lt;P&gt;Unfortunately, ODAG is not available in QlikView, just Qlik Sense. I didn't catch that this was in the QV section. With QV, you could probably do something using a macro to either reload the current app with a variable controlling the date.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that if this doesn't have to be at the query level, you could achieve this quite easily if the tables were actually linked (rename the Member field so that both tables share the same column name), by selecting the desired date and then applying "Select Excluded" to the Member field. &lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2022 12:56:19 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2022-08-10T12:56:19Z</dc:date>
    <item>
      <title>NOT IN in expression or  using the variable</title>
      <link>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967035#M1220390</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;i have a sql query which needs to filter the data with the possible values ​​of a subquery with not in clause. I'll explain better Table A with MemberA field, Table B with MemberB and Data field filtered by a dynamic filter with the use of a calendar.&lt;/P&gt;
&lt;P&gt;ES.&lt;/P&gt;
&lt;P&gt;TABLE A:&lt;/P&gt;
&lt;P&gt;MemberA&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2&lt;/P&gt;
&lt;P&gt;3&lt;/P&gt;
&lt;P&gt;TABLE B filter with calendar ='26/02/2022':&lt;/P&gt;
&lt;P&gt;MemberB&amp;nbsp; &amp;nbsp;Data&lt;/P&gt;
&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 26/02/2022&lt;/P&gt;
&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;26/02/2022&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now I want to have all records from table A that don't exist in B with calendar selection='26/02/2022'&lt;/P&gt;
&lt;P&gt;Table A result:&lt;/P&gt;
&lt;P&gt;MemberA&lt;/P&gt;
&lt;P&gt;1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone give me some advice?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 11:37:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967035#M1220390</guid>
      <dc:creator>gianluca_brick</dc:creator>
      <dc:date>2022-08-10T11:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: NOT IN in expression or  using the variable</title>
      <link>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967054#M1220395</link>
      <description>&lt;P&gt;If 26/02/2022 is a selection made in the app itself, the only reasonable way to achieve this is using On Demand App Generation (ODAG).&lt;/P&gt;
&lt;P&gt;If this is something that is fixed / hardcoded, you could use something like:&lt;/P&gt;
&lt;P&gt;Load MemberB, Data&lt;/P&gt;
&lt;P&gt;From TableB&lt;/P&gt;
&lt;P&gt;WHERE Data = '26/02/2022' ;&lt;/P&gt;
&lt;P&gt;Load * From TableA Where Not Exists(MemberB, MemberA);&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 11:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967054#M1220395</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-08-10T11:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: NOT IN in expression or  using the variable</title>
      <link>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967063#M1220396</link>
      <description>&lt;P&gt;&lt;SPAN&gt;No I can't because I load all the data from the two tables and then dynamically execute the filter on table B. on table B I can filter for various dates&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 12:14:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967063#M1220396</guid>
      <dc:creator>gianluca_brick</dc:creator>
      <dc:date>2022-08-10T12:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: NOT IN in expression or  using the variable</title>
      <link>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967091#M1220397</link>
      <description>&lt;P&gt;As I said, if this filter needs to be dynamic, and it needs to be in a query, you'll need to use ODAG. See: &lt;A href="https://help.qlik.com/en-US/sense/May2022/Subsystems/Hub/Content/Sense_Hub/DataSource/Manage-big-data.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/May2022/Subsystems/Hub/Content/Sense_Hub/DataSource/Manage-big-data.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 12:47:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967091#M1220397</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-08-10T12:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: NOT IN in expression or  using the variable</title>
      <link>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967093#M1220398</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Ok I try to see ODAG. But does it also work on qlikView?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 12:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967093#M1220398</guid>
      <dc:creator>gianluca_brick</dc:creator>
      <dc:date>2022-08-10T12:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: NOT IN in expression or  using the variable</title>
      <link>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967096#M1220399</link>
      <description>&lt;P&gt;Unfortunately, ODAG is not available in QlikView, just Qlik Sense. I didn't catch that this was in the QV section. With QV, you could probably do something using a macro to either reload the current app with a variable controlling the date.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that if this doesn't have to be at the query level, you could achieve this quite easily if the tables were actually linked (rename the Member field so that both tables share the same column name), by selecting the desired date and then applying "Select Excluded" to the Member field. &lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 12:56:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967096#M1220399</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-08-10T12:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: NOT IN in expression or  using the variable</title>
      <link>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967121#M1220401</link>
      <description>&lt;P&gt;i created the join with the tables using the common name Member, but unfortunately i never used the qlikview macros. Are there any work around for this?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 13:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967121#M1220401</guid>
      <dc:creator>gianluca_brick</dc:creator>
      <dc:date>2022-08-10T13:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: NOT IN in expression or  using the variable</title>
      <link>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967137#M1220403</link>
      <description>&lt;P&gt;If you joined the tables, you don't need to use macros - just select the date and then apply "Select Excluded" to the Member field so select all IDs that do *not* have a record for that date (and the rest of your selection, if any applies).&lt;/P&gt;
&lt;P&gt;You could also have a look at using an expression along the lines of&lt;/P&gt;
&lt;P&gt;Only({&amp;lt; Member = e(Data) &amp;gt;} ID)&lt;/P&gt;
&lt;P&gt;Not sure if that specifically will work but you can have a look at using e() in set analysis as a solution.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 13:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967137#M1220403</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-08-10T13:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: NOT IN in expression or  using the variable</title>
      <link>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967159#M1220406</link>
      <description>&lt;P&gt;hi, it works fine.&lt;BR /&gt;There is a way, using of a variable, to automate&amp;nbsp;&lt;SPAN&gt;apply "Select Excluded"?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 13:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NOT-IN-in-expression-or-using-the-variable/m-p/1967159#M1220406</guid>
      <dc:creator>gianluca_brick</dc:creator>
      <dc:date>2022-08-10T13:51:12Z</dc:date>
    </item>
  </channel>
</rss>

