<?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: Question about direct query in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445956#M808007</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd have to see the application and the connection to the database. Did you read through the documentation to see if any variable could help you in refreshing this data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Oct 2017 12:12:11 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2017-10-27T12:12:11Z</dc:date>
    <item>
      <title>Question about direct query</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445949#M808000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use direct select in Qlikview Personal Edition 12.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this query in scripts editor and it works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT32 TO [odbc_consumo;DBQ=C:\.........\ficheros\modelo_estrella.mdb];&lt;/P&gt;&lt;P&gt;SQL SELECT cod_cliente,cod_periodo,cod_segmento,cod_tarifa,cod_terminal,hc_consumo&lt;/P&gt;&lt;P&gt;FROM hc_consumo;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am trying to use in direct mode:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ODBC CONNECT32 TO [odbc_consumo;DBQ=C:\.........\ficheros\modelo_estrella.mdb];&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;DIRECT SELECT cod_cliente,cod_periodo,cod_segmento,cod_tarifa,cod_terminal,hc_consumo&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;FROM hc_consumo;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;But it doesn' work.....teh error is&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;H2 style="font-size: 13.3333px;"&gt;"No Direct statement&lt;/H2&gt;&lt;P&gt;DIRECT SELECT cod_cliente,cod_periodo,cod_segmento,cod_tarifa,cod_terminal,hc_consumo&lt;/P&gt;&lt;P&gt;FROM hc_consumo"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me?&lt;/P&gt;&lt;H2 style="font-size: 13.3333px;"&gt;&lt;/H2&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445949#M808000</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Question about direct query</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445950#M808001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The DIRECT statement is to be used with the QUERY syntax instead of SQL SELECT. See here for more information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-6917"&gt;QlikView Direct Discovery FAQ 11.2 SR7.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-8537"&gt;Direct Discovery Technical Addendum_11.2_SR11_and_Sense.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/DirectDiscovery/direct-discovery-introduction.htm" title="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/DirectDiscovery/direct-discovery-introduction.htm"&gt;Direct Discovery ‒ QlikView&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/ScriptRegularStatements/direct-query.htm" title="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/ScriptRegularStatements/direct-query.htm"&gt;Direct Query ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 09:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445950#M808001</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-10-27T09:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Question about direct query</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445951#M808002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel Angel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I work in direct query mode, is there anyway to regresh a graph when database data has changed.&lt;/P&gt;&lt;P&gt;Something similar to 'refresh' to see the new data in the graph&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 10:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445951#M808002</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-27T10:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Question about direct query</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445952#M808003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Short answer is you don't need to reload, in general.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Longer answer is that since the values of the dimensions in the query are stored into the in-memory data model, and every time you click on the chart the SQL query is executed, as long as the dimensional values and fields in the chart remain the same, then there is no need to reload. QlikView will not know whether the data in the underlying database has changed, it sends the SQL query, and take the resulting values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 11:21:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445952#M808003</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-10-27T11:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Question about direct query</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445953#M808004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel Angel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my project , I don't see any refreh. I change the data o in Oracle database (commit changes(&lt;/P&gt;&lt;P&gt;and make a selection y mu qlik doc, but it remains the old values.&lt;/P&gt;&lt;P&gt;This is mu code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [odbc_oracle;DBQ=XE] (XUserId is cbdRGCdKfKQKEJdJcH, XPassword is cKSNOCdKSBMCTbAO);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Direct Query&lt;/P&gt;&lt;P&gt;Dimension COD_CLIENTE,COD_PERIODO,COD_TARIFA&amp;nbsp; &lt;/P&gt;&lt;P&gt;Measure HC_CONSUMO &lt;/P&gt;&lt;P&gt;from DW_AERO.HC_CONSUMO; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 11:32:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445953#M808004</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-27T11:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Question about direct query</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445954#M808005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If there are new values in COD_CLIENTE, COD_PERIODO or COD_TARIFA then it will not refresh, because those values MUST be in-memory, and therefore you need to reload the whole application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are new values only in HC_CONSUMO, it should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 11:42:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445954#M808005</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-10-27T11:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Question about direct query</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445955#M808006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am only changing hc_consumo, I am updating and existing row in database and I only change&lt;/P&gt;&lt;P&gt;hc_consumo.&lt;/P&gt;&lt;P&gt;If I close and open the doc the the value refresh, but when I make selection it dosen't...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have to change something in the chart?, do it depend on the odbc conector?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 11:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445955#M808006</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-27T11:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Question about direct query</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445956#M808007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd have to see the application and the connection to the database. Did you read through the documentation to see if any variable could help you in refreshing this data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 12:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445956#M808007</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-10-27T12:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Question about direct query</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445957#M808008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't share the doc because I am working with Personal Edition&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 12:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445957#M808008</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-27T12:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Question about direct query</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445958#M808009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It could be the time the query is cached, using the variable DirectCacheSeconds, by default set to one hour. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can say it works because I have several applications reading from HANA that we only reload once every day to refresh the master data, but the fact data remains (no new columns). HANA is updated more often and the charts display the right values (i.e.: same as in HANA).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 12:21:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445958#M808009</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-10-27T12:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Question about direct query</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445959#M808010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel Angel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it's working better, but not fine...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I update database filed hc_consumo=value1 in a row of cod_periodo = 201706 and I make a selection in Qlikview in the chart for cod_periodo = 201706 then I see the new value, but when I return to the whole chart (no selection)&lt;/P&gt;&lt;P&gt;I see the old value (value0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I make other change in hc_consumo=value2 in the same cod_periodo = 201706&lt;/P&gt;&lt;P&gt;then it doesn't change even if i make a selection I see the value of the first change (value1), and in the whole chart the old value (value0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the normal way of working of direct query??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 12:24:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445959#M808010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-27T12:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Question about direct query</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445960#M808011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help Miguel Angel.&lt;/P&gt;&lt;P&gt;This was the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 12:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445960#M808011</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-27T12:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Question about direct query</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445961#M808012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Question. Did you ever get an answer to this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 20:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445961#M808012</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2018-03-28T20:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Question about direct query</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445962#M808013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it was a question of cache as it was answered in previous posts&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 07:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-direct-query/m-p/1445962#M808013</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-29T07:58:33Z</dc:date>
    </item>
  </channel>
</rss>

