<?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 Nested select in Qlik sense from qvds in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Nested-select-in-Qlik-sense-from-qvds/m-p/1849199#M70184</link>
    <description>&lt;DIV id="bodyDisplay" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;Am new to this Qlik Sense.&lt;/P&gt;
&lt;P&gt;Is it possible to load the data using nested sql select from qvd file. Kindly help on the below query to converting into qlik load.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;"select distinct a.ID,a.Name,max(c.EndDate)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;from [qvd1.qvd] (qvd) a&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;left join [qvd2.qvd] (qvd) c on c.ID=a.ID&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;where a.ID not in (Select distinct b.ID from [qvd1.qvd] (qvd) b where b.EndDate &amp;gt; Today()) &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;group by a.ID"&lt;/STRONG&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 20 Oct 2021 05:20:03 GMT</pubDate>
    <dc:creator>ChethanKumar</dc:creator>
    <dc:date>2021-10-20T05:20:03Z</dc:date>
    <item>
      <title>Nested select in Qlik sense from qvds</title>
      <link>https://community.qlik.com/t5/App-Development/Nested-select-in-Qlik-sense-from-qvds/m-p/1849199#M70184</link>
      <description>&lt;DIV id="bodyDisplay" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;Am new to this Qlik Sense.&lt;/P&gt;
&lt;P&gt;Is it possible to load the data using nested sql select from qvd file. Kindly help on the below query to converting into qlik load.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;"select distinct a.ID,a.Name,max(c.EndDate)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;from [qvd1.qvd] (qvd) a&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;left join [qvd2.qvd] (qvd) c on c.ID=a.ID&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;where a.ID not in (Select distinct b.ID from [qvd1.qvd] (qvd) b where b.EndDate &amp;gt; Today()) &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;group by a.ID"&lt;/STRONG&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Oct 2021 05:20:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nested-select-in-Qlik-sense-from-qvds/m-p/1849199#M70184</guid>
      <dc:creator>ChethanKumar</dc:creator>
      <dc:date>2021-10-20T05:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Nested select in Qlik sense from qvds</title>
      <link>https://community.qlik.com/t5/App-Development/Nested-select-in-Qlik-sense-from-qvds/m-p/1849513#M70219</link>
      <description>&lt;P&gt;Something along the lines of this, using Exists:&lt;/P&gt;
&lt;P&gt;Load distinct ID from qvd1.qvd(qvd) where EndDate &amp;gt; Today();&lt;/P&gt;
&lt;P&gt;Load distinct ID, Name, max(EndDate)&lt;/P&gt;
&lt;P&gt;from qvd1.qvd(qvd)&lt;/P&gt;
&lt;P&gt;Where NOT exists ID&lt;/P&gt;
&lt;P&gt;GROUP BY ID, Name;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that using these WHERE conditions on your QVD loads will result in them not being optimized, so this won't be very fast. Depending on your specific case it may be better to load the entire QVD first and then use Resident Load for the individual tasks.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 13:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nested-select-in-Qlik-sense-from-qvds/m-p/1849513#M70219</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-10-20T13:51:41Z</dc:date>
    </item>
  </channel>
</rss>

