<?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 set analysis and getfieldselections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-and-getfieldselections/m-p/587708#M217927</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;I am using the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Budget Month] = {'$(= GetFieldSelections([Forecast Month]))'}&amp;gt;}Budget)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It only works if I select one value from Forecast month. If I select multiple months from foreclast month, the value is zero. I want that if no forecast month is selected, take sum of all budget months, otherwise take the sum of budget for those budget months for which I select the forecast months from listbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Forecast month and budget months are two different month fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jan 2014 09:29:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-30T09:29:33Z</dc:date>
    <item>
      <title>set analysis and getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-getfieldselections/m-p/587708#M217927</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;I am using the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Budget Month] = {'$(= GetFieldSelections([Forecast Month]))'}&amp;gt;}Budget)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It only works if I select one value from Forecast month. If I select multiple months from foreclast month, the value is zero. I want that if no forecast month is selected, take sum of all budget months, otherwise take the sum of budget for those budget months for which I select the forecast months from listbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Forecast month and budget months are two different month fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 09:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-getfieldselections/m-p/587708#M217927</guid>
      <dc:creator />
      <dc:date>2014-01-30T09:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-getfieldselections/m-p/587709#M217928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to create this variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vForecastMonths&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=replace(chr(39)&amp;amp;concat(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Forecast Month]&lt;/SPAN&gt;,',')&amp;amp;chr(39),',',chr(39)&amp;amp;','&amp;amp;chr(39))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and change to this the expression:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Budget Month] = {$(&lt;STRONG&gt;vForecastMonths&lt;/STRONG&gt;)}&amp;gt;}Budget)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 11:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-getfieldselections/m-p/587709#M217928</guid>
      <dc:creator />
      <dc:date>2014-01-30T11:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-getfieldselections/m-p/587710#M217929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt; =Sum({&amp;lt;[Budget Month]={$(=Concat(Distinct chr(39)&amp;amp;[Forecast Month]&amp;amp;chr(39),','))}&amp;gt; }Budget)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 12:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-getfieldselections/m-p/587710#M217929</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-01-30T12:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-getfieldselections/m-p/587711#M217930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Budget Month]&lt;/SPAN&gt;={$(=GetFieldSelections(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Forecast Month]&lt;/SPAN&gt;,',',100))}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Budget&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;100 should be atleast the number of distinct values in Forecast Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 12:33:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-getfieldselections/m-p/587711#M217930</guid>
      <dc:creator>NareshGuntur</dc:creator>
      <dc:date>2014-01-30T12:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-getfieldselections/m-p/587712#M217931</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;Have you tried: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;EM&gt;sum({&amp;lt;[Budget Month] = P([Forecast Month])&amp;gt;} Budget)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 12:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-getfieldselections/m-p/587712#M217931</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-01-30T12:52:49Z</dc:date>
    </item>
  </channel>
</rss>

