<?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: piped variable in button not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009238#M342576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Field name is correct, case sensitive?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Nov 2015 15:25:31 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-11-30T15:25:31Z</dc:date>
    <item>
      <title>piped variable in button not working</title>
      <link>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009232#M342570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list of sales people that I want to use as the search string for a button, using "Select in Field". I create a variable from an Excel&lt;/P&gt;&lt;P&gt;file that is maintained by our Admin group (this way, I don't have to change any code when we add/lose sales people, as happens frequently!). The variable is called "vUSSalesPipe", and consists of the four-letter user codes with a 'pipe' (ASC(124)) in between. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check my routine, I have a text box: ='the variable is '('&amp;amp;'$(vUSSalesPipe)'&amp;amp;')' The output of the text box is shown below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="USPipe.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/107633_USPipe.PNG" style="height: 58px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;This looks good to me. (I don't think I need spaces between user codes and the pipes, do I?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in my Button properties, I chose "Select In Field", the correct field name, and in the search box entered:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;= '('&amp;amp;'$(vUSSalesPipe)'&amp;amp;')' (note: I tried it both with and without the equals sign in front)&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;But when I select the Button, no users are selected. &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;I'm sure this is just a syntax error on my part, but if anyone has suggestions on how to accomplish this, I'd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;appreciate their input!&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;thanks,&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;Kevin&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 14:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009232#M342570</guid>
      <dc:creator />
      <dc:date>2015-11-30T14:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: piped variable in button not working</title>
      <link>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009233#M342571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think for multiple select in field you need double quotes around each value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;("BMOR"|"EKES"|...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modify your variable and add " after the opening parenthesis and before closing parenthesis:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;= '(&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;'&amp;amp;'$(vUSSalesPipe)'&amp;amp;'&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;)'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 14:59:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009233#M342571</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-30T14:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: piped variable in button not working</title>
      <link>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009234#M342572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried copying the complete literal to a list box search bar of that field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(And I assume you just entered the field name in entry box of button action property, not leading equal sign?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post a small sample QVW that demonstrates your issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 15:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009234#M342572</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-30T15:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: piped variable in button not working</title>
      <link>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009235#M342573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm.. I tried putting in the formula (with and without preceding "=" sign in the Listbox) -&amp;gt; no result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I manually typed in the first three values, e.g. (BMOR|EKES|HPRI), they were selected. However, that's in the Listbox search bar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I don't think I need the "" as Sunny suggested (that's if you have two items between one set of pipes, IIRC, e.g.&lt;/P&gt;&lt;P&gt;("BMOR EKES" | HPRI). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my button:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qvar.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/107634_Qvar.PNG" style="height: 246px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the search string as above, with single quotes around it, and with a leading "=" sign (with and without single quotes). Not one of these is effective. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure I'm missing something simple, but what it is is beyond me at the moment!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 15:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009235#M342573</guid>
      <dc:creator />
      <dc:date>2015-11-30T15:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: piped variable in button not working</title>
      <link>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009236#M342574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a screenshot of OMUSER listbox?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 15:21:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009236#M342574</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-30T15:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: piped variable in button not working</title>
      <link>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009237#M342575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Absolutely..&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QVP.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/107636_QVP.PNG" style="height: 256px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 15:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009237#M342575</guid>
      <dc:creator />
      <dc:date>2015-11-30T15:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: piped variable in button not working</title>
      <link>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009238#M342576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Field name is correct, case sensitive?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 15:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009238#M342576</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-30T15:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: piped variable in button not working</title>
      <link>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009239#M342577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your field name is OMUser and not OMUSER. Are you using the correct fieldname?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 15:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009239#M342577</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-30T15:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: piped variable in button not working</title>
      <link>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009240#M342578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your expression works fine for me. Can you post a sample qvw?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 15:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009240#M342578</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-11-30T15:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: piped variable in button not working</title>
      <link>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009241#M342579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You and Stefan are correct.. the case was wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case anyone else is interested, the working solution was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qvpnew.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/107637_qvpnew.PNG" style="height: 195px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for everyone's help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 15:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/piped-variable-in-button-not-working/m-p/1009241#M342579</guid>
      <dc:creator />
      <dc:date>2015-11-30T15:33:22Z</dc:date>
    </item>
  </channel>
</rss>

