<?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 Analyses Exclude Selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611474#M478178</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've got a Chart Type Straight table with the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Source={'SALES'}&amp;gt;} NrOfCartons)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I have a list box with the field [Consignee].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I write the expression to exclude the the selection(s) made in the [Consignee] field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will really appreciate it if someone can give me a hand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55670_Image.png" style="width: 1139px; height: 677px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Mar 2014 05:50:16 GMT</pubDate>
    <dc:creator>qlikconsult</dc:creator>
    <dc:date>2014-03-24T05:50:16Z</dc:date>
    <item>
      <title>Set Analyses Exclude Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611474#M478178</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've got a Chart Type Straight table with the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Source={'SALES'}&amp;gt;} NrOfCartons)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I have a list box with the field [Consignee].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I write the expression to exclude the the selection(s) made in the [Consignee] field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will really appreciate it if someone can give me a hand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55670_Image.png" style="width: 1139px; height: 677px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 05:50:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611474#M478178</guid>
      <dc:creator>qlikconsult</dc:creator>
      <dc:date>2014-03-24T05:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analyses Exclude Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611475#M478179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Can you please try below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;Source={'SALES'},&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Consignee&lt;/SPAN&gt;=&amp;gt;} NrOfCartons)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 05:54:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611475#M478179</guid>
      <dc:creator />
      <dc:date>2014-03-24T05:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analyses Exclude Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611476#M478180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Use &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Consignee&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=&lt;/SPAN&gt; in set analysis expression, it ignores the selection in the field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({&amp;lt;Source={'SALES'},&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Consignee&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=&amp;gt;} NrOfCartons)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 05:56:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611476#M478180</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-03-24T05:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analyses Exclude Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611477#M478181</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;Thanks guys, tried it, but not working yet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55671_Image2.png" style="width: 1308px; height: 661px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 06:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611477#M478181</guid>
      <dc:creator>qlikconsult</dc:creator>
      <dc:date>2014-03-24T06:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analyses Exclude Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611478#M478182</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;You can try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=sum({&amp;lt;Source={'SALES'},&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Consignee&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=e(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Consignee&lt;/SPAN&gt;)&amp;gt;} NrOfCartons)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 06:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611478#M478182</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-03-24T06:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analyses Exclude Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611479#M478183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=sum({1-$&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Consignee&lt;/SPAN&gt;,Source={'SALES'}&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;} NrOfCartons)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sushil&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 06:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611479#M478183</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2014-03-24T06:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Set Analyses Exclude Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611480#M478184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try as attached:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) You have to keep the Consignee= in the set anlaysis of expression.&lt;/P&gt;&lt;P&gt;2)&amp;nbsp; Then you need to edit the dimension of Consignee in the pivot/straight table to use below expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =if(not Match(Consignee,$(vConsignee)),Consignee)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; check the Suppress the NULL value checkbox.&lt;/P&gt;&lt;P&gt;3) Create a variable named : vConsignee as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =replace(chr(39) &amp;amp; GetFieldSelections(Consignee)&amp;amp; chr(39),', ',(chr(39)&amp;amp;', '&amp;amp;chr(39)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this was helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Angad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 07:10:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611480#M478184</guid>
      <dc:creator />
      <dc:date>2014-03-24T07:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analyses Exclude Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611481#M478185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF(NOT IsNull(GetFieldSelections(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Consignee&lt;/SPAN&gt;)),SUM({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Source={'SALES'},&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Consignee&lt;/SPAN&gt;= E(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Consignee&lt;/SPAN&gt;)&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;NrOfCartons&lt;/SPAN&gt;),SUM({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Source={'SALES'}&lt;/SPAN&gt;&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;NrOfCartons&lt;/SPAN&gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 07:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611481#M478185</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-24T07:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analyses Exclude Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611482#M478186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is the right way.&lt;/P&gt;&lt;P&gt;There is also another solution:&lt;/P&gt;&lt;P&gt;1) add a new Alternate State and call it "Consignee".&lt;/P&gt;&lt;P&gt;2) apply this alternate state only to the list box&lt;/P&gt;&lt;P&gt;3) insert in the chart the expression: sum({$-[Consignee]&amp;lt;Source={'SALES'}&amp;gt;} NrOfCartoons)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 07:53:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611482#M478186</guid>
      <dc:creator>semperaugustus</dc:creator>
      <dc:date>2014-03-24T07:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analyses Exclude Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611483#M478187</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;Please use&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: 11.818181991577148px;"&gt;sum({1&amp;lt;Source={'SALES'}&amp;gt;} NrOfCartons)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 12:20:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analyses-Exclude-Selection/m-p/611483#M478187</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2014-03-31T12:20:28Z</dc:date>
    </item>
  </channel>
</rss>

