<?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 Variable Assignment in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-Assignment/m-p/188379#M51653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Arun,&lt;/P&gt;&lt;P&gt;Rename first the field so you can use it later&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LOAD MAX(RECORD_NO) AS MAX_RECORD from TEXT.QVD&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;I'm using the following &lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LET vMaxRecordNo = FieldValue('MAX_RECORD', 1);&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;Peek() or even LookUp() will do as well. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jun 2010 08:29:21 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2010-06-15T08:29:21Z</dc:date>
    <item>
      <title>Variable Assignment</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Assignment/m-p/188378#M51652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to assign the value generated from the below load statement in to a variable name as Rec, pls provide me the script to be written for acheiving these task&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD MAX(RECORD_NO) from TEST.QVD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 08:26:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Assignment/m-p/188378#M51652</guid>
      <dc:creator />
      <dc:date>2010-06-15T08:26:07Z</dc:date>
    </item>
    <item>
      <title>Variable Assignment</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Assignment/m-p/188379#M51653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Arun,&lt;/P&gt;&lt;P&gt;Rename first the field so you can use it later&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LOAD MAX(RECORD_NO) AS MAX_RECORD from TEXT.QVD&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;I'm using the following &lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LET vMaxRecordNo = FieldValue('MAX_RECORD', 1);&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;Peek() or even LookUp() will do as well. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 08:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Assignment/m-p/188379#M51653</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-06-15T08:29:21Z</dc:date>
    </item>
    <item>
      <title>Variable Assignment</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Assignment/m-p/188380#M51654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;here you are&lt;/P&gt;&lt;P&gt;DATA:&lt;BR /&gt;Load&lt;BR /&gt; Max(Reord_No) as MaxRecordNo&lt;BR /&gt;From Test.qvd (qvd);&lt;/P&gt;&lt;P&gt;Let vRec = Peek('MaxRecordNo', 0, 'DATA');&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 08:31:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Assignment/m-p/188380#M51654</guid>
      <dc:creator />
      <dc:date>2010-06-15T08:31:28Z</dc:date>
    </item>
  </channel>
</rss>

