<?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 ignores my sub-selection when defined a range of values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-ignores-my-sub-selection-when-defined-a-range-of/m-p/1091744#M639362</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;&lt;STRONG&gt;Sum({&amp;lt;[Name] &lt;SPAN style="color: #ff0000;"&gt;*&lt;/SPAN&gt;= {'A','B','C','E'}&amp;gt;} Salary)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Feb 2016 17:28:17 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-02-23T17:28:17Z</dc:date>
    <item>
      <title>Set analysis ignores my sub-selection when defined a range of values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-ignores-my-sub-selection-when-defined-a-range-of/m-p/1091743#M639360</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 defined in the expression to only view a specfic set of data, but I might want to view only a sub-part of the presentation by selecting one (or more) of the possible values. Unfortunately, I don't know how to do this... It always sticks to the selections made in the set analysis expression. Since 'C' is a value of the array 'A,B,C,D,E' I would think this should work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/115586_1.png" style="height: 376px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Script&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;Name, Salary&lt;/P&gt;&lt;P&gt;A,10&lt;/P&gt;&lt;P&gt;B,20&lt;/P&gt;&lt;P&gt;C,30&lt;/P&gt;&lt;P&gt;D,40&lt;/P&gt;&lt;P&gt;E,50];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Set analysis expression&lt;/SPAN&gt;: sum({&lt;STRONG&gt;&amp;lt;[Name]={'A','B','C','E'}&amp;gt;}&lt;/STRONG&gt; Salary)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 08:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-ignores-my-sub-selection-when-defined-a-range-of/m-p/1091743#M639360</guid>
      <dc:creator />
      <dc:date>2016-02-23T08:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis ignores my sub-selection when defined a range of values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-ignores-my-sub-selection-when-defined-a-range-of/m-p/1091744#M639362</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;&lt;STRONG&gt;Sum({&amp;lt;[Name] &lt;SPAN style="color: #ff0000;"&gt;*&lt;/SPAN&gt;= {'A','B','C','E'}&amp;gt;} Salary)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 17:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-ignores-my-sub-selection-when-defined-a-range-of/m-p/1091744#M639362</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-23T17:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis ignores my sub-selection when defined a range of values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-ignores-my-sub-selection-when-defined-a-range-of/m-p/1091745#M639363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe you want to use the intersection operator * here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&lt;STRONG&gt;&amp;lt;[Name] *= {'A','B','C','E'}&amp;gt;}&lt;/STRONG&gt; Salary)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 17:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-ignores-my-sub-selection-when-defined-a-range-of/m-p/1091745#M639363</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-23T17:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis ignores my sub-selection when defined a range of values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-ignores-my-sub-selection-when-defined-a-range-of/m-p/1091746#M639364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Set Analysis, when you add a filter Name={something}, the equals sign "=" means "replace user selections with this". So obviously any of your selections in the same field will get ignored, or more accurately, replaced with the filter values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to allow both selections, you need to add one of the Boolean operators before the + sign. For example, this should do what you are looking for:&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: 13px;"&gt;sum({&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;lt;[Name]&lt;/STRONG&gt;*&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={'A','B','C','E'}&amp;gt;}&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Salary)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*= means the intersection of user selections with the list of values. So, when nothing is selected, you will get A, B, C, E. If you select one of the four values, you will get just what you've selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Upgrade your Qlik skills at the &lt;A href="http://masterssummit.com/"&gt;Masters Summit for Qlik&lt;/A&gt; - coming soon to Milan, Italy and Austin, TX!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 17:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-ignores-my-sub-selection-when-defined-a-range-of/m-p/1091746#M639364</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-02-23T17:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis ignores my sub-selection when defined a range of values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-ignores-my-sub-selection-when-defined-a-range-of/m-p/1091747#M639365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with Sunny and Stefan here, why even bother? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 17:33:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-ignores-my-sub-selection-when-defined-a-range-of/m-p/1091747#M639365</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-02-23T17:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis ignores my sub-selection when defined a range of values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-ignores-my-sub-selection-when-defined-a-range-of/m-p/1091748#M639369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of Henric's &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt;‌ recent blogs gave an overview of Set operators&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4663"&gt;Implicit Set Operators&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 17:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-ignores-my-sub-selection-when-defined-a-range-of/m-p/1091748#M639369</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-02-23T17:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis ignores my sub-selection when defined a range of values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-ignores-my-sub-selection-when-defined-a-range-of/m-p/1091749#M639371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, what a team!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cool.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for all the replies! Needless to say, they were all correct!&lt;/P&gt;&lt;P&gt;Unfortunately I can only select one as 'THE' correct answer... but kudos for all of you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;.&lt;/P&gt;&lt;P&gt;Love this forum and it's members.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 07:23:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-ignores-my-sub-selection-when-defined-a-range-of/m-p/1091749#M639371</guid>
      <dc:creator />
      <dc:date>2016-02-24T07:23:15Z</dc:date>
    </item>
  </channel>
</rss>

