<?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 How to use nested query in qlik view reports. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-nested-query-in-qlik-view-reports/m-p/315855#M1199262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best practice would be to try to break down all these queries to make a data model that only contains the relationship between tables. Aggregation should be done on the graphic side of QlikView and not pre-made in the script since QlikView is not a report generator.&lt;/P&gt;&lt;P&gt;However you should be able to paste the SQL statement into you load statement. For example,&lt;/P&gt;&lt;P&gt;Load *;&lt;BR /&gt;SQL (Paste your statement);&lt;/P&gt;&lt;P&gt;If the ODBC or OLEDB supports the creation of temporary tables from nested selects then there should be no problem.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2011 13:48:30 GMT</pubDate>
    <dc:creator>pover</dc:creator>
    <dc:date>2011-03-23T13:48:30Z</dc:date>
    <item>
      <title>How to use nested query in qlik view reports.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-nested-query-in-qlik-view-reports/m-p/315854#M1199261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the sql which have nested queries . I am not able to understand how to use nested query in the qlik view report.&lt;/P&gt;&lt;P&gt;In my query temp table has been created and then the column of the temp table is used in where condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;SELECT tmp.roster_cnt &lt;P&gt;&lt;/P&gt;SELECT tmp.roster_cnt &lt;P&gt;SELECT tmp.roster_cnt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;as total_count, w.territory_name FROM web_track_appts w &lt;P&gt;(SELECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NVL(SUM(WI.ROSTER_CNT), 0) roster_cnt, territory_name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;FROM WEB_TRACK_APPTS WI&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT DISTINCT WRKEVNTID FROM WEB_TRACK_APPTS where appt_cnt is not null) &lt;STRONG&gt;temp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;where wi.wrkevnt=temp.wrkevnt group by territory_name) &lt;STRONG&gt;temp&lt;/STRONG&gt; &lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;where w.territory_name=temp.territory_name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion how to proceed on this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 13:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-nested-query-in-qlik-view-reports/m-p/315854#M1199261</guid>
      <dc:creator />
      <dc:date>2011-03-23T13:04:43Z</dc:date>
    </item>
    <item>
      <title>How to use nested query in qlik view reports.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-nested-query-in-qlik-view-reports/m-p/315855#M1199262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best practice would be to try to break down all these queries to make a data model that only contains the relationship between tables. Aggregation should be done on the graphic side of QlikView and not pre-made in the script since QlikView is not a report generator.&lt;/P&gt;&lt;P&gt;However you should be able to paste the SQL statement into you load statement. For example,&lt;/P&gt;&lt;P&gt;Load *;&lt;BR /&gt;SQL (Paste your statement);&lt;/P&gt;&lt;P&gt;If the ODBC or OLEDB supports the creation of temporary tables from nested selects then there should be no problem.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 13:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-nested-query-in-qlik-view-reports/m-p/315855#M1199262</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-03-23T13:48:30Z</dc:date>
    </item>
    <item>
      <title>How to use nested query in qlik view reports.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-nested-query-in-qlik-view-reports/m-p/315856#M1199263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do i need to create the different qvd file and then make the relation between those files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 06:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-nested-query-in-qlik-view-reports/m-p/315856#M1199263</guid>
      <dc:creator />
      <dc:date>2011-03-24T06:50:56Z</dc:date>
    </item>
    <item>
      <title>How to use nested query in qlik view reports.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-nested-query-in-qlik-view-reports/m-p/315857#M1199264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you using QVDs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 21:56:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-nested-query-in-qlik-view-reports/m-p/315857#M1199264</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-03-25T21:56:50Z</dc:date>
    </item>
    <item>
      <title>How to use nested query in qlik view reports.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-nested-query-in-qlik-view-reports/m-p/315858#M1199265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am executing the sql query and storing that in my qvd file. this file i am using in my report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 10:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-nested-query-in-qlik-view-reports/m-p/315858#M1199265</guid>
      <dc:creator />
      <dc:date>2011-03-28T10:58:18Z</dc:date>
    </item>
  </channel>
</rss>

