<?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: Display Current selection in text box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-Current-selection-in-text-box/m-p/900527#M531600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GetFieldSelections() will return a string that look like in the current selections object. This means that it will look like the actual search string, if your seleciton is search based. It will also turn into "9 of 152" format when you select multiple values and the seleciton string is too long to display. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to show the actual selected or posible values in the text object, you need to use Concat() function instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Concat(DISTINCT &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Agency_Name&lt;/SPAN&gt;, ', ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you only want to show the values when there is a selection you need to find a logic for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Len(GetFieldSelections(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Agency_Name&lt;/SPAN&gt;)), &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Concat(DISTINCT &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Agency_Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;, ', '), '')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2015 00:25:45 GMT</pubDate>
    <dc:creator>ToniKautto</dc:creator>
    <dc:date>2015-05-21T00:25:45Z</dc:date>
    <item>
      <title>Display Current selection in text box</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Current-selection-in-text-box/m-p/900523#M531596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to display the current selection in text box. i tried Getcurrentselection(Agency_Name) = 'Selected&amp;nbsp; '&lt;/P&gt;&lt;P&gt;this is my field&lt;/P&gt;&lt;P&gt;List Box&lt;/P&gt;&lt;P&gt;Agency_Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; abc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bcd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cde&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; efg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when i select an agency it should display me as Agency Selected in a text box&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 23:04:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Current-selection-in-text-box/m-p/900523#M531596</guid>
      <dc:creator />
      <dc:date>2015-05-20T23:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Display Current selection in text box</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Current-selection-in-text-box/m-p/900524#M531597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use GetCurrentSelections(), you do not specify filed, it shows all fields selections.&lt;/P&gt;&lt;P&gt;For one field, use GetFieldSelections(Agency_Name)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 23:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Current-selection-in-text-box/m-p/900524#M531597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-20T23:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Display Current selection in text box</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Current-selection-in-text-box/m-p/900525#M531598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to append ' Selected' to the list of selected agencies?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the string concatenation operator &amp;amp;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=GetFieldSelections(Agency_Name) &amp;amp; ' Selected'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 23:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Current-selection-in-text-box/m-p/900525#M531598</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-05-20T23:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Display Current selection in text box</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Current-selection-in-text-box/m-p/900526#M531599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you might also want to make sure that if there is no value selected the text does not appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another expression u could use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(isnull(getfieldselections(Agency_Name))&amp;lt;&amp;gt;-1, 'Agency Selected: ' &amp;amp; getfieldselections(Agency_Name))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 23:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Current-selection-in-text-box/m-p/900526#M531599</guid>
      <dc:creator />
      <dc:date>2015-05-20T23:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Display Current selection in text box</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Current-selection-in-text-box/m-p/900527#M531600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GetFieldSelections() will return a string that look like in the current selections object. This means that it will look like the actual search string, if your seleciton is search based. It will also turn into "9 of 152" format when you select multiple values and the seleciton string is too long to display. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to show the actual selected or posible values in the text object, you need to use Concat() function instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Concat(DISTINCT &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Agency_Name&lt;/SPAN&gt;, ', ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you only want to show the values when there is a selection you need to find a logic for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Len(GetFieldSelections(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Agency_Name&lt;/SPAN&gt;)), &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Concat(DISTINCT &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Agency_Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;, ', '), '')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 00:25:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Current-selection-in-text-box/m-p/900527#M531600</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2015-05-21T00:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Display Current selection in text box</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Current-selection-in-text-box/m-p/900528#M531601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;You can replace &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: 13px;"&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: 13px;"&gt;IsNull(GetFieldSelections(Agency_Name))&amp;lt;&amp;gt;-1&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: 13px;"&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: 13px;"&gt;with &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: 13px;"&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: 13px;"&gt;Not &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IsNull(GetFieldSelections(Agency_Name))&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 00:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Current-selection-in-text-box/m-p/900528#M531601</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2015-05-21T00:26:36Z</dc:date>
    </item>
  </channel>
</rss>

