<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Toggle-Button/m-p/1600995#M444274</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;ive created a toggle button which i want to override selection made in list box and switch between 2 bar charts.&lt;/P&gt;&lt;P&gt;i created a variable(vOverrideVariable):&lt;/P&gt;&lt;P&gt;=&amp;nbsp;if(vOverrideVariable = 0,1,0)&lt;/P&gt;&lt;P&gt;i created a button:&lt;/P&gt;&lt;P&gt;Actions&amp;gt;Set Variable&amp;gt; Variable = vOverrideVariable&lt;/P&gt;&lt;P&gt;in both the bar charts, under Layout&amp;gt; Show&amp;gt;Conditional:&lt;/P&gt;&lt;P&gt;vOverrideVariable=1 for chart1 and&amp;nbsp;vOverrideVariable=0 for chart2&lt;/P&gt;&lt;P&gt;however, when i select the button, the variable definition is disappearing? does anyone have any idea as to how this is possible?&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:02:47 GMT</pubDate>
    <dc:creator>anonymous1</dc:creator>
    <dc:date>2024-11-16T03:02:47Z</dc:date>
    <item>
      <title>Toggle Button</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-Button/m-p/1600995#M444274</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;ive created a toggle button which i want to override selection made in list box and switch between 2 bar charts.&lt;/P&gt;&lt;P&gt;i created a variable(vOverrideVariable):&lt;/P&gt;&lt;P&gt;=&amp;nbsp;if(vOverrideVariable = 0,1,0)&lt;/P&gt;&lt;P&gt;i created a button:&lt;/P&gt;&lt;P&gt;Actions&amp;gt;Set Variable&amp;gt; Variable = vOverrideVariable&lt;/P&gt;&lt;P&gt;in both the bar charts, under Layout&amp;gt; Show&amp;gt;Conditional:&lt;/P&gt;&lt;P&gt;vOverrideVariable=1 for chart1 and&amp;nbsp;vOverrideVariable=0 for chart2&lt;/P&gt;&lt;P&gt;however, when i select the button, the variable definition is disappearing? does anyone have any idea as to how this is possible?&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:02:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-Button/m-p/1600995#M444274</guid>
      <dc:creator>anonymous1</dc:creator>
      <dc:date>2024-11-16T03:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Button</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-Button/m-p/1601026#M444278</link>
      <description>&lt;P&gt;I'm not sure why it is disappearing, but try setting the action like this:&lt;/P&gt;&lt;P&gt;Set Variable &amp;gt; Variable =&amp;nbsp;&lt;SPAN&gt;vOverrideVariable; Value&amp;nbsp;=-$(vOverrideVariable)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And set you charts to:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;vOverrideVariable=1 for chart1 and&amp;nbsp;vOverrideVariable=-1 for chart2&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 16:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-Button/m-p/1601026#M444278</guid>
      <dc:creator>olivetwist</dc:creator>
      <dc:date>2019-07-10T16:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Button</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-Button/m-p/1601142#M444297</link>
      <description>&lt;P&gt;When I toggle, the variable typically doesn't hold the function, just the value itself. The function lives in the Button trigger.&amp;nbsp; Also, remember to create and initialize the variable to one of its two possible values.&lt;/P&gt;&lt;P&gt;Toggle Setting A:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QV_Sample_8.png" style="width: 353px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15253i2D7F8FBA97A90D43/image-size/large?v=v2&amp;amp;px=999" role="button" title="QV_Sample_8.png" alt="QV_Sample_8.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Toggle Setting B:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QV_Sample_9.png" style="width: 353px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15254i5AFDFD12FDD593D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="QV_Sample_9.png" alt="QV_Sample_9.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Variable and Button Settings:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QV_Sample_10.png" style="width: 836px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15255i6F33137C007099B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="QV_Sample_10.png" alt="QV_Sample_10.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;J.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 21:51:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-Button/m-p/1601142#M444297</guid>
      <dc:creator>jwaligora</dc:creator>
      <dc:date>2019-07-10T21:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Button</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-Button/m-p/1601440#M444359</link>
      <description>&lt;P&gt;&amp;nbsp;thank you everyone for your responses, i now have it working.&amp;nbsp; although the the graphs will change with the toggle button and no longer with the selection list box, is it possible to allow it to change with both?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 13:55:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-Button/m-p/1601440#M444359</guid>
      <dc:creator>anonymous1</dc:creator>
      <dc:date>2019-07-11T13:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Button</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-Button/m-p/1601452#M444381</link>
      <description>&lt;P&gt;I'm not following. You want to use a list box selection to show or hide certain graphs? can you give me more info? do you have a field like "graph_type" with values "1,0"?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 14:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-Button/m-p/1601452#M444381</guid>
      <dc:creator>olivetwist</dc:creator>
      <dc:date>2019-07-11T14:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Button</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-Button/m-p/1601468#M444382</link>
      <description>&lt;P&gt;Maybe along the lines of:&lt;/P&gt;&lt;P&gt;IF(vOverideSelection = 1,1,GetFieldSelections(&lt;SPAN&gt;graph_type))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 14:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-Button/m-p/1601468#M444382</guid>
      <dc:creator>olivetwist</dc:creator>
      <dc:date>2019-07-11T14:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle Button</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-Button/m-p/1608500#M444923</link>
      <description>&lt;P&gt;Please be sure to mark any posts that helped you resolve the issue with the Accept as Solution button, and if the other posts did not help, and you solved it yourself, please provide details of what you did to solve it and then mark that post as the solution.&amp;nbsp; If you still need further help, please provide a further update/information as well.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 12:29:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-Button/m-p/1608500#M444923</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-08-01T12:29:47Z</dc:date>
    </item>
  </channel>
</rss>

