<?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 Macro to activate in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-to-activate/m-p/338197#M124694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi! Celambarasan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it worked..thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2012 14:03:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-06T14:03:55Z</dc:date>
    <item>
      <title>Macro to activate</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-activate/m-p/338193#M124690</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 two bar charts&amp;nbsp; and i have placed them one on each other or we can say overlapped , now what i want is to create a single button or two buttons.And when i click on the button the related chart should come on top and become visible and the other will be hidden under it. i think i need to write&amp;nbsp; a macro in action properties on the button but i am not getting the code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 13:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-activate/m-p/338193#M124690</guid>
      <dc:creator />
      <dc:date>2012-03-06T13:48:40Z</dc:date>
    </item>
    <item>
      <title>Macro to activate</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-activate/m-p/338194#M124691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Instead of macro you can do by setting variable value on onclick and use that as in conditional layout.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Button1--&amp;gt;actions--&amp;gt;External--&amp;gt;set variable--&amp;gt;vVariable with value 'value'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Button2--&amp;gt;actions--&amp;gt;External--&amp;gt;set variable--&amp;gt;vVariable with value 'value2'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Like below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chart1:Properties--&amp;gt;Layout--&amp;gt;Condition show--&amp;gt;if(vVariable='value',1,0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chart1:Properties--&amp;gt;Layout--&amp;gt;Condition show--&amp;gt;if(vVariable='value1',1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 13:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-activate/m-p/338194#M124691</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-06T13:52:24Z</dc:date>
    </item>
    <item>
      <title>Macro to activate</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-activate/m-p/338195#M124692</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;&amp;nbsp;&amp;nbsp; All you need to do is&amp;nbsp; create a variable say vVisibility give value as 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Now create a button which will toggle the value of the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So put action as External-&amp;gt; Set variable -&amp;gt; Give the name of the variable and put value as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; =if(vVisibility = 1,0,1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This will toggle the variable value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now go to the properties of first chart -&amp;gt; layout -&amp;gt; here in show -&amp;gt;&amp;nbsp; conditonal -&amp;gt; type &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; =if(vVisibility = 1,1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This means when the value of variable is 1, this will how the chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Same way go to the properties of other chart and put&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =if(vVisibility = 1,0,1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This way you can show and hide the objects on button click&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 13:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-activate/m-p/338195#M124692</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2012-03-06T13:54:25Z</dc:date>
    </item>
    <item>
      <title>Macro to activate</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-activate/m-p/338196#M124693</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;Create a variable vShow and assign a value as 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In first chart -&amp;gt;Properties -&amp;gt; Layout -&amp;gt; Show -&amp;gt;Condition -&amp;gt; vShow =1&lt;/P&gt;&lt;P&gt;In Second Chart &amp;gt;Properties -&amp;gt; Layout -&amp;gt; Show -&amp;gt;Condition -&amp;gt; vShow =2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take two buttons&lt;/P&gt;&lt;P&gt;first button: Actions -&amp;gt; External - Set Varibale -&amp;gt; Variable&amp;nbsp; - vShow and value 2&lt;/P&gt;&lt;P&gt;Properties -&amp;gt; Layout -&amp;gt; Show -&amp;gt;Condition -&amp;gt; vShow =2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second button: Actions -&amp;gt; External - Set Varibale -&amp;gt; Variable&amp;nbsp; - vShow and value 1&lt;/P&gt;&lt;P&gt;Properties -&amp;gt; Layout -&amp;gt; Show -&amp;gt;Condition -&amp;gt; vShow =1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 13:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-activate/m-p/338196#M124693</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2012-03-06T13:56:38Z</dc:date>
    </item>
    <item>
      <title>Macro to activate</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-activate/m-p/338197#M124694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi! Celambarasan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it worked..thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 14:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-activate/m-p/338197#M124694</guid>
      <dc:creator />
      <dc:date>2012-03-06T14:03:55Z</dc:date>
    </item>
  </channel>
</rss>

