<?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: Activate Button based on selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Activate-Button-based-on-selection/m-p/41188#M771979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As long as Area is on the script, it doesn't matter if you show it or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But let's suppose that you don't have it ... you could even use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OriginalTable in this way:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count(DISTINCT{&amp;lt;OriginalTable=p(OriginalTable),_AreaFlag={"&amp;gt;0"}*p(_AreaFlag)&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OriginalTable&lt;/SPAN&gt;)&amp;gt;0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and GetSelectedCount(OriginalTable)&amp;gt;0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2018 13:53:34 GMT</pubDate>
    <dc:creator>bc-thebruuu</dc:creator>
    <dc:date>2018-05-16T13:53:34Z</dc:date>
    <item>
      <title>Activate Button based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Activate-Button-based-on-selection/m-p/41182#M771973</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;I have the attached Document, within there, there is a Button on the "Main" Sheet called &lt;STRONG&gt;Go to Sheet&lt;/STRONG&gt; and when you click on it, it will go to the Sheet "&lt;STRONG&gt;Active Sheet&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only want this button to be enabled if the field &lt;STRONG&gt;OriginalTable&lt;/STRONG&gt; has been selected and has a value AND the field &lt;STRONG&gt;_AreaFlag&lt;/STRONG&gt; is greater than &lt;STRONG&gt;0 &lt;/STRONG&gt;(Zero)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the following confition but it is not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Len(Trim(GetCurrentSelections(OriginalTable))) &amp;gt; 0 and _AreaFlag &amp;gt; 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Activate-Button-based-on-selection/m-p/41182#M771973</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Activate Button based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Activate-Button-based-on-selection/m-p/41183#M771974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls try the following condition:&lt;/P&gt;&lt;P&gt;Count(DISTINCT{&amp;lt;OriginalTable=p(OriginalTable),_AreaFlag={"&amp;gt;0"}*p(_AreaFlag)&amp;gt;}Area)&amp;gt;0&lt;/P&gt;&lt;P&gt;and GetSelectedCount(OriginalTable)&amp;gt;0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Activate-Button-based-on-selection/m-p/41183#M771974</guid>
      <dc:creator>bc-thebruuu</dc:creator>
      <dc:date>2018-05-16T13:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Activate Button based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Activate-Button-based-on-selection/m-p/41184#M771975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ivan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try this:&lt;/P&gt;&lt;P&gt;=(Len(Trim(GetFieldSelections(OriginalTable))) &amp;gt; 0) and (_AreaFlag &amp;gt; 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Activate-Button-based-on-selection/m-p/41184#M771975</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-16T13:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Activate Button based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Activate-Button-based-on-selection/m-p/41185#M771976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, can this be done without the field "Area" in the formula?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Activate-Button-based-on-selection/m-p/41185#M771976</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2018-05-16T13:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Activate Button based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Activate-Button-based-on-selection/m-p/41186#M771977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can count whatever is needed .. .the advantage of selecting Area is that with the distinct you'll get 0 or 1, according to data provided&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Activate-Button-based-on-selection/m-p/41186#M771977</guid>
      <dc:creator>bc-thebruuu</dc:creator>
      <dc:date>2018-05-16T13:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Activate Button based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Activate-Button-based-on-selection/m-p/41187#M771978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what would the formula be if lets say the field Area was not on the table and only had four fields left.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:46:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Activate-Button-based-on-selection/m-p/41187#M771978</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2018-05-16T13:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Activate Button based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Activate-Button-based-on-selection/m-p/41188#M771979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As long as Area is on the script, it doesn't matter if you show it or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But let's suppose that you don't have it ... you could even use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OriginalTable in this way:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count(DISTINCT{&amp;lt;OriginalTable=p(OriginalTable),_AreaFlag={"&amp;gt;0"}*p(_AreaFlag)&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OriginalTable&lt;/SPAN&gt;)&amp;gt;0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and GetSelectedCount(OriginalTable)&amp;gt;0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Activate-Button-based-on-selection/m-p/41188#M771979</guid>
      <dc:creator>bc-thebruuu</dc:creator>
      <dc:date>2018-05-16T13:53:34Z</dc:date>
    </item>
  </channel>
</rss>

