<?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 Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Button-Issue/m-p/1295662#M836954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;it works perfectly &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 May 2017 16:53:25 GMT</pubDate>
    <dc:creator>marikabi</dc:creator>
    <dc:date>2017-05-18T16:53:25Z</dc:date>
    <item>
      <title>Button Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Issue/m-p/1295657#M836949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;I'm working on Qlik View..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created 4 buttons: both the couples select values from 2 different fields.&lt;/P&gt;&lt;P&gt;The first field is called "Regulated" and can return values : "YES / NO" ( one button select the regulated countries, the second one the non-regulated).&lt;/P&gt;&lt;P&gt;The second field is called "STOCK?" and can return values: "YES / NO" (the first button select all the countries YES, the second one select ALL the countries -so YES+NO).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These buttons has been set in order to change color, being grey normally and becoming green when clicked.&lt;/P&gt;&lt;P&gt;To do so, I have created 4 variables: butREG, butNOREG, butONLYCOUNT and butALL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each button has the following instructions:&lt;/P&gt;&lt;P&gt;select in the field&lt;/P&gt;&lt;P&gt;set butNAME (related button)=1,&lt;/P&gt;&lt;P&gt;and their color is set to &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;button(related button)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 1, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(0, 255, 0), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(224,224,224)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have also added the instruction &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IsNull&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetCurrentSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()), 0)&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;for each button, in order to make them all grey in case you clear the selections.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The issue is that when click on two different button (not complementary selection) the first one return to be grey, even if the selection is still active!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;For example, if I filter all the regulated countries + "yes stock" I want to see both the button green.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Do you know how to fix it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you in advance&lt;/SPAN&gt;&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/Button-Issue/m-p/1295657#M836949</guid>
      <dc:creator>marikabi</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Button Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Issue/m-p/1295658#M836950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide sample application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 15:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-Issue/m-p/1295658#M836950</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-18T15:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Button Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Issue/m-p/1295659#M836951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;see attached a sample &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 15:49:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-Issue/m-p/1295659#M836951</guid>
      <dc:creator>marikabi</dc:creator>
      <dc:date>2017-05-18T15:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Button Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Issue/m-p/1295660#M836952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think the issue is that once I change the value of another variable, the remaining ones turn to be "-".&lt;/P&gt;&lt;P&gt;Is there any way (using the events maybe) to set the instruction : keep the variable value ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 16:25:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-Issue/m-p/1295660#M836952</guid>
      <dc:creator>marikabi</dc:creator>
      <dc:date>2017-05-18T16:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Button Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Issue/m-p/1295661#M836953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of using variables for the colors why don't you just do this in your color expression.&lt;/P&gt;&lt;P&gt;=If(GetFieldSelections(Regulated) ='YES', RGB(0, 255, 0), RGB(224,224,224))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And just modify it for each button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 16:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-Issue/m-p/1295661#M836953</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-18T16:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Button Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Button-Issue/m-p/1295662#M836954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;it works perfectly &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 16:53:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-Issue/m-p/1295662#M836954</guid>
      <dc:creator>marikabi</dc:creator>
      <dc:date>2017-05-18T16:53:25Z</dc:date>
    </item>
  </channel>
</rss>

