<?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: Exclude that doesn't work properly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exclude-that-doesn-t-work-properly/m-p/2077307#M1223886</link>
    <description>&lt;P&gt;Have you tried something along the lines of:&lt;/P&gt;
&lt;P&gt;sum({$ - &amp;lt;Type={"Gaming"}&amp;gt;}TOT_COUNT)&lt;/P&gt;</description>
    <pubDate>Mon, 29 May 2023 11:02:37 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2023-05-29T11:02:37Z</dc:date>
    <item>
      <title>Exclude that doesn't work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-that-doesn-t-work-properly/m-p/2077284#M1223883</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I want to exclude the type "gaming" from "laptop" in the total sum of the products, so I put this expression in the sum&lt;/P&gt;
&lt;P&gt;"sum({&amp;lt;Type-={"Gaming"}&amp;gt;}TOT_COUNT)". As a result, keyboard and Screen values are omitted, too while I excluded only Gaming type.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nourrahmcnean_0-1685354545476.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108529iCC0144DC601B9354/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nourrahmcnean_0-1685354545476.png" alt="Nourrahmcnean_0-1685354545476.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The only solution that came to my mind is to add the Type to table Keyboard and Screen in the code below. but it'll take so much time to reload. I hope there is a better solution for this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Laptop:
LOAD * INLINE [
    product, Type, TOT_COUNT
    Laptop,Gaming ,10, 
    Laptop,Macbook ,10 , 
   Laptop,Ultrabook ,10 ,;]
NoConcatenate
Screen:
LOAD * INLINE [
    product,  TOT_COUNT   
    Screen, 20,     ];
NoConcatenate
Mouse:
LOAD * INLINE [
    product, Type, TOT_COUNT
      Mouse,Wired ,  10 ,
      Mouse,Wireless ,10 ,      ];
NoConcatenate
keyboard:
LOAD * INLINE [
    product, TOT_COUNT      
    keyboard,  10,];
NoConcatenate
Tab:
Load * Resident Laptop;
drop table Laptop;

Concatenate(Tab)
Load * Resident Screen;
drop table Screen;

Concatenate(Tab)
Load * Resident Mouse;
drop table Mouse;

Concatenate(Tab)
Load * Resident keyboard;
drop table keyboard;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 10:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-that-doesn-t-work-properly/m-p/2077284#M1223883</guid>
      <dc:creator>Nourrahmcnean</dc:creator>
      <dc:date>2023-05-29T10:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude that doesn't work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-that-doesn-t-work-properly/m-p/2077305#M1223885</link>
      <description>&lt;P&gt;Hi, Maybe this?&lt;/P&gt;
&lt;P&gt;=Sum( {$&amp;lt;Type-={'Gaming'}&amp;gt; +&amp;lt;Product = E({&amp;lt;Type={"*"}&amp;gt;})&amp;gt;} TOT_COUNT)&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 15:27:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-that-doesn-t-work-properly/m-p/2077305#M1223885</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-05-29T15:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude that doesn't work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-that-doesn-t-work-properly/m-p/2077307#M1223886</link>
      <description>&lt;P&gt;Have you tried something along the lines of:&lt;/P&gt;
&lt;P&gt;sum({$ - &amp;lt;Type={"Gaming"}&amp;gt;}TOT_COUNT)&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 11:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-that-doesn-t-work-properly/m-p/2077307#M1223886</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-05-29T11:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude that doesn't work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-that-doesn-t-work-properly/m-p/2077379#M1223890</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nourrahmcnean_0-1685369885644.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108550iFC80B4B31F1D2078/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nourrahmcnean_0-1685369885644.png" alt="Nourrahmcnean_0-1685369885644.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;No it didn't work. thank you for the effort&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 15:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-that-doesn-t-work-properly/m-p/2077379#M1223890</guid>
      <dc:creator>Nourrahmcnean</dc:creator>
      <dc:date>2023-05-29T15:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude that doesn't work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-that-doesn-t-work-properly/m-p/2077381#M1223891</link>
      <description>&lt;P&gt;Thank you it woeked. So if i want to exclude the sales of screens it will be like this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sum({$ - &amp;lt;Type={"Gaming"}&amp;gt; - &amp;lt;product={"Screen"}&amp;gt;}TOT_COUNT)&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 14:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-that-doesn-t-work-properly/m-p/2077381#M1223891</guid>
      <dc:creator>Nourrahmcnean</dc:creator>
      <dc:date>2023-05-29T14:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude that doesn't work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-that-doesn-t-work-properly/m-p/2077395#M1223892</link>
      <description>&lt;P&gt;It works perfectly for me though.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrunPierre_1-1685373414161.png" style="width: 796px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108555i9BF740E0D53502A2/image-dimensions/796x207?v=v2" width="796" height="207" role="button" title="BrunPierre_1-1685373414161.png" alt="BrunPierre_1-1685373414161.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 15:26:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-that-doesn-t-work-properly/m-p/2077395#M1223892</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-05-29T15:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude that doesn't work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-that-doesn-t-work-properly/m-p/2077698#M1223906</link>
      <description>&lt;P&gt;If the product field is always populated (no nulls), you could use a slightly cleaner version:&lt;/P&gt;
&lt;P&gt;sum({&amp;lt;product-={"Screen"}&amp;gt; - &amp;lt;Type={"Gaming"}&amp;gt; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 10:19:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-that-doesn-t-work-properly/m-p/2077698#M1223906</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-05-30T10:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude that doesn't work properly</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-that-doesn-t-work-properly/m-p/2083872#M1224037</link>
      <description>&lt;P&gt;Thanks for the solution. But it give me a wrong result a right result when I select a product, As it is shown in the example below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nourrahmcnean_1-1686756839303.png" style="width: 481px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/110070i8FDCA22F493D4F76/image-dimensions/481x141?v=v2" width="481" height="141" role="button" title="Nourrahmcnean_1-1686756839303.png" alt="Nourrahmcnean_1-1686756839303.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 15:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-that-doesn-t-work-properly/m-p/2083872#M1224037</guid>
      <dc:creator>Nourrahmcnean</dc:creator>
      <dc:date>2023-06-14T15:36:01Z</dc:date>
    </item>
  </channel>
</rss>

