<?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 Select value for chart by GetFieldSelections() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-value-for-chart-by-GetFieldSelections/m-p/376154#M140196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am quiet new to qlickview hence i got a question..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got two items in my sheet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a. Listbox: $Field&lt;/P&gt;&lt;P&gt;b. Chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user should be able to select a field in the listbox over which the graph will be calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg. the listbox contains the values&lt;/P&gt;&lt;P&gt;grand_total&lt;/P&gt;&lt;P&gt;grand_total_net&lt;/P&gt;&lt;P&gt;subtotal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user selects grand_total, the graph shows grand_total over time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to put in the expression field of the graph the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(GetFieldSelections($Field))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it says "No data to display"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help? thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Aug 2012 12:20:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-08T12:20:21Z</dc:date>
    <item>
      <title>Select value for chart by GetFieldSelections()</title>
      <link>https://community.qlik.com/t5/QlikView/Select-value-for-chart-by-GetFieldSelections/m-p/376154#M140196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am quiet new to qlickview hence i got a question..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got two items in my sheet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a. Listbox: $Field&lt;/P&gt;&lt;P&gt;b. Chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user should be able to select a field in the listbox over which the graph will be calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg. the listbox contains the values&lt;/P&gt;&lt;P&gt;grand_total&lt;/P&gt;&lt;P&gt;grand_total_net&lt;/P&gt;&lt;P&gt;subtotal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user selects grand_total, the graph shows grand_total over time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to put in the expression field of the graph the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(GetFieldSelections($Field))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it says "No data to display"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help? thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 12:20:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-value-for-chart-by-GetFieldSelections/m-p/376154#M140196</guid>
      <dc:creator />
      <dc:date>2012-08-08T12:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Select value for chart by GetFieldSelections()</title>
      <link>https://community.qlik.com/t5/QlikView/Select-value-for-chart-by-GetFieldSelections/m-p/376155#M140197</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;Try the following instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13444288324193710" jivemacro_uid="_13444288324193710"&gt;&lt;P&gt;Sum($(=GetFieldSelections($Field)))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 12:26:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-value-for-chart-by-GetFieldSelections/m-p/376155#M140197</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-08-08T12:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Select value for chart by GetFieldSelections()</title>
      <link>https://community.qlik.com/t5/QlikView/Select-value-for-chart-by-GetFieldSelections/m-p/376156#M140198</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;Try using variable &lt;/P&gt;&lt;P&gt;DocumentProperties --&amp;gt; Variables --&amp;gt; New --&amp;gt; vTest&lt;/P&gt;&lt;P&gt;In vTest give value = GetFieldSelection($(Field))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Chart expression take =Sum($(vTest))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Satish.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 12:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-value-for-chart-by-GetFieldSelections/m-p/376156#M140198</guid>
      <dc:creator />
      <dc:date>2012-08-08T12:32:53Z</dc:date>
    </item>
  </channel>
</rss>

