<?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: Excluded selection in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excluded-selection-in-set-analysis/m-p/1508497#M436474</link>
    <description>&lt;P&gt;What's your expected output on selection?&lt;/P&gt;</description>
    <pubDate>Sat, 17 Nov 2018 12:51:21 GMT</pubDate>
    <dc:creator>shiveshsingh</dc:creator>
    <dc:date>2018-11-17T12:51:21Z</dc:date>
    <item>
      <title>Excluded selection in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluded-selection-in-set-analysis/m-p/1508407#M436467</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;I use expression like this to calculate total count of views for all subjects in&amp;nbsp;&lt;SPAN&gt;date, user,&amp;nbsp;detail_id group:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sum({&amp;lt;subject = &amp;gt;} total &amp;lt;date, user, detail_id&amp;gt; count)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And it works just like it supposed to: ignores selected &lt;SPAN&gt;subject&amp;nbsp;&lt;/SPAN&gt;and calculates total count. Now if I select "&lt;SPAN&gt;subject&amp;nbsp;&lt;/SPAN&gt;1" and "&lt;SPAN&gt;subject&amp;nbsp;&lt;/SPAN&gt;2", my other expression is calculating only for them, and expression above – for all available subjects:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="subjects.PNG" style="width: 819px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/503iA767A10B26B1D27C/image-size/large?v=v2&amp;amp;px=999" role="button" title="subjects.PNG" alt="subjects.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But I'd want to not ignore &lt;SPAN&gt;subject&amp;nbsp;&lt;/SPAN&gt;selection, and get resulting numbers same to this expression.&lt;/P&gt;&lt;P&gt;Is it possible with Set Analysis?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluded-selection-in-set-analysis/m-p/1508407#M436467</guid>
      <dc:creator>mrbalyaqv</dc:creator>
      <dc:date>2024-11-16T05:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Excluded selection in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluded-selection-in-set-analysis/m-p/1508439#M436468</link>
      <description>&lt;P&gt;If i am understand the correct, Then probably this?&lt;/P&gt;&lt;PRE&gt;sum({&lt;FONT size="3"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&amp;lt;subject = &amp;gt;} total &amp;lt;date, user, detail_id&amp;gt; count)&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Nov 2018 06:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluded-selection-in-set-analysis/m-p/1508439#M436468</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-11-17T06:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Excluded selection in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluded-selection-in-set-analysis/m-p/1508447#M436469</link>
      <description>&lt;P&gt;If I understand it correctly you want to see only two rows, only for subject 1 and subject2. And both rows should show 84 in the first expression column. If that's correct then what you really want to do is calculated the total outside of the context of the chart. That's possible by using a dollar expansion around the expression:&lt;/P&gt;&lt;PRE&gt;=$(=sum({&amp;lt;subject = &amp;gt;} total &amp;lt;date, user, detail_id&amp;gt; count))&lt;/PRE&gt;</description>
      <pubDate>Sat, 17 Nov 2018 06:33:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluded-selection-in-set-analysis/m-p/1508447#M436469</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-11-17T06:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Excluded selection in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluded-selection-in-set-analysis/m-p/1508497#M436474</link>
      <description>&lt;P&gt;What's your expected output on selection?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Nov 2018 12:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluded-selection-in-set-analysis/m-p/1508497#M436474</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-11-17T12:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Excluded selection in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluded-selection-in-set-analysis/m-p/1508665#M436481</link>
      <description>&lt;P&gt;Thanks all for your replies! I found solution:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Aggr(nodistinct sum({&amp;lt;subject={'*'}&amp;gt;} total &amp;lt;date, user, detail_id&amp;gt; count), date, user, detail_id)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Nov 2018 21:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluded-selection-in-set-analysis/m-p/1508665#M436481</guid>
      <dc:creator>mrbalyaqv</dc:creator>
      <dc:date>2018-11-18T21:56:21Z</dc:date>
    </item>
  </channel>
</rss>

