<?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 Toggle button for field selections, color changes in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Toggle-button-for-field-selections-color-changes/m-p/1227084#M391497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a document that I am creating that will be used on a large touch screen TV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a few toggle buttons to select/filter between 4 fiscal quarters. Also I need one that would select all Quarters (the entire year) and a Trailing 12 month button as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using text boxes which work well to toggle the selections, but I need the background color to change when selecting it, so the user can know which selections are made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried setting up some variables (vQ1, vQ2... etc) but the colors seem to get out of sync when making multiple selections/unselecting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know of a proper or more efficient way of completing this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2017 14:01:31 GMT</pubDate>
    <dc:creator>crystles</dc:creator>
    <dc:date>2017-02-07T14:01:31Z</dc:date>
    <item>
      <title>Toggle button for field selections, color changes</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-button-for-field-selections-color-changes/m-p/1227084#M391497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a document that I am creating that will be used on a large touch screen TV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a few toggle buttons to select/filter between 4 fiscal quarters. Also I need one that would select all Quarters (the entire year) and a Trailing 12 month button as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using text boxes which work well to toggle the selections, but I need the background color to change when selecting it, so the user can know which selections are made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried setting up some variables (vQ1, vQ2... etc) but the colors seem to get out of sync when making multiple selections/unselecting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know of a proper or more efficient way of completing this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 14:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-button-for-field-selections-color-changes/m-p/1227084#M391497</guid>
      <dc:creator>crystles</dc:creator>
      <dc:date>2017-02-07T14:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle button for field selections, color changes</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-button-for-field-selections-color-changes/m-p/1227085#M391498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to look at?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 16:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-button-for-field-selections-color-changes/m-p/1227085#M391498</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-07T16:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle button for field selections, color changes</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-button-for-field-selections-color-changes/m-p/1227086#M391499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My current solution that I was able to come up with is this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable:&lt;/P&gt;&lt;P&gt;vbQ1: &lt;SPAN style="font-size: 8pt;"&gt;='('&amp;amp;&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;GetSelectedCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FQTR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; )=0,'',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FQTR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'|' ) )&amp;amp;')' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;(This just gives me the list of which selections are made for the Field, FQTR)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Then in my text boxes, for "Q1" I have this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Actions -&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Toggle Select: FQTR = 1Q&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;And then for the background of the text box I have a calculated color&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;SubStringCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 10pt;"&gt;&lt;EM&gt;vbQ1&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;,'1Q')=1,&lt;STRONG style=": ; color: #808080; font-size: 10pt;"&gt;&lt;EM&gt;$(vButtonBGColor2&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 10pt;"&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 10pt;"&gt;&lt;EM&gt;$(vButtonBGColor1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;This does seem to work, but I feel like I should just be able to use GetFieldSelections() in the background color calculation instead of having to create a variable to capture the selections made, but for some reason it never worked.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 19:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-button-for-field-selections-color-changes/m-p/1227086#M391499</guid>
      <dc:creator>crystles</dc:creator>
      <dc:date>2017-02-07T19:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle button for field selections, color changes</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-button-for-field-selections-color-changes/m-p/1227087#M391500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this for button color:&lt;/P&gt;&lt;P&gt;&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;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Material Updates]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)='Yes',&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(cButtonDownColor)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(cButtonUpColor)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;This works where button is used to only display rows matching a 'Yes' in [Material Updates]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 15:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-button-for-field-selections-color-changes/m-p/1227087#M391500</guid>
      <dc:creator>nickedw0</dc:creator>
      <dc:date>2018-02-23T15:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle button for field selections, color changes</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-button-for-field-selections-color-changes/m-p/1227088#M391501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of Course, Action for my button is same as above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Actions -&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Toggle Select: [Material Updates] = 'Yes'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 15:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-button-for-field-selections-color-changes/m-p/1227088#M391501</guid>
      <dc:creator>nickedw0</dc:creator>
      <dc:date>2018-02-23T15:40:33Z</dc:date>
    </item>
  </channel>
</rss>

