<?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: HANA Direct Query with PLACEHOLDER error in Qlik Learning Discussions</title>
    <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/HANA-Direct-Query-with-PLACEHOLDER-error/m-p/795024#M2324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Caique,&lt;/P&gt;&lt;P&gt;&amp;nbsp; In Where clause we only Hard code value at time of load, but we want --&amp;gt; For example when user select company code value only that value should pass. How we will solve ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Mar 2015 10:13:20 GMT</pubDate>
    <dc:creator>mukesh24</dc:creator>
    <dc:date>2015-03-03T10:13:20Z</dc:date>
    <item>
      <title>HANA Direct Query with PLACEHOLDER error</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/HANA-Direct-Query-with-PLACEHOLDER-error/m-p/795021#M2321</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 connecting to HANA DB View with Direct Discovery and able to fetch correct data from it. When I try to use PLACEHOLDER with my query; QlikView edit script shows wrong syntax error as well as reloading that code gives "Line is not valid" error.&lt;/P&gt;&lt;P&gt;I am connecting HANA DB with ODBC driver. QV ver.11 SR10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my query:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIRECT QUERY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIMENSION&lt;/P&gt;&lt;P&gt;TO_DOUBLE(MON) AS MONTH1, &lt;/P&gt;&lt;P&gt;RYEAR, &lt;/P&gt;&lt;P&gt;RBUKRS,&lt;/P&gt;&lt;P&gt;PRCTR,&lt;/P&gt;&lt;P&gt;RACCT AS Account_Number&lt;/P&gt;&lt;P&gt;MEASURE&lt;/P&gt;&lt;P&gt;TO_DOUBLE(AMOUNT) as AMOUNT,&lt;/P&gt;&lt;P&gt;TO_DOUBLE(PAMOUNT) as PAMOUNT&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;"_SYS_BIC"."Finance_dev.View1/CL_TEST" ('PLACEHOLDER'=('$$IP_YEAR$$','2015')); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Line is not valid&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a syntax error near statement &lt;SPAN style="font-size: 13.3333330154419px;"&gt;('PLACEHOLDER'=('$$IP_YEAR$$','2015'))&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;There is nowhere mentioned in any HANA-QV document on PLACEHOLDER syntax with Direct Query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/////////////////////////////////&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand, when I use simple SQL statement to HANA view with same placeholder; it works correctly.&lt;/P&gt;&lt;P&gt;Below is the SQL Select to HANA view:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL &lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;"_SYS_BIC"."Finance_dev.Dinesh/CL_TEST" ('PLACEHOLDER'=('$$IP_YEAR$$','2015'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//////////////////////////////////&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me in resolving this issue; This is totally screwing my efforts in HANA-QlikView integration POC in our organisation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Parag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 05:33:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/HANA-Direct-Query-with-PLACEHOLDER-error/m-p/795021#M2321</guid>
      <dc:creator />
      <dc:date>2015-01-30T05:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: HANA Direct Query with PLACEHOLDER error</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/HANA-Direct-Query-with-PLACEHOLDER-error/m-p/795022#M2322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We r suffering above issue when we try QV on HANA with Direct Discovery.&lt;/P&gt;&lt;P&gt;Please Provide Solution ... If any 1 having idea about our question...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mukesh Chaudhari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 09:35:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/HANA-Direct-Query-with-PLACEHOLDER-error/m-p/795022#M2322</guid>
      <dc:creator>mukesh24</dc:creator>
      <dc:date>2015-02-19T09:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: HANA Direct Query with PLACEHOLDER error</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/HANA-Direct-Query-with-PLACEHOLDER-error/m-p/795023#M2323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #333333; font-family: 'Segoe UI'; font-size: 18px;"&gt;This will only work if you are loading the table into QlilView. The direct discovery syntax will not support a placeholder and the script execution will fail.&lt;/P&gt;&lt;P style="color: #333333; font-family: 'Segoe UI'; font-size: 18px;"&gt;The workaround is to solve these placeholders inside the calculation view using Hana's functions or use a where clause. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 10:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/HANA-Direct-Query-with-PLACEHOLDER-error/m-p/795023#M2323</guid>
      <dc:creator>Caique_Zaniolo</dc:creator>
      <dc:date>2015-03-03T10:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: HANA Direct Query with PLACEHOLDER error</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/HANA-Direct-Query-with-PLACEHOLDER-error/m-p/795024#M2324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Caique,&lt;/P&gt;&lt;P&gt;&amp;nbsp; In Where clause we only Hard code value at time of load, but we want --&amp;gt; For example when user select company code value only that value should pass. How we will solve ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 10:13:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/HANA-Direct-Query-with-PLACEHOLDER-error/m-p/795024#M2324</guid>
      <dc:creator>mukesh24</dc:creator>
      <dc:date>2015-03-03T10:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: HANA Direct Query with PLACEHOLDER error</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/HANA-Direct-Query-with-PLACEHOLDER-error/m-p/795025#M2325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then you should add this field as a dimension on the direct query and let the used select in the UI. &lt;/P&gt;&lt;P&gt;DIrect discovery will will convert this as a where clause on the fly. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 10:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/HANA-Direct-Query-with-PLACEHOLDER-error/m-p/795025#M2325</guid>
      <dc:creator>Caique_Zaniolo</dc:creator>
      <dc:date>2015-03-03T10:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: HANA Direct Query with PLACEHOLDER error</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/HANA-Direct-Query-with-PLACEHOLDER-error/m-p/795026#M2326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; we are using same thing but we want Placeholder type functionality to improve performance of Direct Discovery query.&lt;/P&gt;&lt;P&gt;Thanks for u r advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 10:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/HANA-Direct-Query-with-PLACEHOLDER-error/m-p/795026#M2326</guid>
      <dc:creator>mukesh24</dc:creator>
      <dc:date>2015-03-03T10:43:41Z</dc:date>
    </item>
  </channel>
</rss>

