<?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: Need help with a condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-with-a-condition/m-p/650335#M1059435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool, but even if its light blue, it will still be able to be enabled, right? I want to disable the function too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Oct 2014 14:46:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-02T14:46:31Z</dc:date>
    <item>
      <title>Need help with a condition</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-a-condition/m-p/650330#M1059430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a button I would like to hide if the user hasnt selected a value from a column. Right now I am populating the value selected into a variable, so its like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vName = &lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Table.Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;So I would like to evaluate vName so that if it = '', then I will hide the button using the Show Condition. Any ideas how I can do this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;So IF vName = ''&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then &amp;lt;hide&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;ELSE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; show.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 14:33:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-a-condition/m-p/650330#M1059430</guid>
      <dc:creator />
      <dc:date>2014-10-02T14:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a condition</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-a-condition/m-p/650331#M1059431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;What would be even cooler, would be to leave the buttons, but just fade them out, as opposed to hiding them, if that were possible...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 14:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-a-condition/m-p/650331#M1059431</guid>
      <dc:creator />
      <dc:date>2014-10-02T14:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a condition</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-a-condition/m-p/650332#M1059432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in properties of the button, tab layout, section show:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set in the conditional box:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=getselectedcount(myField) &amp;gt; 0&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>Thu, 02 Oct 2014 14:36:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-a-condition/m-p/650332#M1059432</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-10-02T14:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a condition</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-a-condition/m-p/650333#M1059433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah thanks, but the field is a string, not a number, will this make a difference as you have &amp;gt; 0 there. I was expecting ' '...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nope that works perfectly! Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas if I can just grey the button out and disable it, as opposed to hiding it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 14:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-a-condition/m-p/650333#M1059433</guid>
      <dc:creator />
      <dc:date>2014-10-02T14:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a condition</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-a-condition/m-p/650334#M1059434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need to use a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just right click the button and go to the Background color window. In the "Base Color" area, choose "Calculated" and add your formula. The one shown below set the button background as Blue if the selected value is equal 1 and a light blue if it's not equal 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Field = 1, ARGB(255, 0, 0, 255), ARGB(50, 0, 0,255))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 14:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-a-condition/m-p/650334#M1059434</guid>
      <dc:creator>carvalguil</dc:creator>
      <dc:date>2014-10-02T14:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a condition</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-a-condition/m-p/650335#M1059435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool, but even if its light blue, it will still be able to be enabled, right? I want to disable the function too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 14:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-a-condition/m-p/650335#M1059435</guid>
      <dc:creator />
      <dc:date>2014-10-02T14:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a condition</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-a-condition/m-p/650336#M1059436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a "Enable Condition" in the Button Properties Page. Just set it to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Field = 1 (my example) and it will be disabled when a value not equal 1 is selected.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 16:02:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-a-condition/m-p/650336#M1059436</guid>
      <dc:creator>carvalguil</dc:creator>
      <dc:date>2014-10-02T16:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a condition</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-a-condition/m-p/650337#M1059437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Perfecto. Many, many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 17:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-a-condition/m-p/650337#M1059437</guid>
      <dc:creator />
      <dc:date>2014-10-02T17:05:10Z</dc:date>
    </item>
  </channel>
</rss>

