<?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: On Off Switch in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/On-Off-Switch/m-p/689414#M541025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;it would depend on what type of switch you have in mind - but even if I don't think there is something like that already available, you can build almost anything using several textboxes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2014 14:15:52 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2014-07-16T14:15:52Z</dc:date>
    <item>
      <title>On Off Switch</title>
      <link>https://community.qlik.com/t5/QlikView/On-Off-Switch/m-p/689410#M541021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table which includes a column which may be hidden based on a condition.&lt;/P&gt;&lt;P&gt;I would like to display an on-off 'switch' to allow the user to optionally show or not show the column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure I have seen examples of switches of this type, but any ideas of an elegant solution to this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 14:08:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/On-Off-Switch/m-p/689410#M541021</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2014-07-16T14:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: On Off Switch</title>
      <link>https://community.qlik.com/t5/QlikView/On-Off-Switch/m-p/689411#M541022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using QV 11,&lt;/P&gt;&lt;P&gt;Instead of table, use straight table and in dimension tab check enable conditional to hide and show the dimension based on your requirement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 14:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/On-Off-Switch/m-p/689411#M541022</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2014-07-16T14:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: On Off Switch</title>
      <link>https://community.qlik.com/t5/QlikView/On-Off-Switch/m-p/689412#M541023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you will need a variable...create a variable vToggle and set it to 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a text box or a button and in the action tab, click Add, select Set Variable and input the variable name. in the value you can input&lt;/P&gt;&lt;P&gt;=if(vToggle=1,0,1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the table, select the expression or dimension and check Enable and Conditional and input vToggle=1 in Conditional field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 14:14:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/On-Off-Switch/m-p/689412#M541023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-16T14:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: On Off Switch</title>
      <link>https://community.qlik.com/t5/QlikView/On-Off-Switch/m-p/689413#M541024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) define a variable in the script:&lt;/P&gt;&lt;P&gt;LET myVar=0; and reload the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) add a button with action -&amp;gt; external -&amp;gt; set variable and write in the upper textbox myVar, in the lower textbox:&lt;/P&gt;&lt;P&gt;=if(myVar=0,1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) in your column in the visibility section write: myVar=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 14:14:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/On-Off-Switch/m-p/689413#M541024</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-07-16T14:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: On Off Switch</title>
      <link>https://community.qlik.com/t5/QlikView/On-Off-Switch/m-p/689414#M541025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;it would depend on what type of switch you have in mind - but even if I don't think there is something like that already available, you can build almost anything using several textboxes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 14:15:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/On-Off-Switch/m-p/689414#M541025</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-07-16T14:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: On Off Switch</title>
      <link>https://community.qlik.com/t5/QlikView/On-Off-Switch/m-p/689415#M541026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The button idea works well for me, thanks !&lt;/P&gt;&lt;P&gt;I can change the colour and text of the button to show whether it is on or off.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 14:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/On-Off-Switch/m-p/689415#M541026</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2014-07-16T14:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: On Off Switch</title>
      <link>https://community.qlik.com/t5/QlikView/On-Off-Switch/m-p/689416#M541027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;glad it worked...but just fyi, you can customize text boxes better than buttons.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 14:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/On-Off-Switch/m-p/689416#M541027</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-16T14:55:02Z</dc:date>
    </item>
  </channel>
</rss>

