<?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 Dynamic window titles based on selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-window-titles-based-on-selection/m-p/203809#M60998</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use an expression like this for your Windows title :&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;mso-layout-grid-align:none;"&gt;=if (GetSelectedCount(MY_SMALL_DIMENSION), ' Selections on my small dimension are' &amp;amp; GetFieldSelections(MY_SMALL_DIMENSION,', ',50) , 'String to display when there are no selections')&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;where MY_SMALL_DIMENSION is the name of your dimension, ',' is the string to display between two field selections, and 50 is the max number of items displays. for example if I've selected 51 items in my dimension and there are 2500 existing distinct values in this dimension, it will displays '51 of 2500 values' instead of the list of available items.&lt;/P&gt;&lt;P&gt;Best regards&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Apr 2010 15:38:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-06T15:38:01Z</dc:date>
    <item>
      <title>Dynamic window titles based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-window-titles-based-on-selection/m-p/203807#M60996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I 'd like the window title of a chart to display the users selection of a small dimension. So, if the user select serveral elemens out of the dimension all of them should be displayed in the window title.&lt;/P&gt;&lt;P&gt;I know, usually this kind of requirements are implemented by the use of a "Current Selection Box" but this might not be an option here.&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;Ludwig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Apr 2010 15:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-window-titles-based-on-selection/m-p/203807#M60996</guid>
      <dc:creator />
      <dc:date>2010-04-06T15:04:05Z</dc:date>
    </item>
    <item>
      <title>Dynamic window titles based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-window-titles-based-on-selection/m-p/203808#M60997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YOu can Specify the Field Name&lt;/P&gt;&lt;P&gt;eg :&lt;/P&gt;&lt;P&gt;= 'Customer Name is ' &amp;amp; CUSTOMERNAME&lt;/P&gt;&lt;P&gt;where CUSTOMERNAME is the field name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Apr 2010 15:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-window-titles-based-on-selection/m-p/203808#M60997</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2010-04-06T15:07:21Z</dc:date>
    </item>
    <item>
      <title>Dynamic window titles based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-window-titles-based-on-selection/m-p/203809#M60998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use an expression like this for your Windows title :&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;mso-layout-grid-align:none;"&gt;=if (GetSelectedCount(MY_SMALL_DIMENSION), ' Selections on my small dimension are' &amp;amp; GetFieldSelections(MY_SMALL_DIMENSION,', ',50) , 'String to display when there are no selections')&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;where MY_SMALL_DIMENSION is the name of your dimension, ',' is the string to display between two field selections, and 50 is the max number of items displays. for example if I've selected 51 items in my dimension and there are 2500 existing distinct values in this dimension, it will displays '51 of 2500 values' instead of the list of available items.&lt;/P&gt;&lt;P&gt;Best regards&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Apr 2010 15:38:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-window-titles-based-on-selection/m-p/203809#M60998</guid>
      <dc:creator />
      <dc:date>2010-04-06T15:38:01Z</dc:date>
    </item>
    <item>
      <title>Dynamic window titles based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-window-titles-based-on-selection/m-p/203810#M60999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;= 'Customer Name is ' &amp;amp; CUSTOMERNAME&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;will display a "-" if more than 1 CUSTOMERNAME is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;= 'Customer Name : ' &amp;amp; concat(CUSTOMERNAME, ', ')&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[EDIT]&lt;/P&gt;&lt;P&gt;Bertrand gave another good (proper) solution at the same time. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;[/EDIT]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Apr 2010 15:38:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-window-titles-based-on-selection/m-p/203810#M60999</guid>
      <dc:creator />
      <dc:date>2010-04-06T15:38:13Z</dc:date>
    </item>
    <item>
      <title>Dynamic window titles based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-window-titles-based-on-selection/m-p/203811#M61000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've added my solution to nmartin example.&lt;BR /&gt;(I've learned something today with the concat function &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;BR /&gt;Both solutions work,&lt;/P&gt;&lt;P&gt;differences are :&lt;/P&gt;&lt;P&gt;when no selections are made :&lt;/P&gt;&lt;P&gt;- if you want to list all possible values =&amp;gt; use the concat version&lt;BR /&gt;- if you want to display another thing =&amp;gt; you can use the getfieldselections&lt;/P&gt;&lt;P&gt;on big selections :&lt;/P&gt;&lt;P&gt;- possibilities to display a ratio ( x values on y) with the getfieldselections&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Apr 2010 15:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-window-titles-based-on-selection/m-p/203811#M61000</guid>
      <dc:creator />
      <dc:date>2010-04-06T15:58:35Z</dc:date>
    </item>
  </channel>
</rss>

