<?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: Re: Chart Title - Current Selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628485#M1095421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see attachment&lt;/P&gt;&lt;P&gt;=IF(GetPossibleCount(SubAgency)&amp;gt;1 or GetPossibleCount(SubSegment)&amp;gt;1,'Multiple Selections, $M',&lt;/P&gt;&lt;P&gt;SubAgency &amp;amp; ' - ' &amp;amp; SubSegment &amp;amp; ', ' &amp;amp; num(round(sum(Expression1)/1000000),'#.##0') &amp;amp; ' $M')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 May 2014 17:20:53 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2014-05-09T17:20:53Z</dc:date>
    <item>
      <title>Chart Title - Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628478#M1095414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to make my chart title reflect the current selections across two variables (which I have named SubSegment and SubAgency in my dataset).&amp;nbsp; Ideally, the chart title would read:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;&lt;SPAN style="color: #000000;"&gt;"&lt;/SPAN&gt;SubAgency&lt;/STRONG&gt; - &lt;STRONG style="color: #3366ff;"&gt;SubSegment&lt;/STRONG&gt;, $M"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is no SubAgency or SubSegment selected, I'd like it to still output whatever IS selected, and if there are multiple selections, I'd like it to default to "Multiple Selections, $M".&amp;nbsp; Finally, if nothing is selected (I.E I'm just looking at the total sum of my data), I'd like to display, "Total Market, $M"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 15:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628478#M1095414</guid>
      <dc:creator />
      <dc:date>2014-05-09T15:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Title - Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628479#M1095415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetCurrentSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; will return a list of the selected values for all fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetCurrentSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(fieldname&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; will return a list of the selected values for one field&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 16:14:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628479#M1095415</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-05-09T16:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Title - Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628480#M1095416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GetCurrentSelections() will insert each field on a separate line, you can remove the carriage returns like this.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;REPLACE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;REPLACE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetCurrentSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;CHR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(13), ' '), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;CHR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(10), ' ') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 16:16:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628480#M1095416</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-05-09T16:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Title - Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628481#M1095417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, Colin.&amp;nbsp; Any idea how to deal with "Multiple Selections"?&amp;nbsp; Is there a way to essentially say, "If current selections &amp;gt; 1, then ______"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 16:34:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628481#M1095417</guid>
      <dc:creator />
      <dc:date>2014-05-09T16:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Title - Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628482#M1095418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at&amp;nbsp; &lt;STRONG&gt;only(fieldname)&amp;nbsp; &lt;/STRONG&gt;this will return the field name if one selection has been made, otherwise null.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 16:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628482#M1095418</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-05-09T16:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Title - Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628483#M1095419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also&amp;nbsp; GetSelectedCount(fieldname)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 16:42:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628483#M1095419</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-05-09T16:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Title - Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628484#M1095420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So right now I've got:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(GetSelectedCount(SubAgency)&amp;gt;1 or GetSelectedCount(SubSegment)&amp;gt;1,'Multiple Selections, $M',SubAgency&amp;amp;' - '&amp;amp;SubSegment&amp;amp;', $M')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is correctly labeling the graphs when I make my singular selections, but is not working when I make multiple selections.&amp;nbsp; Any ideas what's wrong with my syntax/construction?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 16:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628484#M1095420</guid>
      <dc:creator />
      <dc:date>2014-05-09T16:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Chart Title - Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628485#M1095421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see attachment&lt;/P&gt;&lt;P&gt;=IF(GetPossibleCount(SubAgency)&amp;gt;1 or GetPossibleCount(SubSegment)&amp;gt;1,'Multiple Selections, $M',&lt;/P&gt;&lt;P&gt;SubAgency &amp;amp; ' - ' &amp;amp; SubSegment &amp;amp; ', ' &amp;amp; num(round(sum(Expression1)/1000000),'#.##0') &amp;amp; ' $M')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 17:20:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628485#M1095421</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-05-09T17:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Title - Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628486#M1095422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Massimo - the problem right now isn't getting the last part of the IF function - the Else - to work, it's getting the Condition and the Then.&amp;nbsp; It's not displaying "Multiple Selections, $M" when I select more than one SubAgency or SubSegment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 17:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628486#M1095422</guid>
      <dc:creator />
      <dc:date>2014-05-09T17:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Title - Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628487#M1095423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what it its showing? Have you tried any other text just for testing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that you need active selections in these fields, just making no selection will execute the Then branch (But Massimo's solution using GetPossibleCount() should do this).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 17:33:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628487#M1095423</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-05-09T17:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Title - Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628488#M1095424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I don't select anything, I get: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;" - ,$M"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For now, ok.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One SubSegment/SubAgency selected: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;" - IT Operations, $M" / "USDA - , $M"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For now, ok.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One SubAgency and SubSegment selected: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;"USDA - IT Operations, $M" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Perfect.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Multiple SubAgencies and/or SubSegments selected: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;" - ,$M"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;This needs to be fixed.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 17:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628488#M1095424</guid>
      <dc:creator />
      <dc:date>2014-05-09T17:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Title - Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628489#M1095425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to play with&lt;/P&gt;&lt;P&gt;- getpossible and getselected&lt;/P&gt;&lt;P&gt;and also with&amp;nbsp; &lt;/P&gt;&lt;P&gt;- or / and&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 17:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628489#M1095425</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-05-09T17:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Title - Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628490#M1095426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your expressions works for me. Could you post a small sample qvw that demonstrates your issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 17:49:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628490#M1095426</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-05-09T17:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Title - Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628491#M1095427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bah - just figured it out.&amp;nbsp; SubAgency/SubSegment were the wrong variables to reference in the IF statement - I had to reference the hierarchical values that were driving the List Box/Chart.&amp;nbsp; Thank you for all your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 18:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Title-Current-Selections/m-p/628491#M1095427</guid>
      <dc:creator />
      <dc:date>2014-05-09T18:07:06Z</dc:date>
    </item>
  </channel>
</rss>

