<?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: one button to select and deselect values in a field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591777#M544656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Apr 2014 13:54:40 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-04-17T13:54:40Z</dc:date>
    <item>
      <title>one button to select and deselect values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591776#M544655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can achieve the following with two separate buttons and it is a fairly easy task&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldA: select values x,y,z&lt;/P&gt;&lt;P&gt;fieldA: no selections&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I indeed have just one button doing that? You click it, it selects x,y,x, you re-click on it and all selections for that field are cleared?&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 13:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591776#M544655</guid>
      <dc:creator />
      <dc:date>2014-04-17T13:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: one button to select and deselect values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591777#M544656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 13:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591777#M544656</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-04-17T13:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: one button to select and deselect values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591778#M544657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your effort!&lt;/P&gt;&lt;P&gt;but the variable is not there..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 13:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591778#M544657</guid>
      <dc:creator />
      <dc:date>2014-04-17T13:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: one button to select and deselect values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591779#M544658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write in your action condition (Select in field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the upper textbox the name of your field (for example: field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the second textbox:&lt;/P&gt;&lt;P&gt;=if(GetSelectedCount(field)=0, '(A|B|C)', '')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 13:58:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591779#M544658</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-04-17T13:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: one button to select and deselect values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591780#M544659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add an action to the button to set the state in a variable&lt;/P&gt;&lt;P&gt;then you select or clear depending on the variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 13:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591780#M544659</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-17T13:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: one button to select and deselect values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591781#M544660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 14:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591781#M544660</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-17T14:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: one button to select and deselect values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591782#M544661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oops. Removed too much from the example. I've updated the example above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 14:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591782#M544661</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-04-17T14:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: one button to select and deselect values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591783#M544662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;almost perfect Alessandro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should rather be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the second textbox:&lt;/P&gt;&lt;P&gt;=if(GetSelectedCount(field)=0, '(A|B|C)', '&lt;STRONG style="text-decoration: underline;"&gt;()&lt;/STRONG&gt;')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the double brackets in the last parameter of the if function&lt;/P&gt;&lt;P&gt;but huge thanks for pointing me in the right direction!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 14:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591783#M544662</guid>
      <dc:creator />
      <dc:date>2014-04-17T14:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: one button to select and deselect values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591784#M544663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Gysbert, it works now!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but, it looks like magic to me, as I cannot understand how! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clicking on a button switches the variable value from 0 to -1&lt;/P&gt;&lt;P&gt;but where is it mapped that -1 corresponds to Jason and John?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 14:07:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591784#M544663</guid>
      <dc:creator />
      <dc:date>2014-04-17T14:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: one button to select and deselect values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591785#M544664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's an action assigned to the OnChange trigger of the variable. You can find it on the Triggers tab of the Document Properties window.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 14:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591785#M544664</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-04-17T14:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: one button to select and deselect values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591786#M544665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sweet, thank you Gysbert, I was not aware of this function!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 14:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591786#M544665</guid>
      <dc:creator />
      <dc:date>2014-04-17T14:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: one button to select and deselect values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591787#M544666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;hi Qlik-Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks to your great description and your qvw I've managed to include the filter button in my application. The only thing I'm struggling with is that instead of selecting certain values I'd like to select/deselect all values except for one by clicking the button. Unfortunately I have no idea where I can reverse the selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure whether this is the right "place" to ask for advice but I thought that it would be most suitable in here since a new thread would most likely end up in a completely different solution (meant in an unbiased way) and I somehow got the feeling that the solution above simply needs a little change to make my wish come true &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;Kind regards&lt;/P&gt;&lt;P&gt;Patric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 13:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591787#M544666</guid>
      <dc:creator>qlikviewerma</dc:creator>
      <dc:date>2017-07-07T13:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: one button to select and deselect values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591788#M544667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the Select Excluded action to invert a selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Jul 2017 17:33:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591788#M544667</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2017-07-09T17:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: one button to select and deselect values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591789#M544668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot for your advice &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;Kind regards&lt;/P&gt;&lt;P&gt;Patric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 07:12:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/591789#M544668</guid>
      <dc:creator>qlikviewerma</dc:creator>
      <dc:date>2017-07-10T07:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: one button to select and deselect values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/1736768#M544669</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello Gysbert,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for the solution. It is really helpful but there is still an issue with it. When I clean the selection from the navigation tab or current selection box, the button itself, and the variable that stands behind it do not change accordingly. How can I solve it?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you again and look forward to hearing from you. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Julia&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 14:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/one-button-to-select-and-deselect-values-in-a-field/m-p/1736768#M544669</guid>
      <dc:creator>Julia_P</dc:creator>
      <dc:date>2020-08-18T14:21:27Z</dc:date>
    </item>
  </channel>
</rss>

