<?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: Is it work or not in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-it-work-or-not/m-p/985958#M336304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to avoid fetching all the empno records to filter in QV, but rather fetch only those that match you can pass the list of EMPNOs to the SQL query in a variable like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;LOAD Concat(EMPNO, ',') As EmpNos&lt;/P&gt;&lt;P&gt;FROM EMP.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vEmpNos = Peek('EmpNos');&lt;/P&gt;&lt;P&gt;Drop Table T1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL &lt;/P&gt;&lt;P&gt;select empno as EMPNO, ename, job, mgr, hiredate, sal, comm, deptno &lt;/P&gt;&lt;P&gt;from emp where empno in ($(vEmpNos));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2015 06:48:32 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2015-08-25T06:48:32Z</dc:date>
    <item>
      <title>Is it work or not</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-work-or-not/m-p/985954#M336300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI every one i have to apply this thing in qlikview how i do this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EMPNO:&lt;/P&gt;&lt;P&gt;select a.empno,a.ename,a.job,a.mgr,a.hiredate,a.sal,a.comm,a.deptno from emp a &lt;/P&gt;&lt;P&gt;where a.empno in (&lt;/P&gt;&lt;P&gt;LOAD EMPNO&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;EMP.qvd&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;store EMPNO into EMPNO.qvd (qvd);&lt;/P&gt;&lt;P&gt;DROP table EMPNO;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;got error missing right parenthesis&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 05:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-work-or-not/m-p/985954#M336300</guid>
      <dc:creator />
      <dc:date>2015-08-25T05:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is it work or not</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-work-or-not/m-p/985955#M336301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try loading EMP.qvd first, and then load your initial EMPNO: script with Exist clause to check EMPNO already exists or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 05:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-work-or-not/m-p/985955#M336301</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2015-08-25T05:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is it work or not</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-work-or-not/m-p/985956#M336302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the rerply but i have only one qvd which is emp.qvd and the result which the select statement return is stored into the empno qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In nutshell the result of&amp;nbsp; this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD EMPNO&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;EMP.qvd&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;will pass to the select statement and then save into new qvd which is empno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 05:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-work-or-not/m-p/985956#M336302</guid>
      <dc:creator />
      <dc:date>2015-08-25T05:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is it work or not</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-work-or-not/m-p/985957#M336303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;you cannot use a Qlik statement (load EMPNO from EMP.qvd) in a SQL statement (select ....) because the select is executed at the database side and the database doesn't know and can't execute the Qlik statement&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;try with a preceding load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;tmp:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;LOAD EMPNO&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;EMP.qvd&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;EMPNO:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;load * where exists(EMPNO);&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;SQL &lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;select a.empno,a.ename,a.job,a.mgr,a.hiredate,a.sal,a.comm,a.deptno from emp ;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="line-height: 1.5em;"&gt;store EMPNO into EMPNO.qvd (qvd);&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;DROP table EMPNO, tmp;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 06:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-work-or-not/m-p/985957#M336303</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-08-25T06:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is it work or not</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-work-or-not/m-p/985958#M336304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to avoid fetching all the empno records to filter in QV, but rather fetch only those that match you can pass the list of EMPNOs to the SQL query in a variable like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;LOAD Concat(EMPNO, ',') As EmpNos&lt;/P&gt;&lt;P&gt;FROM EMP.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vEmpNos = Peek('EmpNos');&lt;/P&gt;&lt;P&gt;Drop Table T1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL &lt;/P&gt;&lt;P&gt;select empno as EMPNO, ename, job, mgr, hiredate, sal, comm, deptno &lt;/P&gt;&lt;P&gt;from emp where empno in ($(vEmpNos));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 06:48:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-work-or-not/m-p/985958#M336304</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-25T06:48:32Z</dc:date>
    </item>
  </channel>
</rss>

