<?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: Set Analysis with multiple selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996096#M960503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What data do you have in FIELD1? How is that is linked to FIELD2?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Oct 2015 19:34:30 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-10-30T19:34:30Z</dc:date>
    <item>
      <title>Set Analysis with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996089#M960494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have defined a set analysis as below in a Pivot Chart. It works fine when I have only one selection made for &lt;SPAN style="font-size: 13.3333px;"&gt;FIELD2 as I was using getfieldselections. FIELD2 is actually one of the dimensions. When I make multiple selections the output of &lt;SPAN style="font-size: 13.3333px;"&gt;getfieldselections(FIELD2) will be several values separated by comma like A,B,C&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Sum({$&amp;lt;FIELD1={'$(=getfieldselections(FIELD2))' }&amp;gt;} FIELD3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It there a way to use set analysis to wildmatch the selections made for FIELD2 and get the sum? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 04:23:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996089#M960494</guid>
      <dc:creator />
      <dc:date>2015-10-30T04:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996090#M960495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG style="text-decoration: line-through;"&gt;=Sum({$&amp;lt;FIELD1={"$(=Chr(34) &amp;amp; GetFieldselections(FIELD2, Chr(34) &amp;amp; ', ' &amp;amp; Chr(34)) &amp;amp; Chr(34))"}&amp;gt;} FIELD3)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;=Sum({$&amp;lt;FIELD1={"$(=Chr(39) &amp;amp; GetFieldselections(FIELD2, Chr(39) &amp;amp; ', ' &amp;amp; Chr(39)) &amp;amp; Chr(39))"}&amp;gt;} FIELD3)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 15:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996090#M960495</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-30T15:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996091#M960496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response sunny, I have tried butt this doesnt work.&lt;/P&gt;&lt;P&gt;We are basically equating one value to multiple values &lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;if FIELD1 is A and values selected for FIELD2 is A,B,C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the equation would be something like this.&lt;/P&gt;&lt;P&gt;A= 'A','B','C'&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Which is not a true statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 18:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996091#M960496</guid>
      <dc:creator />
      <dc:date>2015-10-30T18:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996092#M960497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then I am not sure why you are trying to do that? What is the requirement here? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 18:48:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996092#M960497</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-30T18:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996093#M960498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the double quotes need to be removed from the set modifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px;"&gt;=Sum({$&amp;lt;FIELD1={$(=Chr(39) &amp;amp; GetFieldselections(FIELD2, Chr(39) &amp;amp; ', ' &amp;amp; Chr(39)) &amp;amp; Chr(39))}&amp;gt;} FIELD3)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you select A,B and C in FIELD2, this dollar sign expansion should evaluate to &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px;"&gt;=Sum({$&amp;lt;FIELD1={'A','B','C'}&amp;gt;} FIELD3)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that is what you want? If not, please elaborate your requirement and post some sample field values for FIELD1 and FIELD2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 18:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996093#M960498</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-10-30T18:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996094#M960499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another option if you want to modify FIELD1 set, applying the FIELD2 set is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px;"&gt;=Sum({$&amp;lt;FIELD1= FIELD2 &amp;gt;} FIELD3)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 19:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996094#M960499</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-10-30T19:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996095#M960501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table with dimensions &lt;/P&gt;&lt;P&gt;FIELD0 and FIELD2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;=Sum({$&amp;lt;FIELD1={'$(=getfieldselections(FIELD2))' }&amp;gt;} FIELD3)&amp;nbsp; --&amp;gt; Expression 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Sum({$&amp;lt;FIELD4={'$(=getfieldselections(FIELD2))' }&amp;gt;} FIELD5)&amp;nbsp; --&amp;gt; Expression 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If I have one selection for FIELD2 (for example A)&amp;nbsp; the output would be &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="256"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" width="64"&gt;FIELD0&lt;/TD&gt;&lt;TD width="64"&gt;FIELD2&lt;/TD&gt;&lt;TD width="64"&gt;EXP1&lt;/TD&gt;&lt;TD width="64"&gt;EXP2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;123&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD align="right"&gt;30&lt;/TD&gt;&lt;TD align="right"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I am able to achieve the above with this formula&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Sum({$&amp;lt;FIELD1={'$(=getfieldselections(FIELD2))' }&amp;gt;} FIELD3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;but When I select more then one value for FIELD2 (for example A,B) I want my output to be &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 256px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="64"&gt;FIELD0&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;FIELD2&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;EXP1&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;EXP2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;" width="64"&gt;123&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;" width="64"&gt;A&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;" width="64"&gt;30&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;" width="64"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;" width="64"&gt;123&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;" width="64"&gt;B&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;" width="64"&gt;25&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;" width="64"&gt;28&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;" width="64"&gt;142&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;" width="64"&gt;B&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;" width="64"&gt;34&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;" width="64"&gt;54&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;but the below formula doesnt work for me&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;=Sum({$&amp;lt;FIELD1={$(=Chr(39) &amp;amp; GetFieldselections(FIELD2, Chr(39) &amp;amp; ', ' &amp;amp; Chr(39)) &amp;amp; Chr(39))}&amp;gt;} FIELD3)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;because it is adding up everything and giving me result like below.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="256"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="19" width="64"&gt;FIELD0&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;FIELD2&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;EXP1&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;EXP2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;123&lt;/TD&gt;&lt;TD class="xl65"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;89&lt;/TD&gt;&lt;TD class="xl65"&gt;102&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;123&lt;/TD&gt;&lt;TD class="xl65"&gt;B&lt;/TD&gt;&lt;TD class="xl65"&gt;89&lt;/TD&gt;&lt;TD class="xl65"&gt;102&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;142&lt;/TD&gt;&lt;TD class="xl65"&gt;B&lt;/TD&gt;&lt;TD class="xl65"&gt;89&lt;/TD&gt;&lt;TD class="xl65"&gt;102&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Was I clear?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 19:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996095#M960501</guid>
      <dc:creator />
      <dc:date>2015-10-30T19:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996096#M960503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What data do you have in FIELD1? How is that is linked to FIELD2?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 19:34:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996096#M960503</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-30T19:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996097#M960504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you want Field1 to only consider the current dimension value of FIELD2.&lt;/P&gt;&lt;P&gt;Set analysis can't do this, it's not evaluated per dimension like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would probably need SUM(IF(...)) for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 19:42:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996097#M960504</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-10-30T19:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996098#M960505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The data is something similar to this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="192"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="19" width="64"&gt;FIELD0&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;FIELD1&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;FIELD4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;123&lt;/TD&gt;&lt;TD class="xl65"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;123&lt;/TD&gt;&lt;TD class="xl65"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;123&lt;/TD&gt;&lt;TD class="xl65"&gt;Z&lt;/TD&gt;&lt;TD class="xl65"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;123&lt;/TD&gt;&lt;TD class="xl65"&gt;B&lt;/TD&gt;&lt;TD class="xl65"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;123&lt;/TD&gt;&lt;TD class="xl65"&gt;B&lt;/TD&gt;&lt;TD class="xl65"&gt;D&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;142&lt;/TD&gt;&lt;TD class="xl65"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;142&lt;/TD&gt;&lt;TD class="xl65"&gt;B&lt;/TD&gt;&lt;TD class="xl65"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;142&lt;/TD&gt;&lt;TD class="xl65"&gt;X&lt;/TD&gt;&lt;TD class="xl65"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD2 lookup table which has distinct value of FIELD1 and FIELD4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="64"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="19" width="64"&gt;FIELD2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;D&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;X&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;Z&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this data if I select FIELD2 as A I should get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="256"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="19" width="64"&gt;FIELD0&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;FIELD2&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;EXP1&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;EXP2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;123&lt;/TD&gt;&lt;TD class="xl65"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;2&lt;/TD&gt;&lt;TD class="xl65"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;142&lt;/TD&gt;&lt;TD class="xl65"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If I select two values that is A,B. I want the output to be &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="256"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="19" width="64"&gt;FIELD0&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;FIELD2&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;EXP1&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;EXP2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;123&lt;/TD&gt;&lt;TD class="xl65"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;2&lt;/TD&gt;&lt;TD class="xl65"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;142&lt;/TD&gt;&lt;TD class="xl65"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;123&lt;/TD&gt;&lt;TD class="xl65"&gt;B&lt;/TD&gt;&lt;TD class="xl65"&gt;2&lt;/TD&gt;&lt;TD class="xl65"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="19"&gt;142&lt;/TD&gt;&lt;TD class="xl65"&gt;B&lt;/TD&gt;&lt;TD class="xl65"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 19:46:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996098#M960505</guid>
      <dc:creator />
      <dc:date>2015-10-30T19:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996099#M960506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure I gather completely. If you are making a selection in Field2, then you will only see what you have in Field2 (unless you have a restricting set analysis)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103640_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/103641_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 20:25:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996099#M960506</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-30T20:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996100#M960507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are missing the expressions. Which is like count of appearances.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 20:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996100#M960507</guid>
      <dc:creator />
      <dc:date>2015-10-30T20:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996101#M960508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you think this can be achieved using SUM(IF(...)) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 20:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996101#M960508</guid>
      <dc:creator />
      <dc:date>2015-10-30T20:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996102#M960509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(If(FIELD2=FIELD1,FIELD1))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 20:48:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996102#M960509</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-10-30T20:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996103#M960510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This could be done in the this way but I have one more expression which involves a filter in the set analysis.&lt;/P&gt;&lt;P&gt;I think I will have to move the 3rd expression to different table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;=Sum({$&amp;lt;FIELD1={'$(=getfieldselections(FIELD2))' },FIELD5={0}&amp;gt;} FIELD6)&amp;nbsp; --&amp;gt; Third expresion&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Thanks for your help.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 21:09:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996103#M960510</guid>
      <dc:creator />
      <dc:date>2015-10-30T21:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996104#M960511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;=Sum({$&amp;lt;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;$(='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;FIELD1&lt;/SPAN&gt; = {' &amp;amp; getfieldselections(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;FIELD2&lt;/SPAN&gt;)&amp;nbsp; &amp;amp; '}') &lt;/SPAN&gt;&amp;gt;} FIELD3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;If FIELD2 values contain spaces then you need to concatenate them using single quotes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;=Sum({$&amp;lt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;$(='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;FIELD1&lt;/SPAN&gt; = {' &amp;amp; Chr(39) &amp;amp; getfieldselections(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;FIELD2, Chr(39) &amp;amp; ',' &amp;amp; Chr(39)) &amp;amp; Chr(39)&amp;nbsp; &amp;amp; &lt;/SPAN&gt; '}') &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&amp;gt;} FIELD3)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 21:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-selections/m-p/996104#M960511</guid>
      <dc:creator />
      <dc:date>2015-10-30T21:51:54Z</dc:date>
    </item>
  </channel>
</rss>

