<?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 set a variable in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-a-variable-in-Script/m-p/376018#M140130</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, in first place, you must load the table from SQL:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQLTable:&lt;/P&gt;&lt;P&gt;SQL Select Distinct Field From Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aux:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Field) as Max,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Min(Field) as Min&lt;/P&gt;&lt;P&gt;Resident SQLTable;&lt;/P&gt;&lt;P&gt;Let Var=Peek('Field');&lt;/P&gt;&lt;P&gt;Drop Table Aux;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try and tell me how it works!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2012 20:05:37 GMT</pubDate>
    <dc:creator>sebastiandperei</dc:creator>
    <dc:date>2012-03-29T20:05:37Z</dc:date>
    <item>
      <title>set a variable in Script</title>
      <link>https://community.qlik.com/t5/QlikView/set-a-variable-in-Script/m-p/376017#M140129</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;SPAN lang="EN-US" style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;Please help me with the instructionto set a variable at a script time to get (from SQL table) a variable witha max number from a field and another variable with the minimum valuefrom a field.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 19:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-a-variable-in-Script/m-p/376017#M140129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-29T19:22:23Z</dc:date>
    </item>
    <item>
      <title>set a variable in Script</title>
      <link>https://community.qlik.com/t5/QlikView/set-a-variable-in-Script/m-p/376018#M140130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, in first place, you must load the table from SQL:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQLTable:&lt;/P&gt;&lt;P&gt;SQL Select Distinct Field From Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aux:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Field) as Max,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Min(Field) as Min&lt;/P&gt;&lt;P&gt;Resident SQLTable;&lt;/P&gt;&lt;P&gt;Let Var=Peek('Field');&lt;/P&gt;&lt;P&gt;Drop Table Aux;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try and tell me how it works!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 20:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-a-variable-in-Script/m-p/376018#M140130</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2012-03-29T20:05:37Z</dc:date>
    </item>
    <item>
      <title>set a variable in Script</title>
      <link>https://community.qlik.com/t5/QlikView/set-a-variable-in-Script/m-p/376019#M140131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sebastian. worked well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 20:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-a-variable-in-Script/m-p/376019#M140131</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-29T20:17:05Z</dc:date>
    </item>
  </channel>
</rss>

