<?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 Writing SubQuerry in QlikView in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Writing-SubQuerry-in-QlikView/m-p/196101#M56313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Bjorn,&lt;/P&gt;&lt;P&gt;Thanks for the suggestion, but the problem is i dont have rights to create or access the views, i can fetch the data from views which are already created&lt;/P&gt;&lt;P&gt;I myself have to build the querry in QlikView&lt;/P&gt;&lt;P&gt;Is thr any other way to explore that subquerry part in qlikView,&lt;/P&gt;&lt;P&gt;Development of 5 reports got stuck bcoz of this querry, exceeding the timelines alotted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Feb 2011 06:36:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-03T06:36:33Z</dc:date>
    <item>
      <title>Writing SubQuerry in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-SubQuerry-in-QlikView/m-p/196099#M56311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;This is very urgent,&lt;/P&gt;&lt;P&gt;I have a sql querry, constructed it but finding difficulty in the subquerry part,&lt;/P&gt;&lt;P&gt;" DECODE(A.receipt_for,'N','NORMAL',&lt;BR /&gt; (SELECT description&lt;BR /&gt; FROM CR_GENE_PARA&lt;BR /&gt; WHERE key1='RECEIPT' AND VALUE=A.RECEIPT_FOR AND BRANCHID=A.BRANCHID)) RECEIPT_PURPOSE "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How will i use this in qlikView, if someone having idea abt this Please share------------------ following is the full Querry&lt;BR /&gt;I want to know the logic and syntax for this.&lt;/P&gt;&lt;P&gt;""&lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt;DISTINCT&lt;BR /&gt;&lt;BR /&gt; d.AGREEMENTID,d.AGREEMENTNO,c.advicetype,&lt;BR /&gt; e.Customername,&lt;BR /&gt; A.CHEQUEID,A.DEALINGBANKID,A.PAYMENTMODE,A.CHEQUENUM,&lt;BR /&gt; A.CHEQUEDATE,A.CHEQUEAMT,A.DRAWNON,A.TOWARDS,&lt;BR /&gt; TO_CHAR(A.CHEQUESENTDATE,'dd-mon-yyyy')"RECEIVED_DATE",&lt;BR /&gt; A.CITY,A.STATUS,&lt;BR /&gt; TO_CHAR(A.DEPOSITDATE,'dd-mon-yyyy')"DEPOSITDATE",&lt;BR /&gt; TO_CHAR(A.REALIZATIONDATE,'dd-mon-yyyy')"REALIZATIONDATE",&lt;BR /&gt; A.CREATEDBY,A.AUTHORIZEDBY,&lt;BR /&gt; TO_CHAR(A.AUTHORIZATIONDATE,'dd-mon-yyyy')"AUTHORIZATIONDATE",&lt;BR /&gt; A.BRANCHID,A.PRODUCTID,A.AUTOALLOC,A.MULTI_LOAN,&lt;BR /&gt; TO_CHAR(A.PRESENTATIONDATE,'dd-mon-yyyy')"PRESENTATIONDATE",&lt;BR /&gt; A.RECEIPT_NO,A.CHEQUESENTDATE,A.FINWARE_ACNO,A.MICR_CODE,&lt;BR /&gt; A.RECEIPTNO,A.BANKID,A.PDCFLAG, A.AGENCYID,f.AGENCYCODE, f.AGENCYNAME,&lt;BR /&gt; g.PAYINSLIPID,g.PAYINSLIPDATE,A.REASONID,h.DESCRIPTION,h.DEL_FLAG,&lt;BR /&gt; DECODE(A.receipt_for,'N','NORMAL',&lt;BR /&gt; (SELECT description&lt;BR /&gt; FROM CR_GENE_PARA&lt;BR /&gt; WHERE key1='RECEIPT' AND VALUE=A.RECEIPT_FOR AND BRANCHID=A.BRANCHID)) RECEIPT_PURPOSE&lt;BR /&gt; --,a.*&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;&lt;BR /&gt; NBFC_CHEQUE_DTL A,&lt;BR /&gt; NBFC_PMNT_DTL b ,&lt;BR /&gt; NBFC_TXN_ADVICE_DTL c,&lt;BR /&gt; LEA_AGREEMENT_DTL d,&lt;BR /&gt; nbfc_customer_m e,&lt;BR /&gt; LEA_AGENCY_M f,&lt;BR /&gt; FA_PAYINSLIP_DTL g,&lt;BR /&gt; PDC_REASON_MST h&lt;/P&gt;&lt;P&gt;WHERE A.CHEQUEID=b.CHEQUEID(+)&lt;BR /&gt; AND b.TXNADVICEID=c.TXNADVICEID(+)&lt;BR /&gt; AND A.REFERENCE =d.AGREEMENTID&lt;BR /&gt; AND d.LESSEEID=e.CUSTOMERID&lt;BR /&gt; AND A.AGENCYID=f.AGENCYID(+)&lt;BR /&gt; AND A.CHEQUEID=g.CHEQUEID(+)&lt;BR /&gt; AND A.REASONID = h.REASONID(+)&lt;BR /&gt; AND NVL(c.status,'0') &amp;lt;&amp;gt;'X'&lt;BR /&gt; AND A.MC_STATUS IN ('A','C','N','P')&lt;BR /&gt; --AND d.agreementno='RLLPMUM000045880'&lt;BR /&gt; --AND A.chequeid IN ('10099385','10099388','10099485','10070866')&lt;BR /&gt; AND A.depositdate BETWEEN '15-NOV-2010' AND SYSDATE-1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 14:44:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-SubQuerry-in-QlikView/m-p/196099#M56311</guid>
      <dc:creator />
      <dc:date>2011-02-01T14:44:26Z</dc:date>
    </item>
    <item>
      <title>Writing SubQuerry in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-SubQuerry-in-QlikView/m-p/196100#M56312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;Can't you just store it as a view in your db and query the view from QV, instead of rebuilding the whole logic using QV script? Or, what if you just copy/paste the whole query into a SQL SELECT -statement in the QV script, and end it with a ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;BR /&gt; DISTINCT&lt;BR /&gt; d.AGREEMENTID,d.AGREEMENTNO,c.advicetype,&lt;/P&gt;&lt;P&gt;e.Customername,&lt;BR /&gt; A.CHEQUEID,A.DEALINGBANKID,A.PAYMENTMODE,A.CHEQUENUM,&lt;BR /&gt; A.CHEQUEDATE,A.CHEQUEAMT,A.DRAWNON,A.TOWARDS&lt;BR /&gt; .....&lt;BR /&gt; AND A.depositdate BETWEEN '15-NOV-2010' AND SYSDATE-1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might be that that comments you have in the query will give you issues in QV, so try removing the lines starting with --.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Bjorn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 13:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-SubQuerry-in-QlikView/m-p/196100#M56312</guid>
      <dc:creator>Bjorn_Wedbratt</dc:creator>
      <dc:date>2011-02-02T13:10:17Z</dc:date>
    </item>
    <item>
      <title>Writing SubQuerry in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-SubQuerry-in-QlikView/m-p/196101#M56313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Bjorn,&lt;/P&gt;&lt;P&gt;Thanks for the suggestion, but the problem is i dont have rights to create or access the views, i can fetch the data from views which are already created&lt;/P&gt;&lt;P&gt;I myself have to build the querry in QlikView&lt;/P&gt;&lt;P&gt;Is thr any other way to explore that subquerry part in qlikView,&lt;/P&gt;&lt;P&gt;Development of 5 reports got stuck bcoz of this querry, exceeding the timelines alotted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 06:36:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-SubQuerry-in-QlikView/m-p/196101#M56313</guid>
      <dc:creator />
      <dc:date>2011-02-03T06:36:33Z</dc:date>
    </item>
  </channel>
</rss>

