<?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 Access to table data in script in Water Cooler</title>
    <link>https://community.qlik.com/t5/Water-Cooler/Access-to-table-data-in-script/m-p/356745#M1017</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'm not sure on what you want to achieve, exactly. But you cannot use set analysis in the script. However, RangeSum (and the rest of the range functions), Peek and Previous as in &lt;A _jive_internal="true" href="https://community.qlik.com/thread/11844"&gt;this thread&lt;/A&gt;, &lt;A _jive_internal="true" href="https://community.qlik.com/thread/24988"&gt;this thread&lt;/A&gt; and &lt;A _jive_internal="true" href="https://community.qlik.com/thread/40196"&gt;this other thread&lt;/A&gt; among many others you can search for should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 May 2012 09:58:50 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2012-05-17T09:58:50Z</dc:date>
    <item>
      <title>Access to table data in script</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Access-to-table-data-in-script/m-p/356744#M1016</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;I'm trying to read a table from a QVD file and then use a row of that table in the same script. I need it in order to read parameters and store them in variables. The sample code I'm working on is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLA:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A,B,C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,2,3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4,5,6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7,8,9&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET Five=MinString({&amp;lt;A={4}&amp;gt;} B);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to achieve this?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 09:50:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Access-to-table-data-in-script/m-p/356744#M1016</guid>
      <dc:creator />
      <dc:date>2012-05-17T09:50:40Z</dc:date>
    </item>
    <item>
      <title>Access to table data in script</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Access-to-table-data-in-script/m-p/356745#M1017</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'm not sure on what you want to achieve, exactly. But you cannot use set analysis in the script. However, RangeSum (and the rest of the range functions), Peek and Previous as in &lt;A _jive_internal="true" href="https://community.qlik.com/thread/11844"&gt;this thread&lt;/A&gt;, &lt;A _jive_internal="true" href="https://community.qlik.com/thread/24988"&gt;this thread&lt;/A&gt; and &lt;A _jive_internal="true" href="https://community.qlik.com/thread/40196"&gt;this other thread&lt;/A&gt; among many others you can search for should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 09:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Access-to-table-data-in-script/m-p/356745#M1017</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-05-17T09:58:50Z</dc:date>
    </item>
    <item>
      <title>Access to table data in script</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Access-to-table-data-in-script/m-p/356746#M1018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LET Five = Lookup('B','A', 4, 'TABLA');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works if you are confident the lookup value is unique in the referenced column, or you can accept the first matched value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 11:00:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Access-to-table-data-in-script/m-p/356746#M1018</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2012-05-17T11:00:10Z</dc:date>
    </item>
    <item>
      <title>Access to table data in script</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Access-to-table-data-in-script/m-p/356747#M1019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Lookup solved the problem. I was trying to load a string from a qvd and then use that string to load other tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw, why does Lookup work in this situation while MinString doesn't? Just for the sake of curiosity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 11:35:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Access-to-table-data-in-script/m-p/356747#M1019</guid>
      <dc:creator />
      <dc:date>2012-05-17T11:35:22Z</dc:date>
    </item>
    <item>
      <title>Access to table data in script</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Access-to-table-data-in-script/m-p/356748#M1020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are two MinString functions, one for use in the load script and one for use in the expressions in the charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use it in the script, you would need something like ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLB:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD MINSTRING(B) AS Minstring resident TABLA;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET MinStr = Peek('Minstring',0,'TABLB');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 12:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Access-to-table-data-in-script/m-p/356748#M1020</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2012-05-17T12:49:30Z</dc:date>
    </item>
  </channel>
</rss>

