<?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: Custom Variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373637#M1169025</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 am afraid, you CANNOT check AT ALL to see &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;where the previous developer might have SET these variables!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Try this scenario:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1) Add some variable into script, say LET A=100.&lt;/P&gt;&lt;P&gt;2) Run the script (Ctrl+R).&lt;/P&gt;&lt;P&gt;3) Change "LET A=100" statement into "LET B=200" inside your script.&lt;/P&gt;&lt;P&gt;4) Run the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now you can see in menu "Settings" - "Variable Overviw" both of them,&lt;/P&gt;&lt;P&gt;that is A variable and B variable, too. Is it strange? For me it was very strange.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, QlikView remembers all your SETTINGS/LETTINGS of variables inside your script&lt;/P&gt;&lt;P&gt;althoug you have deleted them inside this script for a long tme ago.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I was very surprised by this behaviour of QlikView, but when you will realise that you can define variables not only in script but also in some dialogues, then - I think - we cannot classify this behaviour of QlikView like ERROR, but like FEATURE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mirek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Apr 2013 10:16:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-04T10:16:48Z</dc:date>
    <item>
      <title>Custom Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373629#M1169016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the model I've inherited custom variables have been created for "MaxYear" and "MinYear". These are "set" somewhere, but I can't figure out where. I think this is the problem for not displaying the new financial year stuff in my model. Can't get the old QV guy on the phone to explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a list of places I can check where he might have been setting MaxYear/MinYear?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 07:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373629#M1169016</guid>
      <dc:creator />
      <dc:date>2012-07-30T07:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373630#M1169017</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;All variables appear, irrespective where they were created, in the Settings menu, Variables Overview. You can add a new variable there or delete it. Note that if you are doing a binary load you are not loading variables, though.&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>Mon, 30 Jul 2012 08:02:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373630#M1169017</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-07-30T08:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373631#M1169018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try checking:&lt;/P&gt;&lt;P&gt;Settings &amp;gt; Document Properties &amp;gt; Triggers &amp;gt; OnOpen, to see if the variables are set there&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 08:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373631#M1169018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-30T08:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373632#M1169019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I checked and there's no action there to set these variables. Could this be done in script somewhere else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 08:05:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373632#M1169019</guid>
      <dc:creator />
      <dc:date>2012-07-30T08:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373633#M1169020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the variable overview and I know you can add/delete them there. My question is, where can I check to see where the previous developer might have SET these variables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I know if I am doing a binary load?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 08:06:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373633#M1169020</guid>
      <dc:creator />
      <dc:date>2012-07-30T08:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373634#M1169021</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;In case of binary load, the variables must be &lt;EM&gt;created&lt;/EM&gt; in the Variable Overview menu. In case of normal load, the variable could be created in either the Variable Overview manually (so there is no SET nor LET in the script or hidden script) or in the script or hidden script, of course.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you mean where the values where &lt;EM&gt;assigned&lt;/EM&gt; to the variables, there are several places: script, hidden script, Variable Overview, Triggers in the Settings menu, Document Properties, Triggers (all of those can have an action External, "Set Variable") and in the module editor (Ctrl + M) via macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 08:24:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373634#M1169021</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-07-30T08:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373635#M1169022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I meant assign &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Thanks for the suggestions of where to look. I can't find anywhere he assigns it (not even in the variable overview). What's strange is the previous month/financial year works fine. ugh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 08:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373635#M1169022</guid>
      <dc:creator />
      <dc:date>2012-07-30T08:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373636#M1169023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would appear (comparing an old copy with the one I have) that the variable assignments was done in the variable overview, but have (for some strange reason) "dissappeared"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I re-assigned what was in the old document and the report appears to be working now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 08:55:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373636#M1169023</guid>
      <dc:creator />
      <dc:date>2012-07-30T08:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373637#M1169025</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 am afraid, you CANNOT check AT ALL to see &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;where the previous developer might have SET these variables!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Try this scenario:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1) Add some variable into script, say LET A=100.&lt;/P&gt;&lt;P&gt;2) Run the script (Ctrl+R).&lt;/P&gt;&lt;P&gt;3) Change "LET A=100" statement into "LET B=200" inside your script.&lt;/P&gt;&lt;P&gt;4) Run the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now you can see in menu "Settings" - "Variable Overviw" both of them,&lt;/P&gt;&lt;P&gt;that is A variable and B variable, too. Is it strange? For me it was very strange.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, QlikView remembers all your SETTINGS/LETTINGS of variables inside your script&lt;/P&gt;&lt;P&gt;althoug you have deleted them inside this script for a long tme ago.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I was very surprised by this behaviour of QlikView, but when you will realise that you can define variables not only in script but also in some dialogues, then - I think - we cannot classify this behaviour of QlikView like ERROR, but like FEATURE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mirek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 10:16:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Variables/m-p/373637#M1169025</guid>
      <dc:creator />
      <dc:date>2013-04-04T10:16:48Z</dc:date>
    </item>
  </channel>
</rss>

