<?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: Direct Discovery does not support SQL in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Direct-Discovery-does-not-support-SQL/m-p/479355#M179083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView DD will run one SQL query for each dimension column to build the symbol tables in this form:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT MyDimField1 FROM MyTable GROUP BY MyDimField1;&lt;/P&gt;&lt;P&gt;SELECT MyDimField2 FROM MyTable GROUP BY MyDimField2;&lt;/P&gt;&lt;P&gt;SELECT MyDimField3 FROM MyTable GROUP BY MyDimField3;&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means it takes a lot of time if you have many dimensional fields and/or many records. And, it will nearly impossible to finish if you have large amounts of data or a Big Data source (probably never come back..) because this is running against the &lt;STRONG&gt;fact table&lt;/STRONG&gt;! So, there are a few other ways to do this but in the moment we have no alternatives here like to do a query rewrite or provide own queries/data to feed the symbol tables..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Nov 2013 09:57:46 GMT</pubDate>
    <dc:creator>rbecher</dc:creator>
    <dc:date>2013-11-05T09:57:46Z</dc:date>
    <item>
      <title>Direct Discovery does not support SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Direct-Discovery-does-not-support-SQL/m-p/479352#M179080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Why does Direct Select not like SQL that contains Derived Tables, CASE's etc?&lt;/P&gt;&lt;P&gt;It seems to only allow simple Select .. from TableName .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone out there doing anything beyond simple with DD?&lt;/P&gt;&lt;P&gt;Doco is lacking at this point &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 21:59:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Direct-Discovery-does-not-support-SQL/m-p/479352#M179080</guid>
      <dc:creator>paul_scotchford</dc:creator>
      <dc:date>2013-11-04T21:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Discovery does not support SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Direct-Discovery-does-not-support-SQL/m-p/479353#M179081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use a database view inbetween to encapsulate more database related SQL functionality..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 22:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Direct-Discovery-does-not-support-SQL/m-p/479353#M179081</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-11-04T22:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Discovery does not support SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Direct-Discovery-does-not-support-SQL/m-p/479354#M179082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have tried this, however QV seems to spend a lot of time fetching from the view at QVW model load time.&lt;/P&gt;&lt;P&gt;The time to do this was over 3 hours for a view that would run natively in a matter of minutes. I'd be curious to know what QV does during model load ?&lt;/P&gt;&lt;P&gt;We will defer for now until SR5 is released as this is not workable for us.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 02:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Direct-Discovery-does-not-support-SQL/m-p/479354#M179082</guid>
      <dc:creator>paul_scotchford</dc:creator>
      <dc:date>2013-11-05T02:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Discovery does not support SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Direct-Discovery-does-not-support-SQL/m-p/479355#M179083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView DD will run one SQL query for each dimension column to build the symbol tables in this form:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT MyDimField1 FROM MyTable GROUP BY MyDimField1;&lt;/P&gt;&lt;P&gt;SELECT MyDimField2 FROM MyTable GROUP BY MyDimField2;&lt;/P&gt;&lt;P&gt;SELECT MyDimField3 FROM MyTable GROUP BY MyDimField3;&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means it takes a lot of time if you have many dimensional fields and/or many records. And, it will nearly impossible to finish if you have large amounts of data or a Big Data source (probably never come back..) because this is running against the &lt;STRONG&gt;fact table&lt;/STRONG&gt;! So, there are a few other ways to do this but in the moment we have no alternatives here like to do a query rewrite or provide own queries/data to feed the symbol tables..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 09:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Direct-Discovery-does-not-support-SQL/m-p/479355#M179083</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-11-05T09:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Discovery does not support SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Direct-Discovery-does-not-support-SQL/m-p/479356#M179084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the feedback Ralf, our QV consultant set me straight, I had coded all fields in the 'Direct Select' statement, which of course was me cutting and&amp;nbsp; pasting , I only needed the key field in the Select, as all others are implicit per the DD documentation.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 22:00:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Direct-Discovery-does-not-support-SQL/m-p/479356#M179084</guid>
      <dc:creator>paul_scotchford</dc:creator>
      <dc:date>2013-11-05T22:00:50Z</dc:date>
    </item>
  </channel>
</rss>

