<?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 Trigger on variable not working - looking for a workaround in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trigger-on-variable-not-working-looking-for-a-workaround/m-p/1397325#M424033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a set of three different calendars that each have a Month, Quarter, Year, Month Year selections in a multibox.&amp;nbsp; I need to change variable valuables using actions on the OnSelect and OnChange actions on each of these.&amp;nbsp; That's a lot of repeated lengthy code.&amp;nbsp; So, I had a "brilliant" idea to have each of these change one variable (change 1 to -1 or something like that) that would trigger an action on that one variable that would hold the code in one place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you probably already know, that didn't work because apparently changing the value of that one variable using a calculation (=variable*-1) doesn't change the value since QlikView seems to see the calculation itself as the value.&amp;nbsp; I was wondering if anyone has developed a trick or a workaround for this scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that I tried setting two actions on the OnSelect and OnChange to set the variable to 1 then to 2, thinking that would be setting the variable to a value. That didn't work either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Nov 2017 15:00:24 GMT</pubDate>
    <dc:creator>wnorwood</dc:creator>
    <dc:date>2017-11-29T15:00:24Z</dc:date>
    <item>
      <title>Trigger on variable not working - looking for a workaround</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-on-variable-not-working-looking-for-a-workaround/m-p/1397325#M424033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a set of three different calendars that each have a Month, Quarter, Year, Month Year selections in a multibox.&amp;nbsp; I need to change variable valuables using actions on the OnSelect and OnChange actions on each of these.&amp;nbsp; That's a lot of repeated lengthy code.&amp;nbsp; So, I had a "brilliant" idea to have each of these change one variable (change 1 to -1 or something like that) that would trigger an action on that one variable that would hold the code in one place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you probably already know, that didn't work because apparently changing the value of that one variable using a calculation (=variable*-1) doesn't change the value since QlikView seems to see the calculation itself as the value.&amp;nbsp; I was wondering if anyone has developed a trick or a workaround for this scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that I tried setting two actions on the OnSelect and OnChange to set the variable to 1 then to 2, thinking that would be setting the variable to a value. That didn't work either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 15:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-on-variable-not-working-looking-for-a-workaround/m-p/1397325#M424033</guid>
      <dc:creator>wnorwood</dc:creator>
      <dc:date>2017-11-29T15:00:24Z</dc:date>
    </item>
  </channel>
</rss>

