<?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: Toggle Select all except (button) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Toggle-Select-all-except-button/m-p/783250#M663172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A possible solution using one button would be by using a trigger and a variable (as well as the original logic provided in the accepted answer to your question). &lt;SPAN style="font-size: 13.3333px;"&gt;At this point, you're probably well past needing this information, but I thought I'd provide it in case someone else has a similar problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First create a variable, i.e. vClearType, and assign it a value of 1. Go to the properties of your button &amp;gt; Action tab &amp;gt;&amp;nbsp; Add &amp;gt; External &amp;gt; Set Variable. Assign the variable you created and set the value to: =If(&lt;SPAN style="font-size: 13.3333px;"&gt;vClearType&lt;/SPAN&gt;=1,0,1). Click OK and go to Settings &amp;gt; Document Properties &amp;gt; Triggers. Select the variable you created in the Variable Event Triggers section and add an OnChange Action &amp;gt; Selection &amp;gt; Clear Field. Add the following to the Field section: =if(vClearType = 1,'Type'). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2016 13:44:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-11-15T13:44:08Z</dc:date>
    <item>
      <title>Toggle Select all except (button)</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-Select-all-except-button/m-p/783244#M663166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if this is possible... I have a button that I would like to toggle select all field selections except one. The field is called 'type' and the possible values are 1, 2, 3, 4, and 5. When I click the button I would like to select records that have 2, 3, 4, or 5 as their value in the 'type' field. I know that I could just add those values to the search string, but it is possible that I will have more values in 'type' than I do now in the future. So I would like to figure out a way to toggle select all except '1' instead of putting in all the other possible values into the search string. Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 17:02:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-Select-all-except-button/m-p/783244#M663166</guid>
      <dc:creator />
      <dc:date>2015-01-28T17:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Select all except (button)</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-Select-all-except-button/m-p/783245#M663167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can make use of "Select Excluded" Action in properties&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 17:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-Select-all-except-button/m-p/783245#M663167</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2015-01-28T17:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Select all except (button)</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-Select-all-except-button/m-p/783246#M663168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assign two actions to your button. In the first Action, Select "1". Make the second action "Select Excluded". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com" rel="nofollow"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 17:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-Select-all-except-button/m-p/783246#M663168</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-01-28T17:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Select all except (button)</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-Select-all-except-button/m-p/783247#M663169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can set your button to have the following actions:&lt;/P&gt;&lt;P&gt;1: Select in Field ; Field = type ; Search String = 1&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Select Excluded&amp;nbsp; ; Field = type&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 17:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-Select-all-except-button/m-p/783247#M663169</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2015-01-28T17:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Select all except (button)</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-Select-all-except-button/m-p/783248#M663170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks this works. But is there a way to reverse this operation using the same button on the next click? Like replicating the toggle select?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 17:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-Select-all-except-button/m-p/783248#M663170</guid>
      <dc:creator />
      <dc:date>2015-01-28T17:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Select all except (button)</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-Select-all-except-button/m-p/783249#M663171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with the same button, no due to the logic the Actions were set.&lt;/P&gt;&lt;P&gt;You could however clone the button, with a Conditional Show (Property: Layout&amp;gt;&amp;gt;Show&amp;gt;&amp;gt;Conditional) using a variable.&lt;/P&gt;&lt;P&gt;This clone button will have either action/s:&lt;/P&gt;&lt;P&gt;A: To explicitly select '1'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Clear Field; Field = type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. Select in Field ; Field = type ; Search String = 1 : &lt;/P&gt;&lt;P&gt;B: Since 1 is already excluded by previous button&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.&amp;nbsp; Select Excluded&amp;nbsp; ; Field = type&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 09:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-Select-all-except-button/m-p/783249#M663171</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2015-01-29T09:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Select all except (button)</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-Select-all-except-button/m-p/783250#M663172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A possible solution using one button would be by using a trigger and a variable (as well as the original logic provided in the accepted answer to your question). &lt;SPAN style="font-size: 13.3333px;"&gt;At this point, you're probably well past needing this information, but I thought I'd provide it in case someone else has a similar problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First create a variable, i.e. vClearType, and assign it a value of 1. Go to the properties of your button &amp;gt; Action tab &amp;gt;&amp;nbsp; Add &amp;gt; External &amp;gt; Set Variable. Assign the variable you created and set the value to: =If(&lt;SPAN style="font-size: 13.3333px;"&gt;vClearType&lt;/SPAN&gt;=1,0,1). Click OK and go to Settings &amp;gt; Document Properties &amp;gt; Triggers. Select the variable you created in the Variable Event Triggers section and add an OnChange Action &amp;gt; Selection &amp;gt; Clear Field. Add the following to the Field section: =if(vClearType = 1,'Type'). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 13:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-Select-all-except-button/m-p/783250#M663172</guid>
      <dc:creator />
      <dc:date>2016-11-15T13:44:08Z</dc:date>
    </item>
  </channel>
</rss>

