<?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 Setting Variables using functions. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-Variables-using-functions/m-p/348453#M129076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a variable&lt;STRONG&gt; vDimName&lt;/STRONG&gt;. To First button, add action as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Action-&amp;gt; Set Variable-&amp;gt; Variable: vDimName-&amp;gt; Value : A&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similarly&lt;/P&gt;&lt;P&gt;Action-&amp;gt; Set Variable-&amp;gt; Variable: vDimName-&amp;gt; Value : B&lt;/P&gt;&lt;P&gt;Action-&amp;gt; Set Variable-&amp;gt; Variable: vDimName-&amp;gt; Value : C&lt;/P&gt;&lt;P&gt;Action-&amp;gt; Set Variable-&amp;gt; Variable: vDimName-&amp;gt; Value : D for other 3 buttons&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the first dimensions in the chart add &lt;STRONG&gt;ENABLE CONDITIONAL&lt;/STRONG&gt; as &lt;STRONG&gt;vDimName= 'A' &lt;/STRONG&gt;similarly vDimName= 'B', vDimName= 'C', vDimName= 'D' for the remaining 3 Dimensions respectively.&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;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 May 2012 20:21:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-11T20:21:01Z</dc:date>
    <item>
      <title>Setting Variables using functions.</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Variables-using-functions/m-p/348451#M129074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please help me with the following requirement.&amp;nbsp; Or please direct me to the right resources. ( I am new to QV).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I have a button in a dashboard.&amp;nbsp; Upon clicking that button, it should trigger some action, which will set the Value for a variable.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description:&amp;nbsp; I will provide 4 buttons.&amp;nbsp;&amp;nbsp; Clicking on each button will set the value of the variable ( say varDimName ) to some specific Value.&amp;nbsp; Based on that value, I want to decide the dimension in a chart.&amp;nbsp;&amp;nbsp; So, as the user clicks on each of the buttons, the dimensions in the chart changes and the chart appears to cycle through the dimensions.&amp;nbsp; ( I dont want to use the Cyclic Group ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 18:36:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Variables-using-functions/m-p/348451#M129074</guid>
      <dc:creator />
      <dc:date>2012-05-11T18:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Variables using functions.</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Variables-using-functions/m-p/348452#M129075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;You can config the buttons to set the variables using actions: &lt;/P&gt;&lt;P&gt;Button properties -&amp;gt; Actions -&amp;gt; External -&amp;gt; Set Variable&lt;/P&gt;&lt;P&gt;There, you set varDimName to the names you need. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the chart, you just need to include a calculated dimension with the following syntax: &lt;/P&gt;&lt;P&gt;$(varDimName) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an example attached in this post&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 19:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Variables-using-functions/m-p/348452#M129075</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2012-05-11T19:25:53Z</dc:date>
    </item>
    <item>
      <title>Setting Variables using functions.</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Variables-using-functions/m-p/348453#M129076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a variable&lt;STRONG&gt; vDimName&lt;/STRONG&gt;. To First button, add action as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Action-&amp;gt; Set Variable-&amp;gt; Variable: vDimName-&amp;gt; Value : A&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similarly&lt;/P&gt;&lt;P&gt;Action-&amp;gt; Set Variable-&amp;gt; Variable: vDimName-&amp;gt; Value : B&lt;/P&gt;&lt;P&gt;Action-&amp;gt; Set Variable-&amp;gt; Variable: vDimName-&amp;gt; Value : C&lt;/P&gt;&lt;P&gt;Action-&amp;gt; Set Variable-&amp;gt; Variable: vDimName-&amp;gt; Value : D for other 3 buttons&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the first dimensions in the chart add &lt;STRONG&gt;ENABLE CONDITIONAL&lt;/STRONG&gt; as &lt;STRONG&gt;vDimName= 'A' &lt;/STRONG&gt;similarly vDimName= 'B', vDimName= 'C', vDimName= 'D' for the remaining 3 Dimensions respectively.&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;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 20:21:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Variables-using-functions/m-p/348453#M129076</guid>
      <dc:creator />
      <dc:date>2012-05-11T20:21:01Z</dc:date>
    </item>
  </channel>
</rss>

