<?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: Issue with where Exists clause in Qlik SaaS in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Issue-with-where-Exists-clause-in-Qlik-SaaS/m-p/2492163#M102149</link>
    <description>&lt;P&gt;I have seen some differences between the SAP connectors, which has been due to the differences between ODBC (QSEoW) and JDBC (Qlik Cloud).&lt;BR /&gt;&lt;BR /&gt;My recommendation would be to load Table 2 without the Exists condition and see if the values associate. Also take a look in the data preview in the data model view.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would do this test including the Load statement and with just the SQL statement.&amp;nbsp; Reason being that Qlik does some typing magic during the Load statement that may not present itself when just doing the SELECT.&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Example:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;With&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Load
A as [Product ID],
B as Plant,
C as Location,
D,
E
;
Select
A,
B,
C,
D,
E
From Table2;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Without&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SQL SELECT
A as "Product ID",
B as Plant,
C as Location,
D,
E
From Table2;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2024 03:07:44 GMT</pubDate>
    <dc:creator>treysmithdev</dc:creator>
    <dc:date>2024-11-12T03:07:44Z</dc:date>
    <item>
      <title>Issue with where Exists clause in Qlik SaaS</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-where-Exists-clause-in-Qlik-SaaS/m-p/2492145#M102145</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am trying to load the following inline table and then load only load those IDs from this table in the next table but I get a "0 lines fetched" message for the second table. This code is working fine in the client managed version, but not in the cloud. Any help on this?&lt;/P&gt;
&lt;P&gt;Table1:&lt;/P&gt;
&lt;P&gt;Load * Inline&lt;/P&gt;
&lt;P&gt;[ Product Name, Product ID, Product Name New&lt;/P&gt;
&lt;P&gt;One, 1R, First&lt;/P&gt;
&lt;P&gt;Two, 1-1R, First&lt;/P&gt;
&lt;P&gt;Three, 2R, Second&lt;/P&gt;
&lt;P&gt;Four, 2-1R, Second&lt;/P&gt;
&lt;P&gt;]&lt;/P&gt;
&lt;P&gt;Qualify*;&lt;/P&gt;
&lt;P&gt;Unqualify [Product ID];&lt;/P&gt;
&lt;P&gt;Load A as [Product ID],&lt;/P&gt;
&lt;P&gt;B as Plant,&lt;/P&gt;
&lt;P&gt;C as Location,&lt;/P&gt;
&lt;P&gt;D&lt;/P&gt;
&lt;P&gt;E&lt;/P&gt;
&lt;P&gt;where exists(Product ID, A);&lt;/P&gt;
&lt;P&gt;Select A,&lt;/P&gt;
&lt;P&gt;B,&lt;/P&gt;
&lt;P&gt;C,&lt;/P&gt;
&lt;P&gt;D,&lt;/P&gt;
&lt;P&gt;E&lt;/P&gt;
&lt;P&gt;From Table2;&lt;/P&gt;
&lt;P&gt;This is the sample script that resembles my original script where I am trying to load only those product IDs that are in the above inline table from SAP.&lt;/P&gt;
&lt;P&gt;So, when I use A in the front end it should only contain - 1R, 1-1R, 2R and 2-1R. But, I see other values that are in A.&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Apoorva&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 22:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-where-Exists-clause-in-Qlik-SaaS/m-p/2492145#M102145</guid>
      <dc:creator>Apoorva_sd</dc:creator>
      <dc:date>2024-11-11T22:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with where Exists clause in Qlik SaaS</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-where-Exists-clause-in-Qlik-SaaS/m-p/2492163#M102149</link>
      <description>&lt;P&gt;I have seen some differences between the SAP connectors, which has been due to the differences between ODBC (QSEoW) and JDBC (Qlik Cloud).&lt;BR /&gt;&lt;BR /&gt;My recommendation would be to load Table 2 without the Exists condition and see if the values associate. Also take a look in the data preview in the data model view.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would do this test including the Load statement and with just the SQL statement.&amp;nbsp; Reason being that Qlik does some typing magic during the Load statement that may not present itself when just doing the SELECT.&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Example:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;With&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Load
A as [Product ID],
B as Plant,
C as Location,
D,
E
;
Select
A,
B,
C,
D,
E
From Table2;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Without&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SQL SELECT
A as "Product ID",
B as Plant,
C as Location,
D,
E
From Table2;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 03:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-where-Exists-clause-in-Qlik-SaaS/m-p/2492163#M102149</guid>
      <dc:creator>treysmithdev</dc:creator>
      <dc:date>2024-11-12T03:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with where Exists clause in Qlik SaaS</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-where-Exists-clause-in-Qlik-SaaS/m-p/2492172#M102152</link>
      <description>&lt;P&gt;Try below script,&lt;/P&gt;
&lt;DIV&gt;Table1:&lt;/DIV&gt;
&lt;DIV&gt;Load * Inline [&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Product Name, Product ID, Product Name New&lt;/DIV&gt;
&lt;DIV&gt;One, 1R, First&lt;/DIV&gt;
&lt;DIV&gt;Two, 1-1R, First&lt;/DIV&gt;
&lt;DIV&gt;Three, 2R, Second&lt;/DIV&gt;
&lt;DIV&gt;Four, 2-1R, Second&lt;/DIV&gt;
&lt;DIV&gt;];&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Table2:&lt;/DIV&gt;
&lt;DIV&gt;Load A as [Product ID],&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; B as Plant,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;C as Location,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;D,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;E Where Exists([Product ID],A);&lt;/DIV&gt;
&lt;DIV&gt;Select A,&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; &amp;nbsp; &amp;nbsp;B,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;D,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;E&lt;/DIV&gt;
&lt;DIV&gt;From Table2;&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Nov 2024 04:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-where-Exists-clause-in-Qlik-SaaS/m-p/2492172#M102152</guid>
      <dc:creator>Muthukumar_77</dc:creator>
      <dc:date>2024-11-12T04:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with where Exists clause in Qlik SaaS</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-where-Exists-clause-in-Qlik-SaaS/m-p/2492407#M102182</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Thank you for the response! The values do associate when I do not use the "Exists" function.&lt;/P&gt;
&lt;P&gt;I had to save the table I loaded from SAP to a QVD and then loaded the data from this QVD where I applied the where exists clause, that worked. So, the issue has been resolved.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 23:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-where-Exists-clause-in-Qlik-SaaS/m-p/2492407#M102182</guid>
      <dc:creator>Apoorva_sd</dc:creator>
      <dc:date>2024-11-12T23:35:23Z</dc:date>
    </item>
  </channel>
</rss>

