<?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 Excluding All Selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142970#M22346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if I understand what you want, but&lt;/P&gt;&lt;P&gt;sum( {1-$} Sales )&lt;/P&gt;&lt;P&gt;will summarize all except the selections.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2009 18:47:39 GMT</pubDate>
    <dc:creator>rbecher</dc:creator>
    <dc:date>2009-04-30T18:47:39Z</dc:date>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142967#M22343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Using Set Analysis can we Exclude all the selections Except one field.&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;FIELD1=FIELD1&amp;gt;} Sales) : This does not work.&lt;/P&gt;&lt;P&gt;Does any one have other alternatives.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MAK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 05:40:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142967#M22343</guid>
      <dc:creator />
      <dc:date>2009-04-30T05:40:18Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142968#M22344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum( {1&amp;lt;FIELD={Value} Sales&amp;gt;} This works but it is restricted to this Value. I want it to be depended on only one field selection.&lt;/P&gt;&lt;P&gt;Can any body do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 10:43:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142968#M22344</guid>
      <dc:creator />
      <dc:date>2009-04-30T10:43:51Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142969#M22345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to get all selection except set A, use {1-A}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 14:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142969#M22345</guid>
      <dc:creator>yblake</dc:creator>
      <dc:date>2009-04-30T14:23:13Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142970#M22346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if I understand what you want, but&lt;/P&gt;&lt;P&gt;sum( {1-$} Sales )&lt;/P&gt;&lt;P&gt;will summarize all except the selections.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 18:47:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142970#M22346</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2009-04-30T18:47:39Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142971#M22347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you said , {1-$} will give All except the selections.&lt;/P&gt;&lt;P&gt;Here is what I want exactly&lt;/P&gt;&lt;P&gt;If I make selections on Field1 , Field2 , Field3....., Field100.&lt;/P&gt;&lt;P&gt;I want to summarize by Ignoring all selections but Including Field3 Selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 20:36:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142971#M22347</guid>
      <dc:creator />
      <dc:date>2009-04-30T20:36:33Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142972#M22348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will summarize all Sales values with the current Field3 selection:&lt;/P&gt;&lt;P&gt;sum( {1 &amp;lt; Field3 = {"$(=getfieldselections ( Field3 ))"} &amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;Will work only if a single value is selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 22:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142972#M22348</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2009-04-30T22:07:23Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142973#M22349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ralf.&lt;/P&gt;&lt;P&gt;Is there any solution for Multiple Values?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 23:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142973#M22349</guid>
      <dc:creator />
      <dc:date>2009-04-30T23:31:57Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142974#M22350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I played around a bit and this works now for me:&lt;/P&gt;&lt;P&gt;sum( {1 &amp;lt; Field3 = {$(=getfieldselections ( Field3 ))} &amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;Just without the quotes! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 23:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142974#M22350</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2009-04-30T23:50:36Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142975#M22351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ralf,&lt;BR /&gt;I tried removing Quotes. It doesnt work.&lt;/P&gt;&lt;P&gt;Did you change anything else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2009 01:20:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142975#M22351</guid>
      <dc:creator />
      <dc:date>2009-05-01T01:20:22Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142976#M22352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. It depends on the values of Field3. Do you have values with blanks or strange chars?&lt;/P&gt;&lt;P&gt;This is my last idea:&lt;/P&gt;&lt;P&gt;sum( {1 &amp;lt; Field3 = {$(=getfieldselections ( Field3, ',', 100 ))} &amp;gt;} Sales ) // getfieldselections with comma separator, max 100 values (default is 6)&lt;/P&gt;&lt;P&gt;You can check the return of getfieldselections ( Field3, ',', 100 ) if you insert it as a formula. It should return a comma separated value list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2009 03:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142976#M22352</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2009-05-01T03:30:51Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142977#M22353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Very Much.&lt;/P&gt;&lt;P&gt;I had "-" in my value, that is why it was giving problem. Now solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2009 03:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142977#M22353</guid>
      <dc:creator />
      <dc:date>2009-05-01T03:44:51Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142978#M22354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum( {1 &amp;lt;Field3= {&lt;B&gt;&lt;I&gt;$(= '"'&amp;amp; concat( Field3,'", "' )&amp;amp; '"')&lt;/I&gt;&lt;/B&gt;}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Some improvement to your code. This works even for bad data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 20:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142978#M22354</guid>
      <dc:creator />
      <dc:date>2009-05-05T20:55:02Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142979#M22355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will return a quoted value list which is much better. But I wonder why you're using concat instead of getfieldselection?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 21:05:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142979#M22355</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2009-05-05T21:05:20Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142980#M22356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The above solution is good for QV 8.5 and it makes the chart little slow.&lt;/P&gt;&lt;P&gt;Is there any other faster solution in V 9.0 or V 10&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 22:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142980#M22356</guid>
      <dc:creator />
      <dc:date>2010-05-04T22:35:19Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142981#M22357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Ralf Becher wrote:I wonder why you're using concat instead of getfieldselection?&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Well, the difference would be if nothing is selected, everything ends up on the concat() list, and nothing ends up on the getfieldselections() list. So it depends on if you want nothing or everything, I guess.&lt;/P&gt;&lt;P&gt;I'm not on 9.0 yet, but doesn't it let you specify the set of all possible values for a field? So you can very directly just say "ignore all selections, except for this field, where you should use all possible values". Someone else will have to supply the syntax. I suppose I could look it up if I weren't lazy, but I'm lazy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 23:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142981#M22357</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-05-04T23:36:14Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142982#M22358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;&amp;gt; =sum( {1 &amp;lt;Field3= {$(= '"'&amp;amp; concat( Field3,'", "' )&amp;amp; '"')}&amp;gt;} Sales)&lt;BR /&gt;&amp;gt; Some improvement to your code. This works even for bad data.&lt;/P&gt;&lt;P&gt;Just for refinement, try if this improves the performance: ... concat( &lt;STRONG&gt;distinct&lt;/STRONG&gt; Field3, ...&lt;/P&gt;&lt;P&gt;By ignoring any duplicate values, it should work better in case your Field3 is heavily populated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 10:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142982#M22358</guid>
      <dc:creator>tanelry</dc:creator>
      <dc:date>2010-05-05T10:07:27Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142983#M22359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[quote user="Tanel Rüütli"]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="PADDING-LEFT:30px;"&gt;&amp;gt; =sum( {1 &amp;lt;Field3= {$(= '"'&amp;amp; concat( Field3,'", "' )&amp;amp; '"')}&amp;gt;} Sales)&lt;BR /&gt;&amp;gt; Some improvement to your code. This works even for bad data.&lt;/P&gt;&lt;P&gt;Just for refinement, try if this improves the performance: ... concat( &lt;STRONG&gt;distinct&lt;/STRONG&gt; Field3, ...&lt;/P&gt;&lt;P&gt;By ignoring any duplicate values, it should work better in case your Field3 is heavily populated.&lt;/P&gt;&lt;DIV style="CLEAR:both;"&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Ah, yes. I've made THAT mistake before. Definitely use distinct if your field values are not already distinct. It can make a huge difference in performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 16:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142983#M22359</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-05-05T16:43:33Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Excluding All Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142984#M22360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This Works for V9.0&lt;/P&gt;&lt;P&gt;sum( {1 &amp;lt;Field3= P(Field3)&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 20:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Excluding-All-Selections/m-p/142984#M22360</guid>
      <dc:creator />
      <dc:date>2010-05-05T20:13:17Z</dc:date>
    </item>
  </channel>
</rss>

