<?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: Button help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Button-help/m-p/973746#M974975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Address&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the field ha s spaces&lt;/P&gt;&lt;P&gt;[field with spaces]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Sep 2015 07:45:34 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-09-04T07:45:34Z</dc:date>
    <item>
      <title>Button help</title>
      <link>https://community.qlik.com/t5/QlikView/Button-help/m-p/973739#M974968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I thought an option with a button was when you selcted it, it would then select possible data, i.e work just like a list box.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;We have setup a button with the action 'select possible. In the field option we have put the following an expression which we know works:&amp;nbsp; &lt;STRONG style="color: #666666; font-family: 'Helvetica','sans-serif';"&gt;=Count({&amp;lt;[NPV Total]={"&amp;gt;=-4999&amp;lt;=4999"}&amp;gt;} [Address]). &lt;/STRONG&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica','sans-serif';"&gt;However, when we click the button nothing happens.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-size: 10pt; font-family: 'Helvetica','sans-serif';"&gt;Can anyone help?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #666666; font-size: 10.5pt; font-family: 'Helvetica','sans-serif';"&gt;Chris&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 07:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-help/m-p/973739#M974968</guid>
      <dc:creator />
      <dc:date>2015-09-04T07:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Button help</title>
      <link>https://community.qlik.com/t5/QlikView/Button-help/m-p/973740#M974969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post your qlikview doc (.qvw)? The select possible action didn't have any parameter other than field and the field is a field, not an expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you need the select in field action instead of select possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 07:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-help/m-p/973740#M974969</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-09-04T07:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Button help</title>
      <link>https://community.qlik.com/t5/QlikView/Button-help/m-p/973741#M974970</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;Unfortunately not as it is sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the 'select in field' option. With this there is a 'field' and 'search string' option. I tried putting [NPV Value] in field and then the same expression as above in the search string. But again nothiung happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 07:20:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-help/m-p/973741#M974970</guid>
      <dc:creator />
      <dc:date>2015-09-04T07:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Button help</title>
      <link>https://community.qlik.com/t5/QlikView/Button-help/m-p/973742#M974971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;which field do you want to select? Address?&lt;/P&gt;&lt;P&gt;the expression of select in field should return the list of values you want to select, not a number as in you r expression (count....)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 07:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-help/m-p/973742#M974971</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-09-04T07:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Button help</title>
      <link>https://community.qlik.com/t5/QlikView/Button-help/m-p/973743#M974972</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;Yes we want the button to select adresses with a NPV value between the 2 values (-£4999 and £4999).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 07:38:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-help/m-p/973743#M974972</guid>
      <dc:creator />
      <dc:date>2015-09-04T07:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Button help</title>
      <link>https://community.qlik.com/t5/QlikView/Button-help/m-p/973744#M974973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;an example in the attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search String is&lt;/P&gt;&lt;P&gt;='(' &amp;amp; '"' &amp;amp; concat({$ &amp;lt;[NPV Total]={"&amp;lt;-4999&amp;gt;4999"}&amp;gt;} Address, '"' &amp;amp; '|' &amp;amp; '"') &amp;amp; '"' &amp;amp; ')'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="97979" alt="1.png" class="jive-image image-1" height="261" src="https://community.qlik.com/legacyfs/online/97979_1.png" style="height: 261px; width: 825.612px;" width="826" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 07:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-help/m-p/973744#M974973</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-09-04T07:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Button help</title>
      <link>https://community.qlik.com/t5/QlikView/Button-help/m-p/973745#M974974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the text have to be in a certain format, e.g Address or [Address] or =Address?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 07:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-help/m-p/973745#M974974</guid>
      <dc:creator />
      <dc:date>2015-09-04T07:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Button help</title>
      <link>https://community.qlik.com/t5/QlikView/Button-help/m-p/973746#M974975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Address&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the field ha s spaces&lt;/P&gt;&lt;P&gt;[field with spaces]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 07:45:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-help/m-p/973746#M974975</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-09-04T07:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Button help</title>
      <link>https://community.qlik.com/t5/QlikView/Button-help/m-p/973747#M974976</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;Thanks very much for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have copied this in and it worked but it's &amp;gt;=-4999&amp;lt;=4999 need to do. When I tweaked your expression to the following it doesn't work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='(' &amp;amp; '"' &amp;amp; concat({$ &amp;lt;[NPV Total]={"&amp;lt;-4999&amp;lt;=4999"}&amp;gt;} Address, '"' &amp;amp; '|' &amp;amp; '"') &amp;amp; '"' &amp;amp; ')'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help explain the logic of this expression, in particular why concat and why the four lots of " &amp;amp; 's?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 07:53:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-help/m-p/973747#M974976</guid>
      <dc:creator />
      <dc:date>2015-09-04T07:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Button help</title>
      <link>https://community.qlik.com/t5/QlikView/Button-help/m-p/973748#M974977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;short:&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;the expression builds the search string with the addresses you can use in the listbox &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;detailed&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open my .qvw; there is a textbox with the result of the expression (concat.............)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression builds the list between double quotes, pipe separated, of Address values with NPV Total &amp;lt;-4999 and &amp;gt; 4999&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you put the result&amp;nbsp; ("ccm2"|"eaf3"|"lf1") of the expression in the listbox (caption) and press enter you select &lt;SPAN style="font-size: 13.3333px;"&gt;the list of Address values with NPV Total &amp;lt;-4999 and &amp;gt; 4999&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you click the button you get the same result: you select in field Address the result of the expression &lt;SPAN style="font-size: 13.3333px;"&gt; ("ccm2"|"eaf3"|"lf1")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;doubles quotes are only needed if the Address values have spaces (I think &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;they have)&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;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/97981_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 08:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-help/m-p/973748#M974977</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-09-04T08:50:14Z</dc:date>
    </item>
  </channel>
</rss>

