<?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: Currently Selected field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Currently-Selected-field/m-p/252824#M1194624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at the GetFieldSelections() function.&lt;/P&gt;&lt;P&gt;From F1 help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4&gt;getfieldselections(&lt;SPAN style="font-style: italic;"&gt; FieldName [, ValueSep [, MaxValues]]&lt;/SPAN&gt; ) &lt;/H4&gt;&lt;P&gt;Returns a string with the current selections in a field. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;ValueSep&lt;/SPAN&gt; is the separator to be put between field values. The default is ', '. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;Maxvalues&lt;/SPAN&gt; is the maximum number of field values to be individually listed. When a larger number of values is selected the format 'x of y values' will be used instead. The default is 6.&amp;nbsp; &lt;/P&gt;&lt;H2&gt;Examples&lt;/H2&gt;&lt;P style="font-weight: bold;"&gt;getfieldselections ( Year )&amp;nbsp; &lt;/P&gt;&lt;P style="font-weight: bold;"&gt;getfieldselections ( Year, '; ' )&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="Bold"&gt;getfieldselections ( Year, '; ' , 10 )&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;(EDIT: Ah, I seem to have misunderstood the question. Thought you wanted to show the current selection that you had made, in a text object)&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="Bold"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 May 2011 07:50:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-05-31T07:50:55Z</dc:date>
    <item>
      <title>Currently Selected field</title>
      <link>https://community.qlik.com/t5/QlikView/Currently-Selected-field/m-p/252822#M1194618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for ur support in this forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please help to find out this trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I need to get currently selected field to use in a chart. Mns I have a field named 'Project Type'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; It has three values like 'Maintenance', 'Development', 'Consultancy'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to show text box when the value of [Project Type] is 'Maintenance'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 07:30:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Currently-Selected-field/m-p/252822#M1194618</guid>
      <dc:creator />
      <dc:date>2011-05-31T07:30:12Z</dc:date>
    </item>
    <item>
      <title>Currently Selected field</title>
      <link>https://community.qlik.com/t5/QlikView/Currently-Selected-field/m-p/252823#M1194621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; In Text Box -&amp;gt; Layout -&amp;gt; Show (Conditional -&amp;gt; [Project Type] = 'Maintenance').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When ever you select the Maintenance this text box would be displayed in your chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 07:48:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Currently-Selected-field/m-p/252823#M1194621</guid>
      <dc:creator />
      <dc:date>2011-05-31T07:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Currently Selected field</title>
      <link>https://community.qlik.com/t5/QlikView/Currently-Selected-field/m-p/252824#M1194624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at the GetFieldSelections() function.&lt;/P&gt;&lt;P&gt;From F1 help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4&gt;getfieldselections(&lt;SPAN style="font-style: italic;"&gt; FieldName [, ValueSep [, MaxValues]]&lt;/SPAN&gt; ) &lt;/H4&gt;&lt;P&gt;Returns a string with the current selections in a field. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;ValueSep&lt;/SPAN&gt; is the separator to be put between field values. The default is ', '. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic;"&gt;Maxvalues&lt;/SPAN&gt; is the maximum number of field values to be individually listed. When a larger number of values is selected the format 'x of y values' will be used instead. The default is 6.&amp;nbsp; &lt;/P&gt;&lt;H2&gt;Examples&lt;/H2&gt;&lt;P style="font-weight: bold;"&gt;getfieldselections ( Year )&amp;nbsp; &lt;/P&gt;&lt;P style="font-weight: bold;"&gt;getfieldselections ( Year, '; ' )&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="Bold"&gt;getfieldselections ( Year, '; ' , 10 )&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;(EDIT: Ah, I seem to have misunderstood the question. Thought you wanted to show the current selection that you had made, in a text object)&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="Bold"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 07:50:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Currently-Selected-field/m-p/252824#M1194624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-31T07:50:55Z</dc:date>
    </item>
    <item>
      <title>Currently Selected field</title>
      <link>https://community.qlik.com/t5/QlikView/Currently-Selected-field/m-p/252825#M1194626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hi,&lt;/P&gt;&lt;P&gt;use the function getfieldselections().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will show what you have selected in the field [Project Type].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I understood your request you want to display a text box when [Project Type] is "Maintenance".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create your text box, on the Layout tab make "Show" conditional with the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(getfieldselections([Project Type])='Maintenance',1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Conditionaltextbox.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/4831_Conditionaltextbox.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 07:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Currently-Selected-field/m-p/252825#M1194626</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-05-31T07:53:26Z</dc:date>
    </item>
    <item>
      <title>Currently Selected field</title>
      <link>https://community.qlik.com/t5/QlikView/Currently-Selected-field/m-p/252826#M1194628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi pat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for ur reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I tried in ur way. But still I m not getting the result as I needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I m using QV 10 SR2. Is thr any pblm with tat?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please clarify this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 08:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Currently-Selected-field/m-p/252826#M1194628</guid>
      <dc:creator />
      <dc:date>2011-05-31T08:05:27Z</dc:date>
    </item>
    <item>
      <title>Currently Selected field</title>
      <link>https://community.qlik.com/t5/QlikView/Currently-Selected-field/m-p/252827#M1194630</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;don't know about the version issue and can't test it but I'd be very surprised.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start by creating a text box without the "show" condition expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the tex box put the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=getfieldselections([Project Type]).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now start selecting on your [Projetc Type] field. What happens to the text box? This should display the selected value of [project Type] when &lt;SPAN style="text-decoration: underline;"&gt;one and only one &lt;/SPAN&gt;value has been selected. Is this the case? If not there is a typo.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is to test the result of the above expression against the string 'Maintenance' and show the textbox if this condition is met. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try again - I tested it her and it works (v8.5).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by the way&amp;nbsp; Sivasubramanian's solution woul ddo the job too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 08:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Currently-Selected-field/m-p/252827#M1194630</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-05-31T08:20:02Z</dc:date>
    </item>
    <item>
      <title>Currently Selected field</title>
      <link>https://community.qlik.com/t5/QlikView/Currently-Selected-field/m-p/252828#M1194632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi pat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Again I ve tried it as u said.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; It works perfectly in the text but not in the show condition expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I dono y happening like this... But before I ve tried with other chart types. I didn't face any pblm like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I ll try to find out wats the pblm in this n ll post u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 08:45:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Currently-Selected-field/m-p/252828#M1194632</guid>
      <dc:creator />
      <dc:date>2011-05-31T08:45:27Z</dc:date>
    </item>
  </channel>
</rss>

