<?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 SELECT Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497931#M437758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; hi there,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SELECT statement against the ODBC to retrieve the needed records. But during reload, there is no records to load.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;use preceding load as below:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; nom&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as Nom_FromTest,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; matricule&amp;nbsp;&amp;nbsp;&amp;nbsp; as %E,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; matricule,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `date_in`,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `date_out`&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SELECT &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; * &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM test.employes;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Nov 2013 09:52:12 GMT</pubDate>
    <dc:creator>preminqlik</dc:creator>
    <dc:date>2013-11-08T09:52:12Z</dc:date>
    <item>
      <title>DIRECT SELECT Problem</title>
      <link>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497928#M437755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;who can tell me why a so simple script doesn't load anything from "Test.Employes" table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT32 TO phpmyadmin;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp; MySQL&amp;nbsp; Database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIRECT SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; nom&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as Nom_FromTest,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; matricule&amp;nbsp;&amp;nbsp;&amp;nbsp; as %E,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; matricule,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `date_in`,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `date_out`&lt;/P&gt;&lt;P&gt;FROM test.employes;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Emp:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp; EmpID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as %E,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EmpID,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Prénom,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nom,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fonction&lt;/P&gt;&lt;P&gt;FROM emp.xls&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is [Sheet1$]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the log file where we can see no lines are loaded from DIRECT TABLE.&amp;nbsp; It should load 2 lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;08/11/2013 09:50:28:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DIRECT SELECT&lt;/P&gt;&lt;P&gt;08/11/2013 09:50:28:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nom&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as Nom_FromTest,&lt;/P&gt;&lt;P&gt;08/11/2013 09:50:28:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matricule&amp;nbsp;&amp;nbsp;&amp;nbsp; as %E,&lt;/P&gt;&lt;P&gt;08/11/2013 09:50:28:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matricule,&lt;/P&gt;&lt;P&gt;08/11/2013 09:50:28:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; `date_in`,&lt;/P&gt;&lt;P&gt;08/11/2013 09:50:28:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; `date_out`&lt;/P&gt;&lt;P&gt;08/11/2013 09:50:28:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM test.employes&lt;/P&gt;&lt;P&gt;08/11/2013 09:50:28:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 champs trouvés: Nom_FromTest, %E, matricule, date_in, date_out, &lt;SPAN style="color: #ff0000; text-decoration: underline;"&gt;0 lignes récupérées&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Emp table loads correctly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV Version : 11.20.12018.0 SR3&amp;nbsp; 64bits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your help&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 08:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497928#M437755</guid>
      <dc:creator />
      <dc:date>2013-11-08T08:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: DIRECT SELECT Problem</title>
      <link>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497929#M437756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Direct Discovery doesn't load any record from the Direct table. It just examines the fields you write down in this Select only for associating with other tables in your model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Direct table is created, but empty. During execution, any time QlikView needs the values it runs a SELECT statement against the ODBC to retrieve the needed records. But during reload, there is no records to load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 09:12:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497929#M437756</guid>
      <dc:creator />
      <dc:date>2013-11-08T09:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: DIRECT SELECT Problem</title>
      <link>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497930#M437757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I presume that your employee table is not massive - in which case you probably don't want to be doing a DIRECT select from it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This keyword sets the table up to be used in direct discovery mode - that is that the data from the table is retrieved when the user is using the application rather than at load time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are not intending this to be the case for employees remove the DIRECT prefix and see if that then gives the results you are expecting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 09:14:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497930#M437757</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2013-11-08T09:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: DIRECT SELECT Problem</title>
      <link>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497931#M437758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; hi there,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SELECT statement against the ODBC to retrieve the needed records. But during reload, there is no records to load.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;use preceding load as below:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; nom&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as Nom_FromTest,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; matricule&amp;nbsp;&amp;nbsp;&amp;nbsp; as %E,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; matricule,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `date_in`,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `date_out`&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SELECT &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; * &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM test.employes;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 09:52:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497931#M437758</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2013-11-08T09:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: DIRECT SELECT Problem</title>
      <link>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497932#M437759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you guys for your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes my table are very small, because it is just for testing how it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I understand well I can never see data in table but only as expressions ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 10:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497932#M437759</guid>
      <dc:creator />
      <dc:date>2013-11-08T10:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: DIRECT SELECT Problem</title>
      <link>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497933#M437760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The DIRECT statement is only required for massive tables, where you don't want to store all of the information in memory.&amp;nbsp; Unless you are talking more than tens of millions of employees you don't need to be using it there!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without the DIRECT prefix you should get the data you require.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like you may have a bug in your script though, where you have Date In and Date Out in single quotes.&amp;nbsp; These will be treated as literal strings without column names, and two unnamed columns will probably cause QlikView to bail.&amp;nbsp; You are probably wanting to use square brackets around the field name instead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 10:41:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497933#M437760</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2013-11-08T10:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: DIRECT SELECT Problem</title>
      <link>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497934#M437761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you but there is no bug.&lt;/P&gt;&lt;P&gt;Everything works well (better than my brain).&lt;/P&gt;&lt;P&gt;I thought i could see raw data, but according to Juan's explainations, i understood it is not possible.&lt;/P&gt;&lt;P&gt;However i can count any data coming from Direct table using data from Emp table as dimensions.&lt;/P&gt;&lt;P&gt;I understood it is for a big amount of data but i was just testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 10:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497934#M437761</guid>
      <dc:creator />
      <dc:date>2013-11-08T10:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: DIRECT SELECT Problem</title>
      <link>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497935#M437762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Behind the scenes QlikView will be getting a distinct list of key values from the underlying table to join the data that will be pulled directly into the rest of your in memory data model.&amp;nbsp; I'm not sure if you can query that in order to get a count of rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The simplest route would be to push the query back to the database and simply do a count there:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EmpRowCount:&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EmpRowCount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNT(*) as EmpRowCount&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM test.employes;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You can then use PEEK to put that into a variable, if required.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 11:54:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497935#M437762</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2013-11-08T11:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: DIRECT SELECT Problem</title>
      <link>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497936#M437763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Steve&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 15:38:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497936#M437763</guid>
      <dc:creator />
      <dc:date>2013-11-08T15:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: DIRECT SELECT Problem</title>
      <link>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497937#M437764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Juan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got an additive question to this.&lt;/P&gt;&lt;P&gt;If QV runs ODBC while it needs to fetch the data on demand, does this mean we can store only 1 ODBC connection string into the script ? Or does QV takes the last one or associate previous ODBC with next DIRECT SELECT ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 13:04:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497937#M437764</guid>
      <dc:creator />
      <dc:date>2014-01-20T13:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: DIRECT SELECT Problem</title>
      <link>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497938#M437765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can include as many connections (ODBC, OLEDB, etc.) as you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Direct Discovery QlikView takes the previous one to the DIRECT sentence to run the queries during analysis time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 11:41:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497938#M437765</guid>
      <dc:creator />
      <dc:date>2014-01-21T11:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: DIRECT SELECT Problem</title>
      <link>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497939#M437766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Muchas gracias Juan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hasta la vista&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 13:10:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DIRECT-SELECT-Problem/m-p/497939#M437766</guid>
      <dc:creator />
      <dc:date>2014-01-21T13:10:13Z</dc:date>
    </item>
  </channel>
</rss>

