<?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 Clear/Delete a variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142839#M22230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;I know: but doing so I still have those variables inside the variable list of the Document Properties ! is it possible to remove them ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2009 21:10:23 GMT</pubDate>
    <dc:creator>lucarizziero</dc:creator>
    <dc:date>2009-04-29T21:10:23Z</dc:date>
    <item>
      <title>Clear/Delete a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142836#M22227</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;I use some variables inside the load script, but I'd need to delete them after the loading has finished.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 20:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142836#M22227</guid>
      <dc:creator>lucarizziero</dc:creator>
      <dc:date>2009-04-29T20:57:55Z</dc:date>
    </item>
    <item>
      <title>Clear/Delete a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142837#M22228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your familiar with macro's you can write one that says var = ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 21:02:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142837#M22228</guid>
      <dc:creator />
      <dc:date>2009-04-29T21:02:05Z</dc:date>
    </item>
    <item>
      <title>Clear/Delete a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142838#M22229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LET varname=null();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 21:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142838#M22229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-29T21:10:10Z</dc:date>
    </item>
    <item>
      <title>Clear/Delete a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142839#M22230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;I know: but doing so I still have those variables inside the variable list of the Document Properties ! is it possible to remove them ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 21:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142839#M22230</guid>
      <dc:creator>lucarizziero</dc:creator>
      <dc:date>2009-04-29T21:10:23Z</dc:date>
    </item>
    <item>
      <title>Clear/Delete a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142840#M22231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, and I have to add that if you got these variables on the front end already, make sure to delete them manually. After this the =null() will prevent creating variables on the front end.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 21:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142840#M22231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-29T21:14:35Z</dc:date>
    </item>
    <item>
      <title>Clear/Delete a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142841#M22232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The manual states:&lt;/P&gt;&lt;P&gt;'all variables used in the script are copied out to layout variables at the end of script execution.'&lt;/P&gt;&lt;P&gt;so I assume this means you would have to manually delete them after reloading the document (each time).&lt;/P&gt;&lt;P&gt;I wouldnt have thought they take up much space though - why worry about them?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 21:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142841#M22232</guid>
      <dc:creator />
      <dc:date>2009-04-29T21:14:38Z</dc:date>
    </item>
    <item>
      <title>Clear/Delete a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142842#M22233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the variable was &lt;STRONG&gt;created&lt;/STRONG&gt; in the script, and it is empty, it will not be copied out to the layout.&lt;/P&gt;&lt;P&gt;So a script created variable can be deleted either with:&lt;/P&gt;&lt;P&gt;LET v=null();&lt;BR /&gt;SET v=;&lt;/P&gt;&lt;P&gt;They may not take up much space, but I find that they do clutter up the variable overview and con sometimes complicate understanding the app.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 03:45:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142842#M22233</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-04-30T03:45:04Z</dc:date>
    </item>
    <item>
      <title>Clear/Delete a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142843#M22234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Rob Wunderlich wrote:&lt;BR /&gt;If the variable was &lt;STRONG&gt;created&lt;/STRONG&gt; in the script, and it is empty, it will not be copied out to the layout.&lt;BR /&gt;So a script created variable can be deleted either with:&lt;BR /&gt;LET v=null();&lt;BR /&gt;SET v=;&lt;BR /&gt;They may not take up much space, but I find that they do clutter up the variable overview and con sometimes complicate understanding the app.&lt;BR /&gt;-Rob&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi rob,&lt;/P&gt;&lt;P&gt;I used this in QlikView 8.5 ... but when trying this in QlikView 9 neither LET v=null(); nor SET v=; works ...&lt;BR /&gt;Does this work for you in QlikView 9 (SR1) or am I missing something?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 05:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142843#M22234</guid>
      <dc:creator />
      <dc:date>2009-09-30T05:40:40Z</dc:date>
    </item>
    <item>
      <title>Clear/Delete a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142844#M22235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan,&lt;BR /&gt;(I'm no Rob, but your message is not exactly private...)&lt;BR /&gt;&lt;BR /&gt;It works for me in QV9, and I don't use SR1 yet. Did you try to delete your variables manualy on the front end? If they exist already, script is not going to remove them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 08:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142844#M22235</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-30T08:43:11Z</dc:date>
    </item>
    <item>
      <title>Clear/Delete a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142845#M22236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Michael Solomovich wrote:&lt;BR /&gt;Stefan,&lt;BR /&gt;(I'm no Rob, but your message is not exactly private...)&lt;BR /&gt;&lt;BR /&gt;It works for me in QV9, and I don't use SR1 yet. Did you try to delete your variables manualy on the front end? If they exist already, script is not going to remove them. &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;yes, sure deleting the variables manually works as expected; but it does not work in the load script by setting the variable to null as described above ...&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 16:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142845#M22236</guid>
      <dc:creator />
      <dc:date>2009-09-30T16:01:27Z</dc:date>
    </item>
    <item>
      <title>Clear/Delete a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142846#M22237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works for me in 8.5 and QV9 SR1. Given the script:&lt;/P&gt;&lt;P&gt;Set A=bcd;&lt;BR /&gt;SET A=;&lt;/P&gt;&lt;P&gt;or:&lt;BR /&gt;let a = null();&lt;/P&gt;&lt;P&gt;In both cases the variable does not appear in the front end. Note that the previous caveats in the thread still apply -- if the variable ever appears in the front end it must be deleted manually using the dialog.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 17:02:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142846#M22237</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-09-30T17:02:05Z</dc:date>
    </item>
    <item>
      <title>Clear/Delete a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142847#M22238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Rob Wunderlich wrote:&lt;BR /&gt;It works for me in 8.5 and QV9 SR1. Given the script:&lt;BR /&gt;Set A=bcd;&lt;BR /&gt;SET A=;&lt;BR /&gt;or:&lt;BR /&gt;let a = null();&lt;BR /&gt;In both cases the variable does not appear in the front end. Note that the previous caveats in the thread still apply -- if the variable ever appears in the front end it must be deleted manually using the dialog.&lt;BR /&gt;-Rob&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Thanks Rob,&lt;/P&gt;&lt;P&gt;now I have the point and could reproduce the logic behaviour:&lt;/P&gt;&lt;P&gt;As you said: If the variable ever appears in the front-end (after script load) it must be deleted manually ... :))&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 18:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142847#M22238</guid>
      <dc:creator />
      <dc:date>2009-09-30T18:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Clear/Delete a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142848#M22239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rob,&amp;nbsp; Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reading this carefully it was important for me to grasp the distinction between a script created var, and one that had a definition created via the Settings | Variable Overiew option.&amp;nbsp; I was confused why my variables were not deleting at times, and now it seems clearer.&amp;nbsp; Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 15:29:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-Delete-a-variable/m-p/142848#M22239</guid>
      <dc:creator>evan_kurowski</dc:creator>
      <dc:date>2014-11-18T15:29:48Z</dc:date>
    </item>
  </channel>
</rss>

