<?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: Master Variable to control multiple variables across many sheets in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Master-Variable-to-control-multiple-variables-across-many-sheets/m-p/2080838#M88641</link>
    <description>&lt;P&gt;Thanks! this would require setting up an additional layer of variables and condition as I need to control them separately as well..&lt;/P&gt;
&lt;P&gt;From ChatGPT I found this solution which works for me. but thank you any way..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL start="4"&gt;
&lt;LI&gt;
&lt;P&gt;Create triggers: Go to the 'Settings' tab of the Variable Overview window and click on 'Triggers'. Create a new trigger for &lt;CODE&gt;vMasterVariable&lt;/CODE&gt; by clicking on the '+' button. Select the appropriate trigger event, such as 'OnChange' or 'OnSelect'. In the Actions section, select 'Variable Set' and specify the actions you want to perform when the master variable changes. For example, you can set the value of &lt;CODE&gt;vVariable1&lt;/CODE&gt; and &lt;CODE&gt;vVariable2&lt;/CODE&gt; based on the value of &lt;CODE&gt;vMasterVariable&lt;/CODE&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Control the variables independently: Users can still manually change &lt;CODE&gt;vVariable1&lt;/CODE&gt; and &lt;CODE&gt;vVariable2&lt;/CODE&gt; independent of the master variable. These variables will retain their values until the master variable is changed, in which case the conditional statements will be re-evaluated.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Wed, 07 Jun 2023 03:32:08 GMT</pubDate>
    <dc:creator>fishing_weights</dc:creator>
    <dc:date>2023-06-07T03:32:08Z</dc:date>
    <item>
      <title>Master Variable to control multiple variables across many sheets</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Variable-to-control-multiple-variables-across-many-sheets/m-p/2080827#M88639</link>
      <description>&lt;P&gt;I have a few variables controlling different objects on my dashboard to show or hide them across multiple sheets.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;vShow_object1&amp;nbsp;&lt;/P&gt;
&lt;P&gt;vShow_object2&lt;/P&gt;
&lt;P&gt;vShow_object3&lt;/P&gt;
&lt;P&gt;x 10&lt;/P&gt;
&lt;P&gt;then i set the condition in the objects if vShow_object1 = 1 under conditioning&lt;/P&gt;
&lt;P&gt;is there a way to create a master variable then can "reset" all of them to 0 something like if vMaster_control = 0 then&amp;nbsp;&lt;/P&gt;
&lt;P&gt;vShow_object1 =0,vShow_object2=0,vShow_object3=0&lt;/P&gt;
&lt;P&gt;or is the only way by slowly adding vshow_object at a time to a single button under actions...&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:43:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Variable-to-control-multiple-variables-across-many-sheets/m-p/2080827#M88639</guid>
      <dc:creator>fishing_weights</dc:creator>
      <dc:date>2024-11-15T21:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Master Variable to control multiple variables across many sheets</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Variable-to-control-multiple-variables-across-many-sheets/m-p/2080833#M88640</link>
      <description>&lt;P&gt;What if you have one single master control variable and one object control variable per object that you want to control. Then you define the show condition as the product of the two. If any of the two are 0 then the product is 0 and the object will not be shown.&lt;/P&gt;
&lt;P&gt;vMasterControl = 1|0&lt;/P&gt;
&lt;P&gt;vObject1Control= 1|0&lt;/P&gt;
&lt;P&gt;vObject2Control= 1|0&lt;/P&gt;
&lt;P&gt;vObject3Control= 1|0&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;vShow_object1 = vObject1Control * vMasterControl&lt;/P&gt;
&lt;P&gt;vShow_object2= vObject2Control * vMasterControl&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;vShow_object3= vObject3Control * vMasterControl&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 03:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Variable-to-control-multiple-variables-across-many-sheets/m-p/2080833#M88640</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2023-06-07T03:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Master Variable to control multiple variables across many sheets</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Variable-to-control-multiple-variables-across-many-sheets/m-p/2080838#M88641</link>
      <description>&lt;P&gt;Thanks! this would require setting up an additional layer of variables and condition as I need to control them separately as well..&lt;/P&gt;
&lt;P&gt;From ChatGPT I found this solution which works for me. but thank you any way..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL start="4"&gt;
&lt;LI&gt;
&lt;P&gt;Create triggers: Go to the 'Settings' tab of the Variable Overview window and click on 'Triggers'. Create a new trigger for &lt;CODE&gt;vMasterVariable&lt;/CODE&gt; by clicking on the '+' button. Select the appropriate trigger event, such as 'OnChange' or 'OnSelect'. In the Actions section, select 'Variable Set' and specify the actions you want to perform when the master variable changes. For example, you can set the value of &lt;CODE&gt;vVariable1&lt;/CODE&gt; and &lt;CODE&gt;vVariable2&lt;/CODE&gt; based on the value of &lt;CODE&gt;vMasterVariable&lt;/CODE&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Control the variables independently: Users can still manually change &lt;CODE&gt;vVariable1&lt;/CODE&gt; and &lt;CODE&gt;vVariable2&lt;/CODE&gt; independent of the master variable. These variables will retain their values until the master variable is changed, in which case the conditional statements will be re-evaluated.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 07 Jun 2023 03:32:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Variable-to-control-multiple-variables-across-many-sheets/m-p/2080838#M88641</guid>
      <dc:creator>fishing_weights</dc:creator>
      <dc:date>2023-06-07T03:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Master Variable to control multiple variables across many sheets</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Variable-to-control-multiple-variables-across-many-sheets/m-p/2080949#M88647</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/216160"&gt;@fishing_weights&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you using QlikView or Qlik Sense? The ChatGPT solution looks like something that is only possible to do in QlikView and&amp;nbsp; not in Qlik Sense.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 07:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Variable-to-control-multiple-variables-across-many-sheets/m-p/2080949#M88647</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2023-06-07T07:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Master Variable to control multiple variables across many sheets</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Variable-to-control-multiple-variables-across-many-sheets/m-p/2080957#M88648</link>
      <description>&lt;P&gt;I'm using QlikView. But you bring up a good point as I'll be switching to Qlik Sense in the following year or so. Which means from the get go once I start building my dashboard in Qlik Sense I've to structure it as you advise&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 07:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Variable-to-control-multiple-variables-across-many-sheets/m-p/2080957#M88648</guid>
      <dc:creator>fishing_weights</dc:creator>
      <dc:date>2023-06-07T07:58:33Z</dc:date>
    </item>
  </channel>
</rss>

