<?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: Single button which toggles between two combinations of multiple field selections (and changes colour as it does so)? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395732#M569777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What a neat trick to use * -1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Oct 2012 00:35:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-27T00:35:19Z</dc:date>
    <item>
      <title>Single button which toggles between two combinations of multiple field selections (and changes colour as it does so)?</title>
      <link>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395725#M569767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Been wrestling with this one for a while now and not coming right. Please can someone help me resolve. In QV11SR1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish to have a single button which toggles between two combinations of multiple field selections (and changes colour as it does so)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The change colour part works fine but not the select field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried umpteen combinations of things, as per &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/thread/11809" title="http://community.qlik.com/thread/11809"&gt;http://community.qlik.com/thread/11809&lt;/A&gt; and &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/message/65538#65538" title="http://community.qlik.com/message/65538"&gt;http://community.qlik.com/message/65538&lt;/A&gt; etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached example QVW with my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field MarketingGender and I want the button to toggle between the selections of (M|B) and (L|G).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not want to select ALL fields or select (M|B|L|G) at once. Somehow I need to clear the selected field between toggles but that doesnt work for me either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to have the following 2 selection states when I toggle the button:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="23170" alt="t1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/23170_t1.png" /&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="23171" alt="t2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/23171_t2.png" /&gt;&lt;/P&gt;&lt;P&gt;How can I achieve this. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 16:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395725#M569767</guid>
      <dc:creator />
      <dc:date>2012-10-09T16:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Single button which toggles between two combinations of multiple field selections (and changes colour as it does so)?</title>
      <link>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395726#M569768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached; I think that works like you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have questions on this, let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 16:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395726#M569768</guid>
      <dc:creator />
      <dc:date>2012-10-09T16:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Single button which toggles between two combinations of multiple field selections (and changes colour as it does so)?</title>
      <link>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395727#M569769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works for me using a select of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If($(vGender) = -1, 'M', 'L')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then the B/G as the following toggle select. The clear is not necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the variable test is backwards because the variable value doesn't actually change until the actions are complete. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example attached.&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://robwunderlich.com"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 16:33:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395727#M569769</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-10-09T16:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Single button which toggles between two combinations of multiple field selections (and changes colour as it does so)?</title>
      <link>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395728#M569770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thank you Roberto and Rob, both of your solutions work perfectly for what I want to do here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 17:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395728#M569770</guid>
      <dc:creator />
      <dc:date>2012-10-09T17:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Single button which toggles between two combinations of multiple field selections (and changes colour as it does so)?</title>
      <link>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395729#M569774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice!&lt;/P&gt;&lt;P&gt;Perhaps it is required that your name starts with &lt;STRONG&gt;Rob&lt;/STRONG&gt; to know such things &lt;span class="lia-unicode-emoji" title=":winking_face_with_tongue:"&gt;😜&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 17:50:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395729#M569774</guid>
      <dc:creator />
      <dc:date>2012-10-09T17:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Single button which toggles between two combinations of multiple field selections (and changes colour as it does so)?</title>
      <link>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395730#M569775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the * -1 is a great trick.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Oct 2012 00:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395730#M569775</guid>
      <dc:creator />
      <dc:date>2012-10-27T00:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Single button which toggles between two combinations of multiple field selections (and changes colour as it does so)?</title>
      <link>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395731#M569776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the * -1 is a great trick.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Oct 2012 00:34:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395731#M569776</guid>
      <dc:creator />
      <dc:date>2012-10-27T00:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Single button which toggles between two combinations of multiple field selections (and changes colour as it does so)?</title>
      <link>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395732#M569777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What a neat trick to use * -1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Oct 2012 00:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395732#M569777</guid>
      <dc:creator />
      <dc:date>2012-10-27T00:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Single button which toggles between two combinations of multiple field selections (and changes colour as it does so)?</title>
      <link>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395733#M569778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hehe thanks! &lt;/P&gt;&lt;P&gt;Happy Qlikviewing!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Oct 2012 19:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-button-which-toggles-between-two-combinations-of-multiple/m-p/395733#M569778</guid>
      <dc:creator />
      <dc:date>2012-10-28T19:01:08Z</dc:date>
    </item>
  </channel>
</rss>

