<?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: store value of load statement in variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/store-value-of-load-statement-in-variable/m-p/410434#M694893</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;use peek function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX: let rate=&lt;SPAN class="Code"&gt;peek( 'FieldName', 0, 'TableName' )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 May 2013 10:21:52 GMT</pubDate>
    <dc:creator>kumarnatarajan</dc:creator>
    <dc:date>2013-05-27T10:21:52Z</dc:date>
    <item>
      <title>store value of load statement in variable</title>
      <link>https://community.qlik.com/t5/QlikView/store-value-of-load-statement-in-variable/m-p/410433#M694892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to store value of load statement in a variable. is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a excel file with values below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;item&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rate&lt;/P&gt;&lt;P&gt;coe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.23&lt;/P&gt;&lt;P&gt;cog&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to store in a variable like below:&lt;/P&gt;&lt;P&gt;let rate= load rate from excelfile where item='coe';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and rate variable should give value as 0.23&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advise with right steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 10:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-value-of-load-statement-in-variable/m-p/410433#M694892</guid>
      <dc:creator />
      <dc:date>2013-05-27T10:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: store value of load statement in variable</title>
      <link>https://community.qlik.com/t5/QlikView/store-value-of-load-statement-in-variable/m-p/410434#M694893</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;use peek function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX: let rate=&lt;SPAN class="Code"&gt;peek( 'FieldName', 0, 'TableName' )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 10:21:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-value-of-load-statement-in-variable/m-p/410434#M694893</guid>
      <dc:creator>kumarnatarajan</dc:creator>
      <dc:date>2013-05-27T10:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: store value of load statement in variable</title>
      <link>https://community.qlik.com/t5/QlikView/store-value-of-load-statement-in-variable/m-p/410435#M694894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;let rate = peek(load rate from excelfile where item='coe');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this&lt;/P&gt;&lt;P&gt;??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 10:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-value-of-load-statement-in-variable/m-p/410435#M694894</guid>
      <dc:creator />
      <dc:date>2013-05-27T10:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: store value of load statement in variable</title>
      <link>https://community.qlik.com/t5/QlikView/store-value-of-load-statement-in-variable/m-p/410436#M694895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can assign lookup function value as your variable value. Take a look into definition of lookup function in Reference Manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 10:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-value-of-load-statement-in-variable/m-p/410436#M694895</guid>
      <dc:creator />
      <dc:date>2013-05-27T10:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: store value of load statement in variable</title>
      <link>https://community.qlik.com/t5/QlikView/store-value-of-load-statement-in-variable/m-p/410437#M694896</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;First read in peek function in help. See the below syntex.(Single quotes must)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX: let rate=&lt;SPAN class="Code"&gt;peek( 'FieldName', 0, 'TableName' )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;FieldName = Finding field name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;TableName= Finding table name&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 10:27:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-value-of-load-statement-in-variable/m-p/410437#M694896</guid>
      <dc:creator>kumarnatarajan</dc:creator>
      <dc:date>2013-05-27T10:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: store value of load statement in variable</title>
      <link>https://community.qlik.com/t5/QlikView/store-value-of-load-statement-in-variable/m-p/410438#M694897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please correct me .&lt;/P&gt;&lt;P&gt; You wanted to maintain&amp;nbsp; Data in Excel and from that you need to fetch particular row with the some conidition and then you want to assign it to Varaible .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i can suggest is that you can maitain the Variable directly in the Excel sheet .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you want to change value you can cahnge in the Excel itself instead of changing the value in thescript .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Yusuf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 10:49:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-value-of-load-statement-in-variable/m-p/410438#M694897</guid>
      <dc:creator />
      <dc:date>2013-05-27T10:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: store value of load statement in variable</title>
      <link>https://community.qlik.com/t5/QlikView/store-value-of-load-statement-in-variable/m-p/410439#M694898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tmpTable:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;item,&lt;/P&gt;&lt;P&gt; rate&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;P&gt;WHERE item = 'coe'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vRate = PEEK('rate',-1,'tmpTable')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE tmpTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 10:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-value-of-load-statement-in-variable/m-p/410439#M694898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-27T10:56:13Z</dc:date>
    </item>
  </channel>
</rss>

