<?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: button? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/button/m-p/714879#M1060411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with out macro we can't? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2014 07:50:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-09-29T07:50:19Z</dc:date>
    <item>
      <title>button?</title>
      <link>https://community.qlik.com/t5/QlikView/button/m-p/714875#M1060407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want give multiple action for one button? is it possible?&lt;/P&gt;&lt;P&gt;ex:&amp;nbsp; if i click on button then should display bar chart and when i click on same button second time then it should clear all selections ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:39:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/button/m-p/714875#M1060407</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-29T07:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: button?</title>
      <link>https://community.qlik.com/t5/QlikView/button/m-p/714876#M1060408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's possible but you need to add two different action for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/button/m-p/714876#M1060408</guid>
      <dc:creator>sagarkharpude</dc:creator>
      <dc:date>2014-09-29T07:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: button?</title>
      <link>https://community.qlik.com/t5/QlikView/button/m-p/714877#M1060409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik777,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to write a macro for that and run that macro through that button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/button/m-p/714877#M1060409</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-09-29T07:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: button?</title>
      <link>https://community.qlik.com/t5/QlikView/button/m-p/714878#M1060410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have a look at &lt;A class="unlinked" title="http://www.quickintelligence.co.uk/qlikview-buttons/"&gt;http://www.quickintelligence.co.uk/qlikview-buttons/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This blog has an explanation with working examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Neil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/button/m-p/714878#M1060410</guid>
      <dc:creator>ngulliver</dc:creator>
      <dc:date>2014-09-29T07:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: button?</title>
      <link>https://community.qlik.com/t5/QlikView/button/m-p/714879#M1060411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with out macro we can't? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/button/m-p/714879#M1060411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-29T07:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: button?</title>
      <link>https://community.qlik.com/t5/QlikView/button/m-p/714880#M1060412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a variable call it vbuttonselection initialized to 0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you first click on the button, on the first line set the variable to 1 if the value is 0 and to 2 if the value is 1: if(vbuttonselection = 0,1,2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the second line put your desired action to display the chart, with the condition on the vbuttonselection = 1, if(vbuttonselection=1,'CH23') (CH23 being the chart you want to display).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the third line put your desired action to remove selection, with the condition on the vbuttonselection =2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so the first time you click it will set the variable to 1 and will execute the second line (show chart), if you click again it will evaluate the variable and set it to 2 so the second line will not be executed and the third line to clear the selection will then be executed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:51:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/button/m-p/714880#M1060412</guid>
      <dc:creator>maleksafa</dc:creator>
      <dc:date>2014-09-29T07:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: button?</title>
      <link>https://community.qlik.com/t5/QlikView/button/m-p/714881#M1060413</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;You can achieve this by using a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a variable say vButton and assign a value say 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in button add action&amp;gt; set variable &amp;gt; and set the values as not(vButton):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in your bar chart&amp;gt;layout&amp;gt; show condtional : =$(vButton)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for clearing selection add trigger Settings&amp;gt;document properties&amp;gt;trigger&amp;gt; Variable Event Trigger&amp;gt; On Input &amp;gt; if($(vButton)=0,1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/button/m-p/714881#M1060413</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2014-09-29T07:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: button?</title>
      <link>https://community.qlik.com/t5/QlikView/button/m-p/714882#M1060414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is possible. You just have to create a variable and modify the var value at each click on the button. For that, go to button properties, actions, add, and select modify variable. Fill in the name and the value: =mod($(vVar)+1, 3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So, you will have a variable getting values from 0 to 2.&lt;/P&gt;&lt;P&gt;Now you go to the different objects you want to show/hide and put the condition&lt;/P&gt;&lt;P&gt;=if($(vVar)=0, 1, 0)&amp;nbsp;&amp;nbsp;&amp;nbsp; in the objects you want to show without click&lt;/P&gt;&lt;P&gt;=if($(vVar)=1, 1, 0)&amp;nbsp;&amp;nbsp;&amp;nbsp; in the objects you want to show when 1 click&lt;/P&gt;&lt;P&gt;=if($(vVar)=2, 1, 0)&amp;nbsp;&amp;nbsp;&amp;nbsp; in the objects you want to show when second click&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/button/m-p/714882#M1060414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-29T07:56:00Z</dc:date>
    </item>
  </channel>
</rss>

