<?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. :Re: Parameters of an SQL Query in QLIKVIEW in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Parameters-of-an-SQL-Query-in-QLIKVIEW/m-p/160718#M34882</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK thank you Correa, i will try later&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Oct 2010 12:45:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-27T12:45:56Z</dc:date>
    <item>
      <title>Parameters of an SQL Query in QLIKVIEW</title>
      <link>https://community.qlik.com/t5/QlikView/Parameters-of-an-SQL-Query-in-QLIKVIEW/m-p/160716#M34880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;I wrote a query ORACLE that requires parameters.&lt;BR /&gt;&lt;BR /&gt;I'd like to load the data set obtained in this query in a table Qlikview.&lt;BR /&gt;&lt;BR /&gt;I do not know how we pass parameters to a query within QlikView.&lt;BR /&gt;&lt;BR /&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 09:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Parameters-of-an-SQL-Query-in-QLIKVIEW/m-p/160716#M34880</guid>
      <dc:creator />
      <dc:date>2010-10-27T09:59:41Z</dc:date>
    </item>
    <item>
      <title>Parameters of an SQL Query in QLIKVIEW</title>
      <link>https://community.qlik.com/t5/QlikView/Parameters-of-an-SQL-Query-in-QLIKVIEW/m-p/160717#M34881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you pass parameters in reload script, you can use the sintax "INPUT".&lt;/P&gt;&lt;P&gt;After you need to read this values into a variables using PEEK function.&lt;/P&gt;&lt;P&gt;In your query, just use the variables.&lt;/P&gt;&lt;P&gt;See example.&lt;/P&gt;&lt;P&gt;Table1:&lt;BR /&gt;Load&lt;BR /&gt;Input('Enter value', 'Input box') as v,&lt;BR /&gt;Recno () as r&lt;BR /&gt;autogenerate 3;&lt;BR /&gt;&lt;BR /&gt;LET vParam1 = PEEK('v', 0, 'Table1');&lt;BR /&gt;LET vParam2 = PEEK('v', 1, 'Table1');&lt;BR /&gt;LET vParam3 = PEEK('v', 2, 'Table1');&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt;Table4:&lt;BR /&gt;LOAD F1 AS TMP2&lt;BR /&gt;RESIDENT Table2&lt;BR /&gt;WHERE F1 &amp;lt;&amp;gt; '$(vParam1)'&lt;BR /&gt; and F1 &amp;lt;&amp;gt; '$(vParam2)'&lt;BR /&gt; and F1 &amp;lt;&amp;gt; '$(vParam3)';&lt;/P&gt;&lt;P&gt;In your SQL (Oracle) script you can use $(vParam1) to number OR '$(vParam1)' to text&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 12:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Parameters-of-an-SQL-Query-in-QLIKVIEW/m-p/160717#M34881</guid>
      <dc:creator />
      <dc:date>2010-10-27T12:41:26Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Parameters of an SQL Query in QLIKVIEW</title>
      <link>https://community.qlik.com/t5/QlikView/Parameters-of-an-SQL-Query-in-QLIKVIEW/m-p/160718#M34882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK thank you Correa, i will try later&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 12:45:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Parameters-of-an-SQL-Query-in-QLIKVIEW/m-p/160718#M34882</guid>
      <dc:creator />
      <dc:date>2010-10-27T12:45:56Z</dc:date>
    </item>
  </channel>
</rss>

