<?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: Setting Variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-Variables/m-p/1040653#M927577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically I have a number of variables - upwards of 40 - that the user will be able to adjust.&amp;nbsp; The variables are used to in a dynamic update action.&amp;nbsp; So I have a button that has a dynamic update action, I also want the button to change colour if any of the variables are different.&amp;nbsp; (I cannot use any macros due to server functionality)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My plan was to have a second variable - "baseline" variable - for each one.&amp;nbsp; The update button would change colour if any of the "changeable" variables were altered from the "baseline" variable value.&amp;nbsp; Then the update button would have an action to set the baseline variable to the value of the changeable variables during the update action so that the button would go back to the unchanged colour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this explains it properly.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe Digvijay's solution is my best method, I am just trying to figure out the best way to apply it.&amp;nbsp;&amp;nbsp; Also, it is a very interesting method that I have not seen before!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Mar 2016 15:24:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-22T15:24:31Z</dc:date>
    <item>
      <title>Setting Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Variables/m-p/1040648#M927572</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 have multiple variables that I would like to use an action to update the variables values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that it is time consuming to create many single actions for each variable, is it possible to set one action and have multiple variables change?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, what would be ideal if it was possible to write in 40 or more variables in one "set variable" action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kosta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Variables/m-p/1040648#M927572</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Variables/m-p/1040649#M927573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that's possible with an action.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 20:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Variables/m-p/1040649#M927573</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-21T20:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Variables/m-p/1040650#M927574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;With one action you can set only one variable.&amp;nbsp; If you have 40 variables then you have to use 40 actions.&amp;nbsp; You can try using Macros and set values for 40 variables in single place instead of adding 40 actions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes macros won't work in non IE Plugin versions, test it thoroughly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link for sample macro code snippets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="j-search-result-value" href="https://community.qlik.com/docs/DOC-4870" style="font-weight: bold; font-size: 15px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;&lt;SPAN class="j-search-result-title" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM class="jive-hilite" style="font-family: inherit; background-color: #ffffcd;"&gt;Useful&lt;/EM&gt; &lt;EM class="jive-hilite" style="font-family: inherit; background-color: #ffffcd;"&gt;Qlikview&lt;/EM&gt; &lt;EM class="jive-hilite" style="font-family: inherit; background-color: #ffffcd;"&gt;Macros&lt;/EM&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 03:17:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Variables/m-p/1040650#M927574</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-22T03:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Variables/m-p/1040651#M927575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if something like attached can help -&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 05:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Variables/m-p/1040651#M927575</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-03-22T05:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Variables/m-p/1040652#M927576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use for loop in script to update the more than 40 variables at one go. But can you explain what is the need and what you are trying to achieve?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 05:37:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Variables/m-p/1040652#M927576</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-03-22T05:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Variables/m-p/1040653#M927577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically I have a number of variables - upwards of 40 - that the user will be able to adjust.&amp;nbsp; The variables are used to in a dynamic update action.&amp;nbsp; So I have a button that has a dynamic update action, I also want the button to change colour if any of the variables are different.&amp;nbsp; (I cannot use any macros due to server functionality)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My plan was to have a second variable - "baseline" variable - for each one.&amp;nbsp; The update button would change colour if any of the "changeable" variables were altered from the "baseline" variable value.&amp;nbsp; Then the update button would have an action to set the baseline variable to the value of the changeable variables during the update action so that the button would go back to the unchanged colour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this explains it properly.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe Digvijay's solution is my best method, I am just trying to figure out the best way to apply it.&amp;nbsp;&amp;nbsp; Also, it is a very interesting method that I have not seen before!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 15:24:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Variables/m-p/1040653#M927577</guid>
      <dc:creator />
      <dc:date>2016-03-22T15:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Variables/m-p/1040654#M927578</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;Yes you can use Input box with required variables in it and you can change it easily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 01:59:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Variables/m-p/1040654#M927578</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-23T01:59:38Z</dc:date>
    </item>
  </channel>
</rss>

