<?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 Variables have changed to blank; 2 clicks in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variables-have-changed-to-blank-2-clicks/m-p/864401#M995942</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 have created a few different variables and have set them at 0, as of now some variables take a second click of the button to get the variable to 0 which will then allow my table to activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, why does it now take to two clicks to activate my table? I have not knowingly changed anything! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(vLw =0,1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91516_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jul 2015 16:53:26 GMT</pubDate>
    <dc:creator>knightwriter</dc:creator>
    <dc:date>2015-07-01T16:53:26Z</dc:date>
    <item>
      <title>Variables have changed to blank; 2 clicks</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-have-changed-to-blank-2-clicks/m-p/864401#M995942</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 have created a few different variables and have set them at 0, as of now some variables take a second click of the button to get the variable to 0 which will then allow my table to activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, why does it now take to two clicks to activate my table? I have not knowingly changed anything! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(vLw =0,1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91516_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 16:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-have-changed-to-blank-2-clicks/m-p/864401#M995942</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2015-07-01T16:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Variables have changed to blank; 2 clicks</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-have-changed-to-blank-2-clicks/m-p/864402#M995943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this happen everytime you open the application? or is it while development?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be there is a trigger on open which forces the vLw to be Null() or within the script you have &lt;STRONG&gt;LET vLw = Null();&lt;/STRONG&gt;, so every time the app refreshes you end up having vLw as null which needs two click to activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 17:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-have-changed-to-blank-2-clicks/m-p/864402#M995943</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-01T17:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Variables have changed to blank; 2 clicks</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-have-changed-to-blank-2-clicks/m-p/864403#M995944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you happen to find the root cause of the issue yet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 13:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-have-changed-to-blank-2-clicks/m-p/864403#M995944</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-02T13:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Variables have changed to blank; 2 clicks</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-have-changed-to-blank-2-clicks/m-p/864404#M995945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if your variable is not assigned when your application starts then you first click and assign the first value (not the one that filters) then you click again and it filter. So check the variable value when you open the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Verify triggers and eventually set the starting value for the variable in the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET myVar =0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 13:56:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-have-changed-to-blank-2-clicks/m-p/864404#M995945</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-07-02T13:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Variables have changed to blank; 2 clicks</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-have-changed-to-blank-2-clicks/m-p/864405#M995946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I did actually.I checked the formulas and I had not included the variable formula in all the tables properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So originally, when I clicked once the variable when from blank to 0 and by clicking a second time the variable went from 0 to 1 therefore activating the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since Ive included the value in all tables, the variable goes from 0 to 1 in a single click.&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;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91660_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 14:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-have-changed-to-blank-2-clicks/m-p/864405#M995946</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2015-07-02T14:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Variables have changed to blank; 2 clicks</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-have-changed-to-blank-2-clicks/m-p/864406#M995947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just change the expression around:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(vLw = 1, 0, 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;When vLw is null, a single click will change it 1 (because 'null = 1' is false).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 14:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-have-changed-to-blank-2-clicks/m-p/864406#M995947</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-07-02T14:11:46Z</dc:date>
    </item>
  </channel>
</rss>

