<?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: Passing the variables to QlikView Externally in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Passing-the-variables-to-QlikView-Externally/m-p/437530#M163154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surendra,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did you try passing the variable from command line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;qv.exe /r/vMyvar=1 QV1.qvw&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/v&amp;nbsp; is for passing variable and there is no space between /v and variable name.&lt;/P&gt;&lt;P&gt;Let me know if it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Anand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 May 2013 08:21:51 GMT</pubDate>
    <dc:creator>anandathome</dc:creator>
    <dc:date>2013-05-08T08:21:51Z</dc:date>
    <item>
      <title>Passing the variables to QlikView Externally</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-variables-to-QlikView-Externally/m-p/437529#M163153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a queery on passing the variable to qlikview externally.&lt;/P&gt;&lt;P&gt;To be clear we've a loader that reloads the qvds corresponding to two different qvws. eg: if the variable vReload=1 it refreshes the qvds corresponding to first qvw, else if vReload=2 it refreshes the qvds corresponding to second qvw.&lt;/P&gt;&lt;P&gt;I have created a batch to reload this Loader.&lt;/P&gt;&lt;P&gt;My question is whether we can pass this variable externally from batch so that we can reload what we want. I would also like to know if we can pass the variable from QlikView Publisher reload.&lt;/P&gt;&lt;P&gt;Kindly advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Surendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 07:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-variables-to-QlikView-Externally/m-p/437529#M163153</guid>
      <dc:creator />
      <dc:date>2013-05-08T07:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the variables to QlikView Externally</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-variables-to-QlikView-Externally/m-p/437530#M163154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surendra,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did you try passing the variable from command line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;qv.exe /r/vMyvar=1 QV1.qvw&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/v&amp;nbsp; is for passing variable and there is no space between /v and variable name.&lt;/P&gt;&lt;P&gt;Let me know if it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Anand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 08:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-variables-to-QlikView-Externally/m-p/437530#M163154</guid>
      <dc:creator>anandathome</dc:creator>
      <dc:date>2013-05-08T08:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the variables to QlikView Externally</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-variables-to-QlikView-Externally/m-p/437531#M163155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surendra,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did this work for you? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Anand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 11:50:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-variables-to-QlikView-Externally/m-p/437531#M163155</guid>
      <dc:creator>anandathome</dc:creator>
      <dc:date>2013-05-08T11:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Passing the variables to QlikView Externally</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-the-variables-to-QlikView-Externally/m-p/437532#M163156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm really sorry that I couldn't reply to you yesterday.&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;My question is how does qlikview&amp;nbsp; take the variable to reload it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I'm using the below batch script to reload it&lt;/P&gt;&lt;P&gt;"C:\Program Files\QlikView\QV.exe" /r /vRun="2" "C:\Users\surendra-m\Desktop\SOW.qvw"&lt;/P&gt;&lt;P&gt;The reload fails since qvw could n't pick the variable we're supplying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the QlikView script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vRun=;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if $(vRun)=1 then &lt;BR /&gt;[AppTickets]:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Application, No of Tickets&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actual Spend, 14&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BCP, 4&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GIS, 17&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPTI, 15&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Other QlikView Applications, 22&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; General Activities, 9&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if $(vRun)=2 then&lt;/P&gt;&lt;P&gt;Tickets:&lt;BR /&gt;LOAD Month, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; left(Month,3)&amp;amp;'-'&amp;amp;Right(Year,2) as MonthYear,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Service, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Incident, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Non GPTI Applications]&lt;BR /&gt;FROM&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;end if&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 07:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-the-variables-to-QlikView-Externally/m-p/437532#M163156</guid>
      <dc:creator />
      <dc:date>2013-05-09T07:52:55Z</dc:date>
    </item>
  </channel>
</rss>

